From owner-freebsd-questions Tue Sep 14 1:45:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 2CE271567A for ; Tue, 14 Sep 1999 01:45:36 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.02 #1) id 11QoDJ-0007AX-00; Tue, 14 Sep 1999 10:45:21 +0200 From: Sheldon Hearn To: "Daniel O'Connor" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: XDM Semaphore file? In-reply-to: Your message of "Tue, 14 Sep 1999 14:12:01 +0930." Date: Tue, 14 Sep 1999 10:45:21 +0200 Message-ID: <27560.937298721@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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