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.

3 Answers 3


Try this

sudo apt-get install ubuntu-desktop


sudo apt-get install --reinstall ubuntu-desktop
  • 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.
    – Dogshead
    Jul 7, 2014 at 8:07
  • "ubuntu looks wrong" , what exactly do you mean by that ? Jul 7, 2014 at 8:13
  • 1
    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. Jul 7, 2014 at 21:58
  • 1
    THANKS ALOT!!!!! Everything works and looks fine and I can even customise Unity
    – Dogshead
    Jul 8, 2014 at 4:37
  • 1
    ^_0 No problem, enjoy. Jul 8, 2014 at 4:48

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

  • 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.
    – localhost
    Oct 7, 2016 at 15:24

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.

  • Worked perfectly for Ubuntu 16.04. Thanks!!
    – seeam khan
    Jun 22, 2017 at 4:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .