Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2000 11:35:29 -0800
From:      Fred Gilham <gilham@snapdragon.csl.sri.com>
To:        stable@FreeBSD.ORG
Subject:   XDM (was Re: src/UPDATING for RELENG_3 to RELENG_4 upgrade works.)
Message-ID:  <200003241935.LAA14801@csla.csl.sri.com>
In-Reply-To: Your message of "Fri, 24 Mar 2000 09:22:03 %2B1100." <20000324092203.B66456@gurney.reilly.home> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




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