Date: Fri, 7 Aug 1998 10:56:02 -0700 (PDT) From: Thomas Dean <tomdean@ix.netcom.com> To: mwest@cs.uct.ac.za Cc: questions@FreeBSD.ORG Subject: Re: starting X Message-ID: <199808071756.KAA00926@ix.netcom.com> In-Reply-To: <Pine.BSF.3.96.980807190411.5548T-100000@gimli.cs.uct.ac.za> (message from Matthew West on Fri, 7 Aug 1998 19:05:44 %2B0200 (SAST))
next in thread | previous in thread | raw e-mail | index | archive | help
>
> In /etc/rc.local:
>
> # put your local stuff here
> echo -n 'xdm'
> /usr/X11R6/bin/xdm
> sleep 1
> echo '.'
>
> --mwest@cs.uct.ac.za
If the xdm-pid file exists, it may stop xdm from starting. It may be
better to clean-up first. Also, it has been pointed out to me that
we should move from /etc/rc.local to /usr/local/etc/rc.d. I haven't.
if [ -x /usr/X11R6/bin/xdm ] ; then
# need to cleanup first.
if [ -f /usr/X11R6/lib/X11/xdm/xdm-pid ] ; then
rm -f /usr/X11R6/lib/X11/xdm/xdm-pid
fi
# now, we can start it.
echo -n "xdm"; /usr/X11R6/bin/xdm
fi
/usr/X11R6/lib/X11/xdm/xdm-pid should be changed to point to the
xdm-pid file. I believe this is the default location.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808071756.KAA00926>
