*BSD News Article 61231


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!fu-berlin.de!news.dfn.de!nntp.fh-augsburg.de!mubo.abg.sub.org!rabbit.augusta.de!usenet
From: shanee@rabbit.augusta.de (Andreas Kohout)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Exact syntax for placing XDM in ttys??
Date: 3 Feb 1996 13:58:18 GMT
Organization: private site running FreeBSD.
Lines: 40
Message-ID: <4evplq$b7m@rabbit.augusta.de>
References: <4eltl6$jbj@epcot.pomona.edu>
Reply-To: shanee@rabbit.augusta.de
NNTP-Posting-Host: localhost.augusta.de
X-Newsreader: knews 0.9.3

In article <4eltl6$jbj@epcot.pomona.edu>,
	john@osiris.pomona.edu (John Sinnott) writes:
 
> 	I was wondering if anyone could tell me the syntax for placing XDM
> in the /etc/ttys file.  I would do this for the console entry I suspect.  

put it in rc.local, this is the right place. XDM starts on the first unused
console.

> What I desire is for FreeBSD to boot up directly to the XDM login prompt.  

in /etc/rc.local:

# path for xdm
XDMP=/usr/X11R6/bin

# set to YES to start xdm
xdm_start=YES

and on bottom:

#--------------------------------------------------
# if desired, start xdm
#--------------------------------------------------

    if [ X${xdm_start} = X"YES" -a -x $XDMP/xdm ]
    then
      $XDMP/xdm
    fi

# EOF

-- 
Gruß, Andy
-------------------------------------------------------------------------
Berge von unten, Kirchen von außen und Kneipen von innen ...

shanee@rabbit.augusta.de                                    Zirbelnußtown
-------------------------------------------------------------------------