[Pkg-xfce-devel] Bug#867221: Bug#867221: xfce4-session: /xfce.desktop should point to xfce4-session

Yves-Alexis Perez corsac at debian.org
Wed Jul 5 15:42:58 UTC 2017

On Tue, 2017-07-04 at 22:52 +0200, Martin Monperrus wrote:
> Dear Maintainer,
> /usr/share/xsessions/xfce.session contains "Exec=startxfce4"
> On my system, this fails to start an XFCE session with the error message
> "/usr/bin/startxfce4: X server already running on" (common error on the web)

That's not true. The message is just a warning, it doesn't fail because of
that. You might have something else not working on your box, but that's not
it. Can you please look at your logs and investigate a bit more, then
retitle/reassign as needed?
> Indeed, starting X is handled by the DM itself, not by XFCE (lightdm in my
> case).

Actually startxfce4 doesn't start X when it's not needed, that's all.
> I've changed it to "Exec=xfce4-session" and it works perfectly now.

> What about changing "Exec=startxfce4" by "Exec=xfce4-session"?

No, it won't work. xfce4-session is just a session manager, it lacks a lot of
stuff still needed for the whole DE (like various env var, and other Xfce

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20170705/20a87e74/attachment.sig>

More information about the Pkg-xfce-devel mailing list