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.

** Attachment added: "quick workaround for ls alias problem in gdm/Xsession"
   http://launchpadlibrarian.net/18123035/Xsession.patch_ls_alias_runparts

-- 
gnome-session fails when "alias ls='ls --color'" in .profile
https://bugs.launchpad.net/bugs/48876
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to