[Bug 48876] Re: gnome-session fails when alias ls='ls --color' in .profile

2011-10-02 Thread Rolf Leggewie
** Changed in: gdm (Ubuntu Dapper)
   Status: Confirmed = Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.
https://bugs.launchpad.net/bugs/48876

Title:
  gnome-session fails when alias ls='ls --color' in .profile

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/48876/+subscriptions

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


[Bug 48876] Re: gnome-session fails when alias ls='ls --color' in .profile

2008-10-01 Thread zatoichi0
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


[Bug 48876] Re: gnome-session fails when alias ls='ls --color' in .profile

2008-08-26 Thread wilk
This bug has reappeared on my Hardy machine. I need to comment out
alias ls='ls --color'
in ~/.bashrc in order to run start a gnome-session in gdm

-- 
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


[Bug 48876] Re: gnome-session fails when alias ls='ls --color' in .profile

2006-11-29 Thread Sebastien Bacher
not a gnome-session bug

** Changed in: gnome-session (Ubuntu)
 Assignee: (unassigned) = Ubuntu Desktop Bugs
   Status: Unconfirmed = Rejected

-- 
gnome-session fails when alias ls='ls --color' in .profile
https://launchpad.net/bugs/48876

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


[Bug 48876] Re: gnome-session fails when alias ls='ls --color' in .profile

2006-10-24 Thread Jonathan Lim
Is this going to be fixed for Dapper?

-- 
gnome-session fails when alias ls='ls --color' in .profile
https://launchpad.net/bugs/48876

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


[Bug 48876] Re: gnome-session fails when alias ls='ls --color' in .profile

2006-10-24 Thread Daniel Holbach
That's a case for http://wiki.ubuntu.com/StableReleaseUpdates

-- 
gnome-session fails when alias ls='ls --color' in .profile
https://launchpad.net/bugs/48876

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


[Bug 48876] Re: gnome-session fails when alias ls='ls --color' in .profile

2006-08-16 Thread Sebastien Bacher
Fixed to edgy with this upload:

 gdm (2.15.9-0ubuntu2) edgy; urgency=low
 .
   * debian/Xsession:
 - specify ls path, fix gnome-session not starting due to some parsing
   issues for people using an ls=ls --color alias to their profile,
   thanks to Matthew Wang [EMAIL PROTECTED] from tracking it and
   suggesting the change (Ubuntu: #48876)

** Changed in: gdm (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
gnome-session fails when alias ls='ls --color' in .profile
https://launchpad.net/bugs/48876

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


[Bug 48876] Re: gnome-session fails when alias ls='ls --color' in .profile

2006-08-13 Thread Spliffster
sebastien, matthew,

thanks alot for investigating/incoporating! i have not been able to
locate the bogous usage of `ls` instead of `/bin/ls` myself.

Cheers,
Simon

-- 
gnome-session fails when alias ls='ls --color' in .profile
https://launchpad.net/bugs/48876

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


[Bug 48876] Re: gnome-session fails when alias ls='ls --color' in .profile

2006-08-11 Thread Sebastien Bacher
Thank you for tracking that issue, I'll fix that to dapper-updates and
edgy next week

** Bug 53862 has been marked a duplicate of this bug

** Changed in: gdm (Ubuntu)
   Status: Needs Info = Fix Committed

** Changed in: gdm (Ubuntu Dapper)
   Importance: Untriaged = Medium
 Assignee: (unassigned) = Ubuntu Desktop Bugs
   Status: Unconfirmed = Confirmed

-- 
gnome-session fails when alias ls='ls --color' in .profile
https://launchpad.net/bugs/48876

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


[Bug 48876] Re: gnome-session fails when alias ls='ls --color' in .profile

2006-08-10 Thread Sebastien Bacher
Thanks for your work on that. Do you pick a particular session to get
the issue? Does ls --color /etc/X11/Xsession.d uses some color on your
installation? I'm trying to figure why it's not happening everywhere and
why it's breaking the login before applying the patch

-- 
gnome-session fails when alias ls='ls --color' in .profile
https://launchpad.net/bugs/48876

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


[Bug 48876] Re: [Bug 48876] Re: gnome-session fails when alias ls='ls --color' in .profile

2006-08-10 Thread Matthew Wang
Sebastien,

My system is built up by the ubuntu 6.06 Live CD (double click install icon
on the desktop), I added the alias to /etc/profile  just after first boot.
And I reproduced it easily in another fresh system also.   So I think I was
not picking particular session.

ls --color /etc/X11/Xsession.d only shows texts with normal color,  but
the output is filled with some ansi control chars (use cat -v to prove):

igo: ~ $ /bin/ls --color /etc/X11/Xsession.d | cat -v
^[[0m^[[0m20xorg-common_process-args^[[0m
^[[0m30xorg-common_xresources^[[0m
^[[0m50xorg-common_determine-startup^[[0m
^[[0m55gnome-session_gnomerc^[[0m
^[[0m75dbus_dbus-launch^[[0m
^[[0m90xorg-common_ssh-agent^[[0m
^[[0m99xorg-common_start^[[0m
^[[m

igo: ~ $ md5sum /bin/ls
cf3669f0230ba30c2ddede093bdaa031  /bin/ls

On 8/10/06, Sebastien Bacher [EMAIL PROTECTED] wrote:

 Thanks for your work on that. Do you pick a particular session to get
 the issue? Does ls --color /etc/X11/Xsession.d uses some color on your
 installation? I'm trying to figure why it's not happening everywhere and
 why it's breaking the login before applying the patch

 --
 gnome-session fails when alias ls='ls --color' in .profile
 https://launchpad.net/bugs/48876


-- 
gnome-session fails when alias ls='ls --color' in .profile
https://launchpad.net/bugs/48876

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


[Bug 48876] Re: gnome-session fails when alias ls='ls --color' in .profile

2006-08-07 Thread Daniel Holbach
Can everybody check that this resolves the issue? Reassigning to gdm, as
it's gdm's ./debian/Xsession that probably needs changing.

** Changed in: gnome-session (Ubuntu)
Sourcepackagename: gnome-session = gdm
   Status: Unconfirmed = Needs Info

-- 
gnome-session fails when alias ls='ls --color' in .profile
https://launchpad.net/bugs/48876

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


[Bug 48876] Re: gnome-session fails when alias ls='ls --color' in .profile

2006-08-05 Thread Matthew Wang
I encountered this problem in 6.06 today. If you have set 'ls' as an
alias with argument '--color' in /etc/profile or $HOME/profile, it will
be triggered.

The root cause is that, the script /etc/gdm/Xsession will source
/etc/profile and $HOME/.profile, then it use ls $1 to read
/etc/X11/Xsession.d, the ANSI color control characters in its output
will cause the problem.

Here's the fix: modify /etc/gdm/Xsession, change line 82 
for F in $(ls $1); do
to
   for F in $(/bin/ls $1); do

-- 
gnome-session fails when alias ls='ls --color' in .profile
https://launchpad.net/bugs/48876

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


[Bug 48876] Re: gnome-session fails when alias ls='ls --color' in .profile

2006-06-15 Thread Sebastien Bacher
A .profile with:

#alias ls=ls --color
alias r=ssh -X 10.0.0.32;
alias rr=ssh -X 10.0.0.32 sudo;

on my box works just fine. Does anybody else get that issue?

** Changed in: gnome-session (Ubuntu)
 Assignee: (unassigned) = Ubuntu Desktop Bugs
   Status: Confirmed = Unconfirmed

-- 
gnome-session fails when alias ls='ls --color' in .profile
https://launchpad.net/bugs/48876

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


[Bug 48876] Re: gnome-session fails when alias ls='ls --color' in .profile

2006-06-15 Thread 조광일
uncommenting the ls alias causes the errant behavior for me, and was the
only line in my profile when I encountered this.  commenting it out also
fixes the symptoms.

-- 
gnome-session fails when alias ls='ls --color' in .profile
https://launchpad.net/bugs/48876

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


[Bug 48876] Re: gnome-session fails when alias ls='ls --color' in .profile

2006-06-07 Thread 조광일
this may be a duplicate of https://launchpad.net/distros/ubuntu/+source
/gnome-session/+bug/45951

** Bug 45951 has been marked a duplicate of this bug

** Changed in: gnome-session (Ubuntu)
   Importance: Untriaged = Medium
   Status: Unconfirmed = Confirmed

-- 
gnome-session fails when alias ls='ls --color' in .profile
https://launchpad.net/bugs/48876

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