while ago, all of a sudden my $PATH was totally hammered and I didn't know why? but the signs were ifconfig reboot halt and common command in terminal returned the same error "command not found". I was without clue as what effect the $PATH. while all of the common places which PATH could be defined were normal and nothing to dictate the new $PATH.My consult in IRC led nowhere and everybody ignored me there. at the end i re-install the arch again but now I have the same problem all over again. now I checked and recheck but all the same. but while I checked deeper i found that in TTY all thing are normal for example the reboot will restart and Ifconfig will report back. and the problem was I installed LightDM in both cases and after that my $PATH was gone. HOW could I fix the $PATH??? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20110826/11e8df4f/attachment.htm>
Could you please open an issue about this on https://launchpad.net/lightdm? In particular what OS you are using and attaching the logs from /var/log/lightdm. LightDM uses a default PATH /usr/local/bin:/usr/bin:/bin which is overridden by PAM if it is configured that way (it is in Ubuntu). --Robert On 26 August 2011 16:47, kraxadmin <kraxadmin at gmail.com> wrote:> while ago, all of a sudden my $PATH was totally hammered and I didn't know > why? but the signs were ifconfig reboot halt and common command in terminal > returned the same error "command not found". I was without clue as what > effect the $PATH. while all of the common places which PATH could be defined > were normal and nothing to dictate the new $PATH.My consult in IRC led > nowhere and everybody ignored me there. > at the end i re-install the arch again but now I have the same problem all > over again. now I checked and recheck but all the same. but while I checked > deeper i found that in TTY all thing are normal for example the reboot will > restart and Ifconfig will report back. > and the problem was I installed LightDM in both cases > and after that my $PATH was gone. > HOW could I fix the $PATH??? > _______________________________________________ > LightDM mailing list > LightDM at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/lightdm > >
Dear Robert let me ask you why it _overrides_ system PATH? and how could I disable it. the way it uses the system path $PATH as it defined in /etc/rc.conf i dont understand why a display manager needs to modify $PATH, and absolutely cant understand why it _overwrites_ it >.< i attached the part of my rc.conf which $PATH is defined -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20110826/47643fc0/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: rc.conf.bak Type: application/x-trash Size: 561 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20110826/47643fc0/attachment.bak>
any news on how to change the lighdm config not to touch the system-wide path or at list edit it to our need. it is some sort of emergency here guys -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20110826/5850cfd6/attachment.htm>
what sets the $PATH in arch or any other BSD like linux is /etc/profile not session-wrapper -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20110826/3900e441/attachment.htm>
On ven., 2011-08-26 at 16:52 +0100, kraxadmin wrote:> what sets the $PATH in arch or any other BSD like linux is /etc/profile not > session-wrapperCould you please be a little less noisy on this list? (and btw profile if for bourne shell logins) -- Yves-Alexis -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20110826/1ae467b4/attachment-0001.pgp>
and I ask Robert to add it to the upstream of his project -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20110826/6700f0f2/attachment.htm>