gdm didn`t read correct PATH variables
When I enter the Xfce desktop, I clicked right mouse button and choose the termianl, I enter "echo $PATH", and get return below":
/usr/local/
and my /etc/environment is:
PATH="/
and if I use ctrl + alt + F1 to switch to tty1, and enter "echo $PATH", I got:
/usr/sbin:
I also edit /etc/gdm/gdm.conf, /etc/environment, /etc/login.defs no effect.
but when I use "startx" instead "sudo service gdm start", my $PATH will be correct.
it seems a gdm bug, I install lightdm and don`t have the bug anymore, but if I use gdm or slim instead, the problem will appear.
by the way, how do I change the login manager? when I install gdm, ubuntu 12.04 pop up a purple console, and ask me which manager to use, how do I wake this this purple console again?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu gdm Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- actionparsnip
- Solved:
- Last query:
- Last reply: