Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 1996 22:50:31 -0700 (MST)
From:      Barnacle Wes <wes@intele.net>
To:        questions@freebsd.org
Subject:   Re:
Message-ID:  <199601160550.WAA26640@intele.net>

next in thread | raw e-mail | index | archive | help
JOHN  <JSINNOTT@POMONA.EDU> asked:
% What file can I put xdm in so that it loads on startup?

Brian Clapper <bmc@WillsCreek.COM> replied:
> "/etc/rc.local".  It's a local daemon.  e.g.:
> 
>         echo -n 'starting local daemons:'
> 
>         echo -n ' xdm'
>         /usr/X11R6/bin/xdm
>         echo '.'

Nah, avoid hacking rc.local if you can.  Since starting xdm is rather
like a tty service, start it from /etc/ttys:

ttyv3   "/usr/X11R6/bin/xdm -nodaemon"  xterm   on secure

This will have the nice side effect of running your X server on
ttyv3, and leaving the logins on ttyv0, ttyv1, and ttyv2 still
running.  When X starts up, it will switch the console to ttyv3.
You can get back to the text consoles by pressing Ctrl-Alt-F1 for
ttyv0, Ctrl-Alt-F2 for ttyv1, and Ctrl-Alt-F3 for ttyv2.  Use Alt-F1
through Alt-F4 to move between the consoles and the X session.

Cool, eh?

--

   Wes Peters	| Yes I am a pirate, two hundred years too late
    Softweyr 	| The cannons don't thunder, there's nothing to plunder
   Consulting	| I'm an over forty victim of fate...
 wes@intele.net	|					Jimmy Buffet



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