Default WM and SDDM
by lougavulin from LinuxQuestions.org on (#5BVTK)
Hello everyone,
I am feeling stupid...
I found some issues about SDDM and X login process here but not mine.
Since the -current upgrade which merge Ktown or the next one, if I run init4, I can not use another WM than KDE or Xfce, because there is a menu for Xfce.
To run fluxbox, I had to boot on init3 and launched X.
First, I checked user's .xinitrc and .xsession, they still use fluxbox.
Then I checked /etc/X11/xinit and xinitrc still links to xinitrc.fluxbox. Great.
So I have almost gone crazy... :)
/usr/share/sddm/scripts/Xsession contains this code :
Code:# Commented out because $HOME/.xsession may start the wrong session type or
# cause dbus-run-session to start twice.
#if [ -f "$USERXSESSION" ]; then
# . "$USERXSESSION"
#fiWhich seems to explain the whole thing, as user's .xession is not used.
As a workaround I wrote fluxbox.desktop into /usr/share/xsessions, so fluxbox session is available into SDDM menu and allows to use fluxbox as WM.
My question is : is /etc/X11/xinit/xinitrc or user's .xsession and .xinitrc useless now ?
Do I miss something else ?
Thank you
NB: this is a fresh install with -current as source.


I am feeling stupid...
I found some issues about SDDM and X login process here but not mine.
Since the -current upgrade which merge Ktown or the next one, if I run init4, I can not use another WM than KDE or Xfce, because there is a menu for Xfce.
To run fluxbox, I had to boot on init3 and launched X.
First, I checked user's .xinitrc and .xsession, they still use fluxbox.
Then I checked /etc/X11/xinit and xinitrc still links to xinitrc.fluxbox. Great.
So I have almost gone crazy... :)
/usr/share/sddm/scripts/Xsession contains this code :
Code:# Commented out because $HOME/.xsession may start the wrong session type or
# cause dbus-run-session to start twice.
#if [ -f "$USERXSESSION" ]; then
# . "$USERXSESSION"
#fiWhich seems to explain the whole thing, as user's .xession is not used.
As a workaround I wrote fluxbox.desktop into /usr/share/xsessions, so fluxbox session is available into SDDM menu and allows to use fluxbox as WM.
My question is : is /etc/X11/xinit/xinitrc or user's .xsession and .xinitrc useless now ?
Do I miss something else ?
Thank you
NB: this is a fresh install with -current as source.