Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TIP] x2x su gentoo
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Wed Dec 31, 2003 10:16 am    Post subject: [TIP] x2x su gentoo Reply with quote

1) Introduzione
x2x e' un programma che permette di utilizzare una tastiera e un mouse su due pc senza bisogno di hardware particolare (switch).

2) Installazione e prerequisiti
Per far funzionare questo utilissimo (IMHO) programma dobbiamo per prima cosa aprire la porta 6000 (X).

- aprire la porta 6000 per chi usa startx
Editare il file /usr/X11R6/bin/startx
Code:
cambiare da

[server-Standard]
command=/usr/X11R6/bin/X -nolisten tcp

a

[server-Standard]
command=/usr/X11R6/bin/X



- aprire la porta 6000 per chi usa gdm
Editare il file /etc/X11/gdm/gdm.conf
Code:
cambiare da


[server-Standard]
command=/usr/X11R6/bin/X -nolisten tcp

a

[server-Standard]
command=/usr/X11R6/bin/X


- aprire la porta 6000 per chi usa gdm o kdm
Editare il file /etc/X11/xdm/Xservers
Code:
cambiare da

:0 local /usr/bin/X11/X

a

:0 local /usr/bin/X11/X -nolisten tcp


Ora possiamo installare il programma (da installare sulla macchina che ha mouse e tastiera)
Code:
# emerge x2x


3) Utilizzare x2x
Code:
   pc1      master       pc2
--------   --------   --------
|      |   |      |   |      |
|      |   |      |   |      |
--------   --------   --------

Lanciando i seguenti comandi avremo 3 pc con un solo mouse e una sola tastiera:
Code:
master% x2x -from master:0.0 -to pc1:0.0 -west -resurface
master% x2x -from master:0.0 -to pc2:0.0 -east -resurface

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Wed Dec 31, 2003 12:34 pm    Post subject: Re: [TIP] x2x su gentoo Reply with quote

fedeliallalinea wrote:
1) Introduzione
x2x e' un programma che permette di utilizzare una tastiera e un mouse su due pc senza bisogno di hardware particolare (switch).

[...]
Quote:
Lanciando i seguenti comandi avremo 3 pc con un solo mouse e una sola tastiera:
Code:
master% x2x -from master:0.0 -to pc1:0.0 -west -resurface
master% x2x -from master:0.0 -to pc2:0.0 -east -resurface


ah, ecco.... i due pc devono essere in rete.... fiuuu! M'avevi fatto prendere un colpo ! 8)

P.S.: ottimo tip!

Coda
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Wed Dec 31, 2003 4:51 pm    Post subject: Reply with quote

Scrivere non e' il mio forte lo ammetto. Ho tralasciato qualche informazione.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
stefanonafets
l33t
l33t


Joined: 10 Feb 2003
Posts: 644

PostPosted: Wed Dec 31, 2003 5:05 pm    Post subject: Reply with quote

Quote:
ah, ecco.... i due pc devono essere in rete.... fiuuu! M'avevi fatto prendere un colpo ! 8)


Bè, non avevo mai pensato a mouse e tastiera 'telepatici'... :lol:
_________________
registered Linux user number #411324
sed 's/ke/che/g'

<The Deployment Slave is initializing>
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Thu Jan 01, 2004 4:23 pm    Post subject: Reply with quote

Esiste anche x2vnc che permette di fare la stessa cosa se una e' una macchina win e l'altra ha X.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum