Results 1 to 4 of 4
Has anyone tried installing x2x on Fedora 3? I've tried it but don't know how to configure it, the man pages doesn't help me very much. How do I select ...
- 02-26-2005 #1
x2x configuration
Has anyone tried installing x2x on Fedora 3? I've tried it but don't know how to configure it, the man pages doesn't help me very much. How do I select a display? How do I configure the server side?
- 02-26-2005 #2Linux Guru
- Join Date
- May 2004
- Location
- forums.gentoo.org
- Posts
- 1,814
Maybe this will help:http://www.ubuntulinux.org/wiki/X2xHowto
/IMHO
//got nothin'
///this use to look better
- 02-26-2005 #3
Thanks, but I didn't get much futher. When running x2x I'm getting the following error message
$ x2x -to 192.168.0.2:0.0 -east
Xlib: connection to "192.168.0.2:0.0" refused by server
Xlib: No protocol specified
x2x - error: can not open display 192.168.0.2:0.0
I've added on the other computer xhost +192.168.0.1 but it seems that it;s looking for a deamon or service which is not running ..
- 09-05-2008 #4Just Joined!
- Join Date
- Sep 2008
- Posts
- 1
Making x2x work in Fedora
I'm not sure if anyone reads this thread any more, but I found it via google and have some suggestions as to how to get this working..
First off, since at least Fedora 6 (and possibly earlier, judging by OP asking about FC3), the X server has disabled listening on TCP/IP sockets by default.
It's easy to fix however..
If you use the standard GDM greeter (the default on install), you need edit:
and change DisAllowTCP to False.Code:/etc/gdm/gdm.conf
If you use KDE as your greeter (i.e.: /etc/sysconfig/desktop has DISPLAYMANAGER="KDE" set inside), you edit:
Find the line that says ServerArgs and delete the string '-nolisten TCP'Code:/etc/kde/kdm/kdmrc
At this point, either rebooting, restarting the X server (ctrl-alt-backspace if DontZap isn't enabled in xorg.conf, or do it from the greeter), or switching from init 5 to init 3 and then back to 5 should do the trick.
You can verify that it's working by typing the following as root:
And you should see a couple of lines that look like this:Code:lsof -i TCP
Now x2x should work over ssh!Code:X 3548 root 1u IPv6 16717 TCP *:x11 (LISTEN) X 3548 root 3u IPv4 16718 TCP *:x11 (LISTEN)
Here are some URL's I found helpful...
Musings of a Graduate Student - Pradeep's blog: x2x - a cool X hack
Keunwoo Lee : About x2x: Sharing input devices between X11 servers in software
Share mouse and keyboard using x2x and ssh
For reference:
Essentially, I just SSH into the box I want to control, and type:
x2x -east -to 0:
That's it! Everything's secured over SSH, and no mucking around with xhost.
enjoy!
--edit:
I use my .ssh/config file for everything. My host entry looks something like this:
Note also that /etc/ssh/sshd_config needs to have AllowTCPForwarding set to 'yes' and X11Forwarding set to 'yes' for any of this to work. By default, AllowTCPForwarding is enabled, but X11Forwarding is NOT.Code:host potato hostname potato.localdomain ForwardX11 yes ForwardX11Trusted yes
Last edited by potato; 09-05-2008 at 06:58 PM. Reason: added note about X11 forwarding..


