[Pkg-xfce-devel] Bug#639984: Bug#639984: [lightdm] restart/reload fails
On jeu., 2011-09-01 at 14:21 +0200, Slavko wrote:
> I agree...
> Now i tried restart from vbox console (VT) and it works. Then i try it via
> SSH with unset DISPLAY and it works too. It seems that problem is with SSH
> session with X-Forwarding enabled (DISPLAY=localhost:10.0).
> When i put:
> unset DISPLAY
> on the start of the lightdm's init script, then it works, but i don't
> know, if it is acceptable solution and how (if) it takes the multiple X
> sessions... However, managing remote (X enabled) machines via SSH is common
Ok, as far as I understand it, from the logs and this mail:
* X wasn't working fine in virtualbox because of missing driver. This
lead to the initial, not working state, but is unrelated to lightdm
* then you restart lightdm from ssh, with X11 forwarding enabled.
lightdm sees the DISPLAY variable and interpretes that the user wanting
a display in Xephyr.
I think the support in lightdm is fine (it's actually useful), though it
might be a little more documented. You should take care of your
environment, and if you can't, you should use invoke-rc.d (and not
directly /etc/init.d scripts) which will do the environemnt cleaning for