gnome-session 2.4 no longer runs $HOME/.gnomerc

Joe Kelsey joek at mail.flyingcroc.net
Tue Sep 23 09:58:55 PDT 2003


Joe Marcus Clarke wrote:
> On Tue, 2003-09-23 at 12:42, Joe Kelsey wrote:
>>Did something change in Gnome 2.4 to affect this?
> 
> 
> Yes, a lot changed in GNOME 2.4.  The new script is ~/.xsession.

.xsession doesn't work the same way.  gdm/Xsession checks for the 
existence of .xsession an uses that *instead of* the default "ssh-agent 
-- gnome-session".  .gnomerc used to get executed *after* launching 
gnome-session so that I could run ssh-add.  Now, the same ability does 
not exist, so I have to completely recreate the overall structure by 
first starting ssh-agent in the background in .xsession, then run 
ssh-add, then exec gnome-session.  This completely severs the ability to 
automatically kill ssh-agent at logout, and I hve to come up with an 
alternative, such as leaving a remnant shell to do the clean-up.

What a horrible mess!

/Joe




More information about the freebsd-gnome mailing list