Remote X problem with ubuntu

Paul Chudleigh paul.chudleigh at gmail.com
Fri Aug 25 12:37:37 CEST 2006


Hi,

I've just installed xubuntu 6.06 and I'm trying to access the desktop via X
from a remote machine.

The IP address of the xubuntu box is 192.168.0.3
The IP address of the remote machine is 192.168.0.1
On the local machine I type

local:~ $ xhost +

On the remote machine I type

remote:~ $ export DISPLAY=192.168.0.3:0.0

then

remote:~$ xeyes
Error: Can't open display: 192.168.0.3:0.0

I can ping the machine (network is fine). On the local machine I also tried
a connection

local:~ $ export DISPLAY=192.168.0.3:0.0
local:~$ xeyes
Error: Can't open display: 192.168.0.3:0.0

But this does not work, I also tried on the loopback interface

local:~ $ export DISPLAY=localhost:0.0
local:~$ xeyes
Error: Can't open display: localhost:0.0

I read somewhere that by default debian does not listen for X tcp
connections so I edited

/etc/X11/xinit/xserverrc

And removed the -nolisten tcp option and restarted but this did not work.

I also edited

/etc/xdg/xfce4-session/xfce4-session.rc

And changed the line that said

DisableTcp=True

to

DisableTcp=False

Can anyone help me configuring X/XFCE to accept incoming XDMP traffic over
TCP.

Thanks.

PS I'm aware of the security implications with opening up X but this is a
private network with just these two computers attached.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20060825/3a6f670f/attachment.html>


More information about the Xfce mailing list