Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2003 13:06:14 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Joe Kelsey <joek@mail.flyingcroc.net>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: gnome-session 2.4 no longer runs $HOME/.gnomerc
Message-ID:  <1064336774.743.27.camel@gyros>
In-Reply-To: <3F707BCE.6010205@mail.flyingcroc.net>
References:  <3F7077F3.5080502@mail.flyingcroc.net> <3F707BCE.6010205@mail.flyingcroc.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-pVGRP/MvnRoqs2b5DlNz
Content-Type: multipart/mixed; boundary="=-eSXfoWosb3GFyu1EKBjM"


--=-eSXfoWosb3GFyu1EKBjM
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2003-09-23 at 12:58, Joe Kelsey wrote:
> 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?
> >=20
> >=20
> > Yes, a lot changed in GNOME 2.4.  The new script is ~/.xsession.
>=20
> .xsession doesn't work the same way.  gdm/Xsession checks for the=20
> existence of .xsession an uses that *instead of* the default "ssh-agent=20
> -- gnome-session".  .gnomerc used to get executed *after* launching=20
> gnome-session so that I could run ssh-add.

No it didn't.  I always used .gnomerc, and it was always executed by
GDM.  Attached is the old code to prove it.  Also, if you grep through
the gnome-session-2.2.2 code, you will see no mention of .gnomerc.

>   Now, the same ability does=20
> not exist, so I have to completely recreate the overall structure by=20
> first starting ssh-agent in the background in .xsession, then run=20
> ssh-add, then exec gnome-session.  This completely severs the ability to=20
> automatically kill ssh-agent at logout, and I hve to come up with an=20
> alternative, such as leaving a remnant shell to do the clean-up.
>=20
> What a horrible mess!

Also attached is my old .gnomerc which calls gnome-session at the end.=20
You can certainly add your own commands to this.  Just make sure the
last command is exec gnome-session.

Joe

>=20
> /Joe
>=20
>=20
> _______________________________________________
> freebsd-gnome@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
--=20
PGP Key : http://www.marcuscom.com/pgp.asc



--=-eSXfoWosb3GFyu1EKBjM--

--=-pVGRP/MvnRoqs2b5DlNz
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQA/cH2Gb2iPiv4Uz4cRApj8AKCsB8OQnA5SuREhcaivsbABar32HwCgpdBO
sHxNRL11l6+uAHM522NC++A=
=1xoX
-----END PGP SIGNATURE-----

--=-pVGRP/MvnRoqs2b5DlNz--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1064336774.743.27.camel>