5

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.

karel
  • 122,292
  • 133
  • 301
  • 332

3 Answers3

4

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

hwez
  • 3,026
4

Try this

sudo apt-get install ubuntu-desktop

or

sudo apt-get install --reinstall ubuntu-desktop
4

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.

mchid
  • 44,904
  • 8
  • 102
  • 162