Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 1999 10:45:21 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: XDM Semaphore file? 
Message-ID:  <27560.937298721@axl.noc.iafrica.com>
In-Reply-To: Your message of "Tue, 14 Sep 1999 14:12:01 %2B0930." <XFMail.990914141201.doconnor@gsoft.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 14 Sep 1999 14:12:01 +0930, "Daniel O'Connor" wrote:

> I would like to use this for a 'Logout & Shutdown' button on a desktop, and
> since I run xdm from init when I logout X starts up again and occasionally
> breaks (ie stuffs up the card so you can't see what's going on)

Does it also "stuff up the card" if you launch xdm from something like
/usr/local/etc/rc.d/xdm.sh:

	#!/bin/sh
	xdmpid='/usr/X11R6/lib/X11/xdm/xdm-pid'
	xdmbin='/usr/X11R6/bin/xdm'
	if [ -x "${xdmbin}" ]; then
		# XDM doesn't provide a useful return code
		${xdmbin}
		sleep 2
		if kill -0 `cat ${xdmpid}` >/dev/null 2>&1; then
			echo -n ' xdm'
		fi
	fi

I've never seen xdm "stuff up the card", and I don't launch it from
init. I'm assuming you know that trying to switch vtys while xdm is
restarting can lose you access to all your vtys.

Ciao,
Sheldon.


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?27560.937298721>