[LightDM] [1.6.0 and 1.7.2] user session stops immediately
tjoen
tjoen at dds.nl
Tue Jun 18 10:12:24 PDT 2013
On 18-06-13 08:11, Yves-Alexis Perez wrote:
> On mar., 2013-06-18 at 07:59 +0200, tjoen wrote:
>> ~/.xsession-errors
>> Failed to run command: No such file or directory
> That means startxfce4 doesn't exist. Either PATH is unset and you need
> to give the full path, or you need to actually install xfce4-utils (Xfce
> 4.8) or xfce4-session (Xfce 4.10).
I have startxfce4 because in OP:
>>> No problems with
>>> $ startx
>>> ~/.xsession contains
>>> exec startxfce4
(~/.xinitrc is symlink to ~/.xsession)
But I understand now what is happening in my case.
My $PATH is set in /etc/profile because /etc/environment doesnt expand
${var}
GDM someway reads /etc/profile, unclear why
So I have three options now:
1 /etc/environment
2. ~/.bashrc
3. full path in /usr/share/xsessions/xfce.desktop
Thanks for the solution!
More information about the LightDM
mailing list