From owner-freebsd-questions@FreeBSD.ORG Mon Jan 26 10:54:20 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B32916A4CE for ; Mon, 26 Jan 2004 10:54:20 -0800 (PST) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 579CE43D1F for ; Mon, 26 Jan 2004 10:54:17 -0800 (PST) (envelope-from krylon@gmx.net) Received: (qmail 31572 invoked by uid 65534); 26 Jan 2004 18:54:15 -0000 Received: from B62b3.b.pppool.de (EHLO wintermute) (213.7.98.179) by mail.gmx.net (mp013) with SMTP; 26 Jan 2004 19:54:15 +0100 X-Authenticated: #685629 Date: Mon, 26 Jan 2004 19:54:41 +0100 From: Benjamin Walkenhorst To: freebsd-questions@FreeBSD.org Message-Id: <20040126195441.2e6a3eeb.krylon@gmx.net> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386--netbsdelf) X-Operating-System: NetBSD 1.6.2_RC4 User-Agent: Sylpheed 0.9.7 Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Mon__26_Jan_2004_19_54_41_+0100_7PJVkLmFthQrhIuv" Subject: XDMCP and starting XFree on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 18:54:20 -0000 --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--