On Fri, 26 Jan 2001 16:04:59 +0100
James (Jim) Hatridge
Hi all...
First thanks for all of your notes, but I see that I did not give enough info.
#1 I don't do windows! <G>
Both of my Linux boxes are sitting here in front of me on my home lan. I'm at the command line of system A. B is headless. I want to telnet or ssh (or whatever) to system B. Run X there and have it display on A's screen. I'm using SuSE 6.3 on both systems.
At the command line "xhost" does not work I get an error. When I telnet (or ssh, I tried both) to B. I run "export DISPLAY=A:0", then "startx". On A's screen I get all the X messages, but no GUI. Just to see I put another screen on B and did all this again. I got all the messages etc on A's screen and the GUI came up on B's screen.
So any ideas?
TIA!
JIM
You need to start A's server to do indirect xdcmp query:
On B: edit the file /usr/X11R6/lib/X11/xdm/Xservers and comment the line
begining with ":0" and configure your machine for graphic login (no
screen will be opened by the server).
On A: do the same as B for the file /usr/X11R6/lib/X11/xdm/Xservers, edit
the file /usr/X11R6/lib/X11/xdm/Xaccess and check that you have these
lines (as-is):
* #any host can get a login window
* CHOOSER BROADCAST #any indirect host can get a chooser
Then edit /etc/inittab and modify the line for the runlevel 3:
x2:3:respawn:/usr/bin/X11/X -indirect A
then reinit to runlevel 3 by issuing a "init 2; init 3".
Now, if all went well, you'll end up with a menu to choose the computer that
you wish to graphically log in.
Hope that helps...
--
Jean-François Bocquet