You are not logged in.

#1 2011-09-08 07:08:11

toffyrn
Member
Registered: 2008-10-07
Posts: 221

[SOLVED] Gnome not sourcing /etc/profile.d/

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

#2 2011-09-08 07:16:44

lunyx
Member
From: Berlin
Registered: 2011-07-17
Posts: 21

Re: [SOLVED] Gnome not sourcing /etc/profile.d/

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

#3 2011-09-08 07:51:40

toffyrn
Member
Registered: 2008-10-07
Posts: 221

Re: [SOLVED] Gnome not sourcing /etc/profile.d/

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

#4 2011-09-08 08:38:49

lunyx
Member
From: Berlin
Registered: 2011-07-17
Posts: 21

Re: [SOLVED] Gnome not sourcing /etc/profile.d/

What about /etc/profile? It contains PATH settings too.

Offline

#5 2011-09-08 11:34:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Gnome not sourcing /etc/profile.d/

Offline

#6 2011-09-08 12:12:28

toffyrn
Member
Registered: 2008-10-07
Posts: 221

Re: [SOLVED] Gnome not sourcing /etc/profile.d/

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

#7 2011-09-09 08:48:34

toffyrn
Member
Registered: 2008-10-07
Posts: 221

Re: [SOLVED] Gnome not sourcing /etc/profile.d/

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

#8 2011-09-13 06:25:22

toffyrn
Member
Registered: 2008-10-07
Posts: 221

Re: [SOLVED] Gnome not sourcing /etc/profile.d/

A couple of days later, this is solved.
I have no idea what fixed it, but I assume it was an update...

Offline

Board footer

Powered by FluxBB