From owner-freebsd-questions Mon Jan 15 21:50:34 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA14064 for questions-outgoing; Mon, 15 Jan 1996 21:50:34 -0800 (PST) Received: from intele.net (quervo.intele.net [204.118.149.20]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id VAA14055 for ; Mon, 15 Jan 1996 21:50:31 -0800 (PST) Received: (wes@localhost) by intele.net (8.6.12/8.6.5) id WAA26640 for questions@freebsd.org; Mon, 15 Jan 1996 22:50:31 -0700 From: Barnacle Wes Message-Id: <199601160550.WAA26640@intele.net> Subject: Re: To: questions@freebsd.org Date: Mon, 15 Jan 1996 22:50:31 -0700 (MST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-questions@freebsd.org Precedence: bulk JOHN asked: % What file can I put xdm in so that it loads on startup? Brian Clapper 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