[Pkg-xfce-devel] Bug#644917: Bug#644917: lightdm: (null) is passed as argument to /etc/X11/Xsession
On jeu., 2011-10-27 at 12:35 +0200, jr h wrote:
> I hope to have the solution.
> The problem is in /usr/share/xsessions/lightdm-xsession.desktop.
> The key "Exec=default" should be replaced for "Exec=startxfce4", for
> example. Now, the default session will be XFCE.
> For other window-managers I don't know the key value, but you can
> search this value in another file *.desktop
> into /usr/share/xsessions/.
You seem to have misunderstood what this default session is about. If
you want to start Xfce, use the Xfce session. The default session is
used to run the user .xsession script. To do that, we just use the
default argument so /etc/X11/Xsession will default to use that. I didn't
yet investigate why we had that warning in recent lightdm version but
your workaround is unlikely to fix anything.