*BSD News Article 96761


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!worldnet.att.net!cbgw2.lucent.com!nntphub.cb.lucent.com!ssbunews.ih.lucent.com!news
From: Paul Sijben <sijben@lucent.com>
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: xdm on NetBSD
Date: Tue, 03 Jun 1997 09:01:49 +0200
Organization: Lucent Technologies
Lines: 33
Message-ID: <3393C15D.7688C735@lucent.com>
References: <339336FB.41C67EA6@ssibm4.ssp.ameslab.gov>
NNTP-Posting-Host: hzsgp11.nl.lucent.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.0b4 [en] (WinNT; I)
X-Priority: 3 (Normal)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:6038

Stephen Tow wrote:
> 
> Howdy all,
> 
> I can't quite seem to figure out how to get xdm to run at boot. I am a
> Linux user by default and know it's real simple there, I'm sure it's
> real simple with NetBSD, but I can't seem to figger it out. Any help
> would be very much appreciated...

It's simple

From my /etc/rc.local

if [ -d /usr/X11R6/lib ]; then
        echo 'Adding X shared libraries'
        ldconfig /usr/X11R6/lib
fi

if [ -x /usr/X11R6/bin/xdm ]; then
       echo 'Starting X display manager'
       /usr/X11R6/bin/xdm
fi

And don't forget to turn your getty on your console off (in /etc/ttys)

Paul


-- 
Paul Sijben                Tel:+31 35 687 4774
Lucent Technologies        Fax:+31 35 687 5954
Forward Looking Work	   e-mail: sijben@lucent.com
Huizen, The Netherlands