xfce4-session is the real session manager, but you're not supposed to
invoke it directly (like e.g. gnome-session); you're supposed to call it
via startxfce4. And the point of having an x-session-manager alternative
is to invoke it directly, which is what /etc/X11/Xsession.d/50x11
-common_determine-startup does if the display manager doesn't pass a
program name to the Xsession script.

If you have GNOME installed, x-session-manager points to gnome-session,
which is the correct top-level command to start a GNOME session. If you
have Xfce installed, x-s-m points to xfce4-session, but the situation is
not equivalent---you're not supposed to invoke xfce4-session directly,
you're supposed to use startxfce4. So the x-s-m symlink is useless in
that case, and if a display manager uses it, then you're not getting a
proper Xfce environment.

x-s-m is supposed to be the top-level command you invoke to get the
session you want, so in the case of Xfce/Xubuntu, it should point to
startxfce4 or session.sh.

-- 
Add /usr/share/xubuntu/session.sh as an alternative for x-session-manager
https://bugs.launchpad.net/bugs/558823
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to