Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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.

share|improve this question

3 Answers 3

up vote 2 down vote accepted

Try this

sudo apt-get install ubuntu-desktop


sudo apt-get install --reinstall ubuntu-desktop
share|improve this answer
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 '14 at 8:07
"ubuntu looks wrong" , what exactly do you mean by that ? –  Serg Jul 7 '14 at 8:13
Some of the icons are Xubuntu ones and the exit, minimise and maximise buttons aren't in a circle. Hope that helps –  Dogshead Jul 7 '14 at 21:37
THANKS ALOT!!!!! Everything works and looks fine and I can even customise Unity –  Dogshead Jul 8 '14 at 4:37
^_0 No problem, enjoy. –  Serg Jul 8 '14 at 4:48

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.

share|improve this answer

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|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.