Setting Ubuntu Default Desktop (Session)

Testing to see if this works. Sometimes installing Ubuntu in a PC without 3D capable video hardware results in a non-bootable system: rather it boots but you can’t see anything, and since the default configuration is that OpenSSH-server is not installed, you can’t shell into it either. You can’t even use CTRL-ALT-F2 to change TTYs — nothing shows on the screen.

Useful link

How to set the default session (Desktop) in Ubuntu 12.04 LTS. This interests me because I make USB boot sticks for a nearby daycare so that they can easily use EdUbuntu games with their children. The sticks are set to automatically log in and so there is no method of setting the default desktop (normally done on the login screen). Our thanks, and a tip of the hat to Tejas Barot for a helpful post May 17, 2012 on

Today I am going to share one more how to which will helps you to change Default Login Session or We can Say Default Desktop Environment.

In Ubuntu 12.04 LTS Precise Pangolin, It is very easy to change Desktop Environment, Just One Command and Done.

To Change Default User Login Session please follow the procedure and Your Default Login Session will change Permanently.


I am showing the way to change user session for Below Most Popular Environments :-

1. Gnome Classic

2. Gnome Classic ( No Effects )

3. Ubuntu ( Unity )

4. Ubuntu 2D ( Unity )


1. You need to be root or sudo user which has rights to execute “lightdm-set-defaults” command.
Sudo enabled Users can execute following command with sudo at starting of command.

==> To Set User Session to Gnome Classic, Please Execute Following Command  :-

root@tejas-barot-ahmedabad-linux:~# /usr/lib/lightdm/lightdm-set-defaults -s gnome-classic
root@tejas-barot-ahmedabad-linux:~#/etc/init.d/lightdm restart

Comments are closed