From owner-freebsd-hackers Tue Aug 4 04:54:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA11429 for freebsd-hackers-outgoing; Tue, 4 Aug 1998 04:54:49 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA11422 for ; Tue, 4 Aug 1998 04:54:47 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from hrotti.ifi.uio.no (2602@hrotti.ifi.uio.no [129.240.64.15]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id NAA25379; Tue, 4 Aug 1998 13:54:35 +0200 (MET DST) Received: (from dag-erli@localhost) by hrotti.ifi.uio.no ; Tue, 4 Aug 1998 13:54:35 +0200 (MET DST) Mime-Version: 1.0 To: Thomas Dean Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Problems Restarting xdm References: <199808031754.KAA00908@ix.netcom.com> Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-other-addresses: 'finger dag-erli@ifi.uio.no' for a list X-disclaimer-1: The views expressed in this article are mine alone, and do X-disclaimer-2: not necessarily coincide with those of any organisation or X-disclaimer-3: company with which am or have been affiliated. X-Stop-Spam: http://www.cauce.org/ From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 04 Aug 1998 13:54:34 +0200 In-Reply-To: Thomas Dean's message of "Mon, 3 Aug 1998 10:54:52 -0700 (PDT)" Message-ID: Lines: 25 X-Mailer: Gnus v5.5/Emacs 19.34 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id EAA11425 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thomas Dean writes: > The XFree86 readme suggests starting xdm from /etc/ttys. The FreeBSD > FAQ suggests starting xdm from rc.local. Either way, if there is, for > example, a power glitch reboot, xdm will not start without root > intervention. I believe this is because the pid file exists. Eh? IANAL, but I don't think the existence of a pid file has anything to do with this. If you bothered to read your logs, you'd soon find out that the X server is complaining about a lock file (/tmp/.X0-lock) which was left behind by the previous server if it didn't exit cleanly (as would happen in the case of a power glitch). This, and whether xdm should be started from /etc/ttys or /etc/rc*, has been discussed ad nauseam on this and other lists, as you'd know if you'd searched the archives before posting. Anyway, the location of the pid file is determined by the xdm-config file, which is part of the XFree86 distribution and therefore Not Our Cup Of Tea (tm). I doubt you'd have any luck convincing the XFree86 people to ship a different X*cfg.tgz just for FreeBSD. /usr/X11R6/lib/X11/xdm/xdm-errors is your friend. DES -- Dag-Erling Smørgrav - dag-erli@ifi.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message