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

Geoff Crompton Geoff Crompton <geoff.crompton@strategicdata.com.au>, 302071@bugs.debian.org
Thu, 31 Mar 2005 09:31:17 +1000


Josselin Mouette wrote:
> Le mercredi 30 mars 2005 =E0 09:54 +1000, Geoff Crompton a =E9crit :
>=20
>>Package: gnome-session
>>Version: 2.8.1-6
>>Severity: minor
>>
>>When I log in from gdm, I see the following line in my
>>~/.xsession-errors:
>>
>>/etc/gdm/Xsession: line 4: [: ')' expected, found /usr/bin/gnome-sessio=
n
>>
>>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.
>>
>>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.
>=20
>=20
> 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.
>=20
> Regards,

Ok, that created the link. I don't know why the link was missing. I=20
don't know if it was a packaging error, or something I broke.

--=20
Geoff Crompton
Debian System Administrator
Strategic Data
+61 3 9340 9000