From owner-freebsd-stable Fri Mar 24 11:35:40 2000 Delivered-To: freebsd-stable@freebsd.org Received: from csla.csl.sri.com (csla.csl.sri.com [192.12.33.2]) by hub.freebsd.org (Postfix) with ESMTP id B397837B860 for ; Fri, 24 Mar 2000 11:35:31 -0800 (PST) (envelope-from gilham@snapdragon.csl.sri.com) Received: from snapdragon.csl.sri.com (snapdragon.csl.sri.com [130.107.18.20]) by csla.csl.sri.com (8.9.1/8.9.1) with ESMTP id LAA14801 for ; Fri, 24 Mar 2000 11:35:30 -0800 (PST) Message-Id: <200003241935.LAA14801@csla.csl.sri.com> To: stable@FreeBSD.ORG Subject: XDM (was Re: src/UPDATING for RELENG_3 to RELENG_4 upgrade works.) In-reply-to: Your message of "Fri, 24 Mar 2000 09:22:03 +1100." <20000324092203.B66456@gurney.reilly.home> Date: Fri, 24 Mar 2000 11:35:29 -0800 From: Fred Gilham Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andrew Reilly wrote: > On Thu, Mar 23, 2000 at 10:49:56AM -0600, WMC, O'Gorman, James wrote: > > The one and only problem that I have had that I have not fixed yet is > > with xdm. I had started it from rc.local before, but now when rc.local > > starts is, the keyboard will not interact with it. If I comment out that > > line, boot up normal and log in as root and then start xdm things are > > fine. I have not put any effort into fixing it yet, so I am sure it is > > something simple I am missing. > > Just turn the "off" to "on" in the ttyv8/xdm line in /etc/ttys. > No need to fire it up from rc.anything. That has the added advantage > of automatically restarting it, if the server breaks. For a long time I've done something a bit different, that seems to work well. I start xdm using a /usr/X11R6/etc/rc.d/xdm.sh script: ---------------------------------------- if [ -x /usr/X11R6/bin/xdm -a -f /usr/X11R6/lib/X11/xdm/xdm-config ]; then /usr/X11R6/bin/xdm -config /usr/X11R6/lib/X11/xdm/xdm-config & echo "xdm" fi ---------------------------------------- In /etc/ttys I have the following: ttyv3 "/usr/X11R6/bin/Xwrapper -bpp 24 -indirect snapdragon" xterm on secure (You can change the ttyv3 above to ttyv8 or whatever.) I comment out the server entry in /usr/X11R6/lib/X11/xdm/Xservers: ... # #:0 local /usr/X11R6/bin/X The nice thing about the above is that you get a chooser so if other machines on your network are running xdm you can log on to them directly, using your desktop as an X terminal. You can still log in to your own machine with Xterms or virtual consoles. -Fred Gilham gilham@csl.sri.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message