Date: Thu, 24 Sep 1998 17:52:48 +0100 From: Scott Mitchell <scott@dcs.qmw.ac.uk> To: Mike Knoll <knollm@lafcol.lafayette.edu>, questions@FreeBSD.ORG Subject: Re: XDM Message-ID: <19980924175248.B23919@dcs.qmw.ac.uk> In-Reply-To: <199809241600.MAA28804@lafcol>; from Mike Knoll on Thu, Sep 24, 1998 at 12:15:47PM -0400 References: <199809240458.AAA18719@lafcol> <199809240458.AAA18719@lafcol> <19980924103040.M12188@dcs.qmw.ac.uk> <199809241600.MAA28804@lafcol>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <scott@dcs.qmw.ac.uk> | 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980924175248.B23919>