Re: .bash_profile problems under gnome
From: s. keeling (keeling_at_spots.ab.ca)
Date: 06/06/04
- Previous message: Pigeon: "Debian and Sourceforge dhttpd"
- In reply to: Adam Siepel: ".bash_profile problems under gnome"
- Next in thread: Adam Siepel: "Re: Re: .bash_profile problems under gnome"
- Reply: Adam Siepel: "Re: Re: .bash_profile problems under gnome"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 5 Jun 2004 18:05:27 -0600 To: debian-user@lists.debian.org
Incoming from Adam Siepel:
> Hi -- I'm using gdm, gnome, and bash, and can't seem to get things set up
> so my .bash_profile gets read properly upon login. I've seen some messages
> on various lists that advised explicitly sourcing .bash_profile in
> .xsession for proper startup -- problem is related to Xsession being run as
> /bin/sh rather than /bin/bash, I think. This seems like kind of an awkward
> soln, but I can live with it. Now I'm finding, though, that my .xsession
> *also* doesn't seem to be getting read, despite that everything seems to be
> in order (/etc/X11/Xsession okay, no ~/.Xsession in the way,
> allow-user-xsession in Xsession.options, etc.).
How X starts up can be a mystery. I use "startx" which uses my
~/.xsession. Others do the same and report ~/.xsession is ignored in
favour of ~/.xinitrc.
With that in mind, change the file in question. The first line should
be:
#!/bin/bash --login
which will make it a login shell, and your bash startup files will be
sourced. The file in question must be made executable (ie., chmod 755 ~/.xsession).
-- Any technology distinguishable from magic is insufficiently advanced. (*) http://www.spots.ab.ca/~keeling - - -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Pigeon: "Debian and Sourceforge dhttpd"
- In reply to: Adam Siepel: ".bash_profile problems under gnome"
- Next in thread: Adam Siepel: "Re: Re: .bash_profile problems under gnome"
- Reply: Adam Siepel: "Re: Re: .bash_profile problems under gnome"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|