Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 2004 19:54:41 +0100
From:      Benjamin Walkenhorst <krylon@gmx.net>
To:        freebsd-questions@FreeBSD.org
Subject:   XDMCP and starting XFree on boot
Message-ID:  <20040126195441.2e6a3eeb.krylon@gmx.net>

next in thread | raw e-mail | index | archive | help
--Signature=_Mon__26_Jan_2004_19_54_41_+0100_7PJVkLmFthQrhIuv
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 
"*	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

--Signature=_Mon__26_Jan_2004_19_54_41_+0100_7PJVkLmFthQrhIuv
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFAFWJy/JWwsvZUqOwRAjPmAJ9iWs2BftiNLMAIKt10QZtJ38gjjwCfZsSw
amYVnra6gQTQYDnRzGDR7zY=
=Udzk
-----END PGP SIGNATURE-----

--Signature=_Mon__26_Jan_2004_19_54_41_+0100_7PJVkLmFthQrhIuv--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040126195441.2e6a3eeb.krylon>