Bug#302071: error output when sourcing /etc/X11/Xsession.d/55gnome-session_gnomerc

Josselin Mouette 302071@bugs.debian.org, 302071@bugs.debian.org
Wed, 30 Mar 2005 10:48:45 +0200


Le mercredi 30 mars 2005 =E0 09:54 +1000, Geoff Crompton a =E9crit :
> Package: gnome-session
> Version: 2.8.1-6
> Severity: minor
>=20
> When I log in from gdm, I see the following line in my
> ~/.xsession-errors:
>=20
> /etc/gdm/Xsession: line 4: [: ')' expected, found /usr/bin/gnome-session
>=20
> This is occuring because in /etc/X11/Xsession.d/55gnome-session_gnomerc
> there is a call to `readlink /etc/alternatives/x-session-manager`.
> However on my system there is no /etc/alternatives/x-session-manger
> link.
>=20
> I don't know if the code in 55gnome-session_gnomerc should be modified
> to account for this possibility, or if something else is broken in my
> system and that they x-session-manager link really should be there.

Yes, something must be broken in your system if the x-session-manager
alternative is missing. You should run "update-alternatives --config
x-session-manager" to fix that.

Regards,
--=20
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
   `-  Debian GNU/Linux -- The power of freedom