*BSD News Article 53614


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!usenet.eel.ufl.edu!news.ultranet.com!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!in1.uu.net!zib-berlin.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.windows.x.i386unix
Subject: Re: Q: which FAQ or how to set up X to run automatically?
Date: 29 Oct 1995 17:10:08 +0100
Organization: Private FreeBSD site, Dresden.
Lines: 26
Message-ID: <470910$ij@uriah.heep.sax.de>
References: <DGp96t.FA0@undergrad.math.uwaterloo.ca> <4687ke$9ns@kaleka.seanet.com> <DGuEAp.G2@seeware.dialix.oz.au> <DGvB4B.Hvr@undergrad.math.uwaterloo.ca>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:7899 comp.windows.x.i386unix:18188

Carsten Whimster <bcrwhims@undergrad.math.uwaterloo.ca> wrote:

>|  ttyv3   "/usr/X11R6/bin/xdm -nodaemon"  xterm   on secure
>|  
>|  Now restart init with a kill -HUP 1 and then hey presto xdm should
>|  come up.

Btw., i don't see any good reason to do it this way.  There's no
problem running xdm as a daemon from inside /etc/rc.local.  (As simple
as "echo -n '.'; /usr/X11R6/bin/xdm; sleep 1".  The sleep is to allow
it properly to daemonize.  Paranoia, perhaps useful if this is the
very last command in rc.local.)

>This worked for a while, but then I probably messed it up. I got tired
>of a few bootup messages, and one of the following three things that I
>did may have messed up xdm. Xdm now comes up in the background, but I
>can't switch to it.

Remember that xdm starts an Xserver on the first free virtual
terminal.  Look into /usr/X11R6/lib/X11/xdm/xdm-errors for error
output from the X server.
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)