It will remember your choice next time. For example, because I have selected 'Xsession default' as the Desktop Session in SDDM, it has created /var/lib/sddm/state.conf with this content:
Code:
[Last]
# Name of the last logged-in user.
# This user will be preselected when the login screen appears
User=kaukasoi
# Name of the session for the last logged-in user.
# This session will be preselected when the login screen appears.
Session=/usr/share/xsessions/xwmconfig.desktop
And /usr/share/xsessions/xwmconfig.desktop is this:
Code:
[Desktop Entry]
Name=Xsession default
Comment=Use Xsession to start the desktop configured by xwmconfig
Exec=/etc/X11/xdm/Xsession
And /etc/X11/xdm/Xsession will run $HOME/.xsession which can be written by xwmconfig (or written by hand...). Or /etc/X11/xinit/xinitrc if there is no $HOME/.xsession.