Re: lightdm's "Default Xsession"?
On Sat 25 Oct 2014 at 04:11:28 -0700, John Conover wrote:
> Andrei POPESCU writes:
> >
> > Those probably only install themselves as x-window-manager so this
> > should work instead
> >
> > update-alternatives --config x-window-manager
> >
> > Not exactly sure how display managers handle defaults when you have
> > both. Per user there is also ~/.dmrc.
> >
>
> In this particular case, the problem was an ~/.xinitrc, (linked to
> ~/.xsession, dated 1994!!! launching fvwm,) in the user's account. If
> a .xinitrc/.xsession file exists, it is executed as "Default Session"
> by lightdm, (regardless of the system's default session; BTW, but not
> as a login session, i.e., not via bash -l.)
>
> Obviously, none of the suggestions offered, (all competent,) in the
> list would work under these circumstances.
This is a nice example of why using an ~/.xinitrc is very often unwise.
The file xinitrc in /etc/X11/xinit is not used so the global X session
script is not consulted. Linking it to ~/.xsession does nothing for
this situation. The recommended file for a user to customise is
~/.xsession (after deleting ~/.xinitrc).
Reply to: