Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 2004 19:54:41 +0100
From:      Benjamin Walkenhorst <>
Subject:   XDMCP and starting XFree on boot
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

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 
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/X -indirect

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
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
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,


Content-Type: application/pgp-signature

Version: GnuPG v1.2.3 (NetBSD)



Want to link to this message? Use this URL: <>