$PATH variable in Gnome wrong

Bug #94522 reported by Jonathan Kempa
4
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: gnome-session

My $PATH variable in Gnome is wrong in Feisty.

In a console (CTL + ALT + F1), my path variable looks fine: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

But in the GNOME terminal and other applications, my path looks like the following:

jonathan@jonathan-desktop:~$ echo $PATH
/bin:/usr/bin:/usr/X11R6/bin

Thus, I can not start lots of applications and I can not connect to my wifi as network-manager has got some problems.

Didn't happen with Herd5, then I did a upgrade.

ProblemType: Bug
Architecture: i386
Date: Wed Mar 21 19:53:42 2007
DistroRelease: Ubuntu 7.04
Uname: Linux jonathan-desktop 2.6.20-12-generic #2 SMP Sun Mar 18 03:07:14 UTC 2007 i686 GNU/Linux

Revision history for this message
Jonathan Kempa (jonikempa) wrote :

using kdm, this problem does not appear.

Revision history for this message
magilus (magilus) wrote :

btw., this also causes several menu items not to work (for example supertux).

also, restricted-manager crashes on startup then.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. That works fine on my feisty desktop, gdm didn't change a lot and you are the only one who opened a bug about that, that's likely to be due to some configuration on your box. What gdm session do you use? Could you attach your /etc/gdm/gdm.conf and /etc/gdm/gconf.conf-custom (you can replace values first if there is data you don't want to copy on the bug)?

Changed in gdm:
importance: Undecided → Low
Revision history for this message
magilus (magilus) wrote :

Hi!

I was at Jonathan's house yesterday and we tried around a little bit. First, he upgraded to Feisty but that issue appeard.

So, as /home was on a seperate hard disk, we wiped / and installed Feisty Herd 5.

After doing upgrades, the problem reappeard, but I can't tell you if it happens with a fresh Herd 5. I think that we'll try to boot from that live cd again and retry.

As I though it may be related to some configs in /home, I created a new user and logged in as it. But the problem still appeared there, also.

Finally, we installed kdm and the issues disappeard..

I will attach the configs as soon as I have access to that machine.

Revision history for this message
Jonathan Kempa (jonikempa) wrote :
Revision history for this message
Jonathan Kempa (jonikempa) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Those look like the stock configuration, letting the bug unconfirmed for now. That looks like a local configuration bug or due to an another application, you are the only one to complain about that at the moment and there is no such bug on my installation

Revision history for this message
magilus (magilus) wrote :

When I have time, I will investigate a little bit more, but I honestly do not know where do start.

Do you have any hints where I could look?

Revision history for this message
Sebastien Bacher (seb128) wrote :

you can look to the scripts in /etc/X11. Does using gdm to log into a non GNOME environment set the same PATH?

Revision history for this message
magilus (magilus) wrote :

was caused by a blank /etc/pam.d/gdm. it was my fault.

Changed in gdm:
status: Unconfirmed → Rejected
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for the update

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.