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

Re: xsession, bash_profile and xdm



On Thu, Nov 09, 2000 at 05:20:06PM +0000, Thomas Halahan wrote:
> 
> I have tried
> 
> #!/bin/bash --login
> 
> and
> 
> #!/bin/bash -login 
> 
> in .xsession and neither works.

that solved it for me when i put it in the global /etc/X11/Xsession,
maybe it won't work for a .xsession...

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

that would not work, the #! is a magic string the kernel uses to
decide what interpreter to use. 

adding source ~.bash_profile to .xsession should definitly work
(before execing the window manager)

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

Attachment: pgpCm8lnr0Wcu.pgp
Description: PGP signature


Reply to: