How to restore the Unity login screen after installing Xubuntu desktop in Ubuntu 14.04

27,420

Solution 1

Try this

sudo apt-get install ubuntu-desktop

or

sudo apt-get install --reinstall ubuntu-desktop

Solution 2

Uninstalling the entire Ubuntu desktop and reinstalling might fix the problem and it might not. Whatever the process is long and can be messy. Here's a simple way to switch back to the default Ubuntu desktop after installing Xubuntu, Kubuntu, Ubuntustudio, or any other desktop that also uses lightdm.

Open a terminal and execute the following commands:

echo '[SeatDefaults]' | sudo tee /etc/lightdm/lightdm.conf.d/50-unity-greeter.conf
echo 'greeter-session=unity-greeter' | sudo tee -a /etc/lightdm/lightdm.conf.d/50-unity-greeter.conf
sudo chmod +x /etc/lightdm/lightdm.conf.d/50-unity-greeter.conf

Reboot or restart lightdm for the changes to take effect. For an explanation of why this works click here.

Solution 3

re install lightdm in the login form type alt+ctrl+f1

$ sudo service lightdm stop
$ sudo apt-get remove lightdm
$ sudo apt-get update && sudo apt-get install lightdm
$ sudo service lightdm start 
$ sudo service lightdm restart

the alt+ctrl+f7

Share:
27,420
Dogshead
Author by

Dogshead

Updated on September 18, 2022

Comments

  • Dogshead
    Dogshead over 1 year

    I have just installed an Xubuntu desktop on my Ubuntu Unity 14.04 system using this command:

    sudo apt-get install xubuntu-desktop gksu leafpad synaptic
    

    from this site:

    After logging out and logging into an "Xubuntu session" and running this command:

    sudo apt-get remove nautilus gnome-power-manager gnome-screensaver gnome-termina* gnome-pane* gnome-applet* gnome-bluetooth gnome-desktop* gnome-sessio* gnome-user* gnome-shell-common compiz compiz* unity unity* hud zeitgeist zeitgeist* python-zeitgeist libzeitgeist* activity-log-manager-common gnome-control-center gnome-screenshot overlay-scrollba* && sudo apt-get install xubuntu-community-wallpapers && sudo apt-get autoremove
    

    and when restarting I come to a Xubuntu login window, and when I click on the little Xubuntu icon at the top righthand corner I can only run an "Xfce session" or an "Xubuntu session".

    Any help will be greatly appreciated.

  • Dogshead
    Dogshead almost 10 years
    Thanks that is what I've done, logged out.(from terminal because the clicky thing didn't work) Logged into an "Ubuntu session" And now... Ubuntu looks wrong??? Any ideas.
  • Sergiy Kolodyazhnyy
    Sergiy Kolodyazhnyy almost 10 years
    "ubuntu looks wrong" , what exactly do you mean by that ?
  • Dogshead
    Dogshead almost 10 years
    Some of the icons are Xubuntu ones and the exit, minimise and maximise buttons aren't in a circle. Hope that helps
  • Sergiy Kolodyazhnyy
    Sergiy Kolodyazhnyy almost 10 years
    Install unity tweak tool through Ubuntu software center or 'sudo apt-get intall unity-tweak-tool'. In the main menu there will be four fields - unity , window manager, appearance, and system. Under appearance there is Icons menu. Click on that and there should be available list of icons from bunch of themes. Basically, with this tool you can have one theme, but use another set of icons. Just look through those, which one suits you best. Let me know if that helps.
  • Dogshead
    Dogshead almost 10 years
    Will do I'll get back to you soon!
  • Dogshead
    Dogshead almost 10 years
    THANKS ALOT!!!!! Everything works and looks fine and I can even customise Unity
  • Sergiy Kolodyazhnyy
    Sergiy Kolodyazhnyy almost 10 years
    ^_0 No problem, enjoy.
  • localhost
    localhost over 7 years
    Thank you! Using 16.04 here. lightdm was broken after I installed kubuntu-desktop. No launcher and no dash. This is the only thing that fixed it after checking a zillion pages and pulling my hair out for hours!! I did have to reboot as well but this is what fixed it.
  • seeam khan
    seeam khan almost 7 years
    Worked perfectly for Ubuntu 16.04. Thanks!!