Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2002 13:08:45 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: xdm keeps showing me login window
Message-ID:  <20021209130845.GA15604@happy-idiot-talk.infracaninophi>
In-Reply-To: <2F03DF3DDE57D411AFF4009027B8C3670289D5EB@exchange-uk.isltd.insignia.com>
References:  <2F03DF3DDE57D411AFF4009027B8C3670289D5EB@exchange-uk.isltd.insignia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 09, 2002 at 12:31:06PM -0000, local.freebsd.questions wrote:
> On Mon, 9 Dec 2002 11:00:54 -0000 , m.seaman@infracaninophile.co.uk
> (Matthew Seaman) wrote:
> 
> >On Mon, Dec 09, 2002 at 02:32:14AM -0800, Ali S. wrote:
> >> i have installed freebsd 4.7 on 
> >> compaq proliant 1600 with cirrus 5446 vga card
> >> i have configured X with "xf86config"
> >> 
> >> but
> >> when i run xdm and enter my username &password 
> >> it refreshes the screen and shows me the login
> >> window again...
> >> 
> >> any idea?
> >
> >You should have a script ~/.xsession which contains a shell script to
> >run the various X programs you require during your login session.
> >That script should not exit until you decide to end your session.
> >Typically that's done by running a session manager or a window manager
> >in the foreground. eg. this is what I use:
> 
> (details snipped)
> 
> But you shouldn't *have* to do this. I did a 4.7 install, added
> XFree86-4 from ports, did the XF86Config, and new users (with empty
> home directories) get dropped into twm. The ~/.xsession should only
> be needed if you want something other than this.

Yes.  Quite so.  xdm(8) will cope with a completely missing
~/.xsession by giving you some sort of default session --- if twm(1)
does it for you, then all is fine and dandy.

What xdm(8) doesn't manage in a very friendly manner is a broken
~/.xsession file.  However, if you want to customise your X desktop
and you don't have sufficient access or you prefer not to fiddle with
the system-wide default session, then you're going to be writing
yourself your own ~/.xsession, which can be tricky for the
inexperienced.

The more heavy weight X environments like KDE or GNOME move most of
that configuration step into their own window or session managers,
which have a user friendly point'n'drool^Wclick interface. Even so,
they will still need something in the ~/.xsession to get themselves
going.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
                                                      Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

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?20021209130845.GA15604>