Neues vom Nordkap

24.11.2006 19:50

todos II

There was still an open problem on my list: Namely, that my PATH variable is truncated if I use the fingerprint reader to login in gdm. I did not really solve the problem. That is, I still don't understand why the path is set differently depending on whether I login with password or fingerprint. I don't understand actually at all where the PATH is set in gdm. There are these lines in "/etc/gdm/gdm.conf"
# Default path to set. The profile scripts will likely override this value.
# This value will be overridden with the value from /etc/default/login if it
# contains "ROOT=(pathvalue)". #DefaultPath=/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games
I fixed my problem by uncommenting the line starting with DefaultPath. So apparently if this line is there, it sets the default path in gdm, but if not? I don't have the "/etc/default/login" memtioned above. There seems to be some confusion where the PATH is really set. I found similar problems like mine (not involving fingerprint readers though) on the web. But no answer was really satisfactory. What appears are the usual suspects:

/etc/environment
~/.bash_profile
~/.basrc


Or similar things for other shells. What I know by now, is that out of these three only "~/.bashrc" is read by gdm. If you want to make local changes to the PATH do it there. And if you want to do global changes do them in "/etc/gdm/gdm.conf" to make sure it is applied.

Comments

No comments yet.

No backlinks yet.

Add a comment

Please leave these fields blank:

Name:
Email:
(will not be displayed unencrypted)
Comment:
No HTML allowed. URLs are not turned into hyperlinks.


You can edit this comment until 30 minutes after posting.
ich

About

My name is Magdalena Luz. I grew up in Switzerland. I studied physics at Humboldt University Berlin, where I used to live in "Nordkapstrasse" (North Cape street). That's how this blog got its name. After a short intermezzo in Copenhagen, DK, I live now in the amazing city of Wuppertal. This is a place the wild, wild West of Germany, built on 7 hills, (which is really the only thing it has in common with Rome) It is populated by the strange species of homo germanicus occidens communis, also known as 'gemeiner Wessi'. And even with her it is light years away from ever being like Berlin.

Archiv

2010
2009
2008
2007
2006
2005
2004
2003
2002

RSS

My Recordings

Berlin

Blogplan Berlin keepitrollin.de Zitty Physics department of HUB AG COM @ HUB

KBH

Christiania dnbzone.dk Niels Bohr Institute

Blogs

Wo Sönke's Sparshow Mercedes Bunz Cosmic Variance Asymptotia Uncertain Principle Michael Nielsen
Powered by Beta-Blogger