Little problem here. I want to export my Gnome desktop to another box but
it ain't happening. I did an "X" on the target box and got an x-server up
with no window manager (that's what I want). Then I did an "xhost
+192.168.1.3" to permit the source box to connect. Now, on the source box,
I did an
export DISPLAY=192.168.1.1:0.0
and then did "startx" but nothing happened. had a look at the startx
script and found that it does a bunch of things with display itself. tried
hacking that but to no avail. Something like
bad option 192.168.1.1:0
startx calls xinit with a few args so I must look at that next.
Looked at that and it's xinit that objects to the "192.168.1.1:0".
Tried "X :1" to start an x-server on /dev/tty8 which works but when I do a
gnome-session --display=192.168.1.3:1
It tries to start but objects that there is already a gnome session
running (I'm doing this from within gnome) and won't continue.
Tried again from a console with the following sequence:
export DISPLAY=192.168.1.3:1
X :1 &
xhost +192.168.1.3
gnome-session --display=192.168.1.3:1
and all works (192.168.1.3 is Valkerie) but if I do it across the network,
thus (192.168.1.1 is Hobbiton):
on hobbiton:
export DISPLAY=192.168.1.1:1
X :1 &
xhost +192.168.1.3
on valkerie:
gnome-session --display=192.168.1.1:1
I get "can't connect to valkerie:1 even though I've asked it to connect to
hobbiton.
Further tests, and I'm getting the following error
AUDIT: date: 25560 X: client 1 rejected from IP 192.168.1.3 port 1440
pam stuff yes? What do I do now?
--
Conor Daly <conor.daly at oceanfree.net>
Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
12:38pm up 4 days, 23:13, 0 users, load average: 0.08, 0.02, 0.01
Hobbiton.cod.ie
11:39am up 4 days, 21:49, 1 user, load average: 0.00, 0.00, 0.00
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!