Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jun 1999 13:06:54 -0400
From:      Michael Remski <michael.e.remski@lmco.com>
To:        freebsd-questions@freebsd.org
Cc:        smithg@mail.nwc.whecn.edu
Subject:   Re: Locked in X-login at boot
Message-ID:  <3756B62E.289A@lmco.com>

next in thread | raw e-mail | index | archive | help
Hi.  When you login under xdm, the first thing that is looked for is a
file called .xession.  It is basically the same as your .xinitrc (just
cp .xinitrc to .xsession) and make sure to chmod a+x .xsession.  Just to
make sure, you can create a simple .xsession file thusly:

#!/bin/sh
exec /usr/X11R6/bin/xterm

Again, make sure it is executable and try logging in.  You should wind
up with an xterm without any window manager running.  Move the mouse and
click on it and type /usr/X11R6/bin/twm &.  That should startup twm as
the window manager.  To logout, just ^D in the xterm.

If that worked, then just copy .xinitrc to .xsession, make executable
and you should be all set.

m
-- 
"You are in a maze of twisty passages, all alike"


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?3756B62E.289A>