You are not logged in.
Until now I was running lightdm with i3 window manager without (many) problems. But now I want to also be able to select xfce4 session. I have installed XFCE4, and I can start it by calling startxfce4 from the console. But lightdm does not show the session selection menu, and it always executes i3 session, no matter what I do. I have even setting user-session=xfce4 in /etc/lightdm/lightdm.conf, but only i3 session is launched.
How can I get lightdm to allow me to select session?
Last edited by doragasu (2016-10-28 07:15:52)
Offline
~/.dmrc should be relevant, no idea why you've no session selection menu; probably a bug in the used (which?) lightdm greeter?
Online
Thanks for suggestion. I have tried setting Session=xfce4 in ~/.dmrc so it's now like this:
[Desktop]
Language=es_ES.utf8
Session=xfce4
But it does neither work, i3 is again launched by lightdm. I'm using lightdm-gtk-greeter with default configuration BTW.
Offline
Session=xfce
Online
Session=xfce
Thanks for suggestion. Unfortunately that didn't do the trick
Offline
Outmost weird.
From the wiki:
dbus-send --system --type=method_call --print-reply --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/User1000 org.freedesktop.Accounts.User.SetXSession string:xfce
Replace 1000 by your actual $UID
Are you sure you're running lightdm ("sudo systemctl list-units | grep lightdm") and not XDM (which just fires your ~/.xinitrc)?
Online
That worked perfect, Thanks! Now xfce is properly started upon login.
BTW I'm pretty sure I'm running lightdm:
$ sudo systemctl list-units | grep lightdm
lightdm.service loaded active running Light Display Manager
Even though I can now start xfce, I'll still leave this open, just in case somebody knows why lightdm does not display a session selector...
EDIT: I didn't notice at first, but since xfce has been properly started once, it looks like session chooser now appears and works!
So I'm marking this as solved, Thanks!!!
Last edited by doragasu (2016-10-28 07:15:40)
Offline