Hello everybody, I am currently trying to set up an XDMCP-remote-login. I have two machines at home, but only one screen, so I want to be able to log into both machines via xdm.
So far I've set up the headless machine to run xdm and added "* CHOOSER BROADCAST" to Xacces on that machine. It works. Now I want the desktop machine (the one that's running the X-Server) to a) start xdm on boot (but without starting XFree) and b) then start XFree an request a CHOOSER from the headless machine. Both steps work fine, when done manually. But so far I've been unable to start both on boot. I've added the following lines to /etc/rc.conf.local: ----------------------- /usr/X11R6/bin/xdm /usr/X11R6/bin/X -indirect 192.168.0.1 ----------------------- When the system boots, I get an error message like "/usr/X11R6/bin/xdm: command not found". Then X starts up, I get the CHOOSER, and my local machine is even listed - but when I want to log in on my local machine, all I get is an empty screen. When I want to log into the remote machine, I get a login-screen, but apparently the keyboard does not react. I cannot even switch to console, the only keys that work are "Ctrl+Alt+Del"... The first part's probably easy: rc.conf.local is probably being run before /usr is mounted. This explains why I can't login to the local machine. But then... why is XFree fired up? I even get the CHOOSER, so it's even run correctly... And in that case, xdm should work, too. Except for the case that /usr was being mounted *while* rc.conf.local is being run - which I find hard to believe. I'm really confused here... =) I thought of writing rc-scripts for both services so they are started in proper order... Are there solutions involving less work? Thank you very much, Benjamin
pgp00000.pgp
Description: PGP signature