[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xsession, bash_profile and xdm



On Tue, Nov 07, 2000 at 10:58:52AM -0600, Denis Kosygin wrote:
> Ethan Benson <erbenson@alaska.net> writes:
> > On Tue, Nov 07, 2000 at 02:53:59PM +0000, Thomas Halahan wrote:
> > > I tried to put
> > > > #! /bin/bash --login
> > > as the header to my ~/.xsessions file but this did not work.  should=20
> > > this behave differently to the /etc/X11/Xsession global config?
> > 
> > im not sure that trick works in the ~/.xsession, i don't really see
> > why not, but it could. =20
> 
> You need `#! /bin/bash -login' not `#! /bin/bash --login' (see the
> bash documentation).

i did:

       --login
              Make bash act as if it had been invoked as a  login
              shell (see INVOCATION below).

bash 2 uses --login, bash 1 used -login.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpLWdC5clJD5.pgp
Description: PGP signature


Reply to: