Comment 18 for bug 48876

Revision history for this message
Cezary Baginski (cezary0) wrote :

Confirmed on Hardy.

bug present in /etc/gdm/Xsession, installed from package gdm-2.20.7.

Reason: $(ls $1) is used, which adds ansi color escape sequences

Fix1: change "ls" to "/bin/ls" to ignore the bash/sh alias (in /etc/gdm/Xsession)

Fix2: use run-parts with --list instead of defining a run_patch function (/etc/gdm/Xsession)

Fix3: this a problem in gdm packages, maintained at gnome.org. The bug is probably gone since debian specific folder in gdm has been removed (gdm-2.22). So we will have to wait until gdm-2.22 or higher becomes available in Ubuntu, or ... until someone backports its to gdm-2.20 (which is IMHO unlikely).

Patch attached anyway for anyone interested in a quick fix.