You are not logged in.
After some recent upgrades and changes in jre/jdk being moved to AUR, I can no longer find java/javac in my PATH.
It seems like gnome does not source /etc/profile.d/ since this is where the setup should come from.
From within gnome-terminal:
[$]> echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
From plain terminal:
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/java/bin:/opt/java/db/bin:/opt/java/jre/bin:/usr/bin/vendor_perl:/usr/bin/core_perl
Gnome is started by GDM via inittab.
Has anybody else experienced this?
Any ideas where to start my debugging?
Last edited by toffyrn (2011-09-13 06:24:15)
Offline
I had a similar problem:
https://bbs.archlinux.org/viewtopic.php?id=125583
Maybe that helps.
Last edited by lunyx (2011-09-08 07:17:59)
Offline
Thanks.
Had actually spotted that one already, but my profile should be system wide (/etc/profile.d/)...
So I'm not sure how this could apply in this case.
Offline
What about /etc/profile? It contains PATH settings too.
Offline
Similar case: https://bbs.archlinux.org/viewtopic.php?id=125798
Offline
Thanks. Saw that one also.
I have logged out, and logged back in. Even restarted. Problem remains.
My issue seems to be GDM related. It should source /etc/profile but doesn't.
Could be related to the issue "jjagot" experiences with lightdm.
Offline
I compared gnome with my other computer (where everything is working), and noticed also that GDM is using english as its language instead of norwegian..
Could that somehow be related?
Offline
A couple of days later, this is solved.
I have no idea what fixed it, but I assume it was an update...
Offline