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

Re: xsession, bash_profile and xdm



I have tried

#!/bin/bash --login

and

#!/bin/bash -login 

in .xsession and neither works.

I have also tried just "/bin/bash --login" in the saem file to no 
avail?

I don't know why.

Tom


On 07 11:45 pm, Ethan Benson wrote:

> > 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.

----------------------------------------
Content-Type: application/pgp-signature; charset="us-ascii"; 
name="Attachment: 1"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------



Reply to: