When autologon is active, lightdm
will start the Unity 3D session, not the 2D (or any other shell that I want to auto-login to).
Is there a way to start the shell I want automatically (autologon)?
Anyway, if autologon is disabled, the last used session is launched, and that's fine. I just want to choose which is default with autologon.
Best Answer
The list of sessions is described in the directory
/usr/share/xsessions
.Some of the more common session names are as follows:
Thus, if you change the light-dm configuration file to "ubuntu-2d" this will default the session to Unity-2D
i.e.
change the line
to
Note - if you don't have a lightdm.conf file then for a autologin use the following values for this file:
Another possibility is to run:
E.g.:
This will also create the
lightdm.conf
file if it wasn't already present.