Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2000 10:21:38 -0600
From:      "Alain G. Fabry" <fabry@coserve.org>
To:        <Chris.Smith@raytheon.co.uk>, "Lowell Gilbert" <lowell@world.std.com>, <FreeBSD-questions@FreeBSD.ORG>
Subject:   Re: xdm returns to xdm after login
Message-ID:  <00de01bf61d0$194223c0$5531d5c6@coserve.org>
References:  <0025686A.00512F67.00@rslhub.raytheon.co.uk> <rd6iu0r4cri.fsf@world.std.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry,

My bad, he was right, for some reason I only made it executable for go and
not for the user.
chmod u+x .xsession solved my problem
Sorry, my mistake.

Alain


----- Original Message -----
From: "Lowell Gilbert" <lowell@world.std.com>
To: <Chris.Smith@raytheon.co.uk>; <fabry@coserve.org>
Sent: Tuesday, January 18, 2000 9:31 AM
Subject: Re: xdm returns to xdm after login


> Chris.Smith@raytheon.co.uk writes:
>
> > Your .xsession needs to be executable!
>
> He specifically said:
>
> > .xsession is executable. I can run startx successfully.
>
> So that's not it.
>
> Since startx uses .xinitrc instead of .xsession, there may be some
> difference there.  In my opinion, there are three things he should
> check:
>  1) .xsession-errors : the problem may be spelled out in there
>  2) debugging .xsession : put debugging statements (I like to use
>                           "touch" at various checkpoints to see that
>   the script is actually running to various
>   points)
>  3) link .xsession to .xinitrc, since that's known to work, and see
>            what happens
>
> If I had to guess, I would say that he backgrounds all the commands in
> the .xsession.  This will produce the symptoms he describes, because
> it lets .xsession run to completion before he gets a chance to do
> anything.  When .xsession runs to completion, it resets the X server,
> which will end the xdm session.  So the key is to end the script with
> a command that *isn't* backgrounded; the window manager is a
> convenient item for this.  [Just remove the '&' from the end of the
> last line.]
>
> Be well.
>         Lowell
>         [sitting about a quarter mile from Raytheon's corporate
headquarters]
>



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?00de01bf61d0$194223c0$5531d5c6>