Re: Re: .bash_profile problems under gnome

2004-06-08 Thread Adam Siepel
> Most importantly you are not starting up a window manager there!? > Which is the whole point of the ~/.xsession file. You may find > reading through the default startup scripts /etc/X11/Xsession* useful > to understand this process. The very last line is 'exec $STARTUP'. > The 'exec' overlays a

Re: Re: .bash_profile problems under gnome

2004-06-07 Thread Adam Siepel
> I had this problem for months with one box. ... > Perhaps yours is that easy too. nope, the shell is set correctly. [EMAIL PROTECTED] acs]$ grep acs /etc/passwd acs:x:1000:1000:Adam Siepel,,,:/home/acs:/bin/bash > Make sure your ~/.xsession file is executable. > > chmod a+x ~/.xsession >

Re: Re: .bash_profile problems under gnome

2004-06-07 Thread Bob Proulx
Adam Siepel wrote: > permissions look good. > > [EMAIL PROTECTED] acs]$ ls -l ~/.xsession > -rwx--1 acs acs60 Jun 7 08:59 /home/acs/.xsession* Seems reasonable enough. I am not that restrictive myself. (But people at work want to be able to copy my files. :-) > I mus

Re: Re: .bash_profile problems under gnome

2004-06-06 Thread Bob Proulx
Adam Siepel wrote: > > 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. The ~/.xinitrc file is read by xinit. This is a typical start when a user logs into the text console and then

Re: .bash_profile problems under gnome

2004-06-06 Thread richard lyons
On Saturday 05 June 2004 22:10, Adam Siepel wrote: > > 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 > > shou

Re: Re: .bash_profile problems under gnome

2004-06-05 Thread s. keeling
Incoming from Adam Siepel: > > ~/.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 b

Re: Re: .bash_profile problems under gnome

2004-06-05 Thread Adam Siepel
> 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 lo

Re: .bash_profile problems under gnome

2004-06-05 Thread s. keeling
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 rela

.bash_profile problems under gnome

2004-06-05 Thread 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/s