From owner-freebsd-questions Thu Sep 24 10:01:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA01002 for freebsd-questions-outgoing; Thu, 24 Sep 1998 10:01:10 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hotpoint.dcs.qmw.ac.uk (hotpoint.dcs.qmw.ac.uk [138.37.88.162]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA00995 for ; Thu, 24 Sep 1998 10:01:06 -0700 (PDT) (envelope-from scott@dcs.qmw.ac.uk) Received: from brunos-sun.dcs.qmw.ac.uk [138.37.88.185]; by hotpoint.dcs.qmw.ac.uk (8.8.7/8.8.5/S-4.0) with SMTP; id SAA06574; Thu, 24 Sep 1998 18:00:24 +0100 (BST) Received: locally by brunos-sun (SMI-8.6/QMW-client-3.2b); poster "scott"; id RAA24326; Thu, 24 Sep 1998 17:52:48 +0100 Message-ID: <19980924175248.B23919@dcs.qmw.ac.uk> Date: Thu, 24 Sep 1998 17:52:48 +0100 From: Scott Mitchell To: Mike Knoll , questions@FreeBSD.ORG Subject: Re: XDM References: <199809240458.AAA18719@lafcol> <199809240458.AAA18719@lafcol> <19980924103040.M12188@dcs.qmw.ac.uk> <199809241600.MAA28804@lafcol> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199809241600.MAA28804@lafcol>; from Mike Knoll on Thu, Sep 24, 1998 at 12:15:47PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Sep 24, 1998 at 12:15:47PM -0400, Mike Knoll wrote: > > I have no XAUTHORITY variable set. I tried deleteing ~/.Xauthority, I > tried copying the authorization files in > /usr/X11R6/lib/X11/xdm/authdir/authfiles in my .Xauthority. My .xsession > is only "xterm &" I started xdm by logging in as root and just running > "xdm" Every config file should be the default, except for my screen > resolution/refresh rate. > > Also, I'm trying to log in locally using XDM, not remotely(not sure if I > said that earlier). Ahhhh, I think I see what's up here. Xdm resets itself and prepares for another login when your .xsession script ends. Since you've only got 'xterm &' in there, the script exits almost instantly, leaving the background xterm orphaned and trying to use invalid authority data (xdm won't let anyone connect until they login...) Take the '&' out of the .xsession and you should be fine. In general, the last line in your .xsession should run a program that will last for the lifetime of your session, as when this program ends, so does the X session. Often this will be your window manager, or perhaps a login shell. I 'exec fvwm2' in mine so that when I get logged out when I quit from fvwm. Hope that all makes sense, Scott -- =========================================================================== Scott Mitchell | PGP Key ID |"If I can't have my coffee, I'm just | 0x54B171B9 | like a dried up piece of roast goat" QMW College, London, UK | 0xAA775B8B | -- J. S. Bach. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message