Ubuntu: Switching the default session ubuntu 13.10 [duplicate]



Question:

This question already has an answer here:

When my ubuntu 13.10 boots the screen goes black and has no response. I used to run on gnome fallback and would like to switch back to it but I can't get to the login screen due to the automatic login. My only access to terminal is the root shell prompt and I've tried to turn off the autologin in GDM from there but it restricts me to read-only. Any help is much appreciated.


Solution:1

If you are using LightDM and Unity:

Log in at the tty terminal and run sudo nano /etc/lightdm/lightdm.conf. It should look something like this:

[SeatDefaults]    greeter-session=unity-greeter    user-session=ubuntu    autologin-user=username  

To disable autologin, simply delete the line and save the file. You can also change the user-session to ubuntu-2d, which should resolve the black screen issue.

If you are using GDM and GNOME:

Log in at the tty terminal and run sudo nano /etc/gdm/custom.conf. It should look something like this:

[daemon]  TimedLoginEnable=false  AutomaticLoginEnable=true  TimedLogin=username  AutomaticLogin=username  TimedLoginDelay=30  DefaultSession=gnome  

To disable autologin, change the AutomaticLoginEnable line to false and save the file. You can also change the DefaultSession to gnome-2d, which should resolve the black screen issue.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »