Re: PATH variable not set in DE (GNOME)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 15-04-25 09:45:15, Rodrigo Rivas wrote:
> According to that page, you can add the graphical environment in $HOME/.xinitrc.

I tried the following

[snip]
export PATH=${PATH}:/usr/bin/vendor_perl
[snip]
exec gnome-session

but it did not help.

On 15-04-25 15:56:19, Carl Lei wrote:
> /etc/environment is an option.  This is used by pam_env, and applies to all
> PAM-authenticated sessions.

I put the line

PATH=${PATH}:/usr/bin/vendor_perl

in /etc/environment with the effect that I was no longer able to log in
to GNOME. The loginmanager resets after entering the password and
prompts me again for user/pass. Removing the line from /etc/environment
fixes this behavior.

> However /etc/profile.d is used by most DEs.  Did you export PATH?

Not that I'm aware of. Until the last update I didn't need to do
anything. The perl files (.csh .sh) in /etc/profile.d are as they were
shipped by the perl package and as far as I understand they do export
PATH.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux