GNOME Fallback/Classic on Ubuntu 14.04 /12.04 with Autologin

http://www.jakenovak.com/gnome-fallback-on-ubuntu-14-04-with-autologin/

sudo apt-get install gnome-session-fallback -y

And that’s it, if you want to have to select the “GNOME Flashback” mode each time you login. Personally, I think that’s a waste of time.

In previous versions, you would run the lightdm-set-defaults command to reconfigure your default WM, but this no longer works in Trusty Tahr (or, at least it doesn’t at the time of this writing).

Here’s the fix:

Install the lightdm-webkit-greeter package: sudo apt-get install lightdm-webkit-greeter -y.
Open the /etc/lightdm/lightdm-webkit-greeter.conf file in your favorite text editor.
Add the following lines to the end of the file:
[SeatDefaults]
user-session=gnome-fallback

And that’s it. If you want to lock the login screen down to a single user, simply throw a

autologin-user=username and autologin-user-timeout=0

option in the file below the lines we just added. Despite these variables’ names, they do not automatically login a user at boot.

Taking it one step further, we could also set the machine to autologin by going to Applications > System Tools > Administration > User Accounts, selecting a username, and turning the Automatic Login feature to ‘On’.




12.04 How to set GNOME Classic (no effects)

Run the following in a gome-terminal:

sudo apt-get install gnome-session-fallback

If you want GNOME Classic with effects:

sudo /usr/lib/lightdm/lightdm-set-defaults -s gnome-classic

If you want GNOME Classic without effects:

sudo /usr/lib/lightdm/lightdm-set-defaults -s gnome-fallback