0

These days, I installed desktop environment on Ubuntu 18.04 server LTS that is based on Gnome,

Firstly, I use command to install desktop

sudo apt install ubuntu-desktop

when it was finished and reboot, it was strange that machine stops at booting step. Checking the command information, I found that GDM3 cannot be reloaded correctly. So I switch to lightdm and reboot it: problem fixed. The session information will be like: enter image description here

Another way.i use another command to install desktop

sudo apt install ubuntu-unity-desktop

the process of installation is success and smooth with no errors. check the session like it: enter image description here

So, I wonder ask u about the relationship between ubuntu.desktop and unity.desktop, though some answers can be searched but not clearly.

Lorenz Keel
  • 8,905

1 Answers1

3

ubuntu-desktop and ubuntu-unity-desktop are both meta packages to install a graphical desktop environment and its dependencies.

ubuntu-desktop installs the default Desktop of Ubuntu which is Gnome3 since Ubuntu 17.10. From 11.04 to 17.04, the default Desktop was Unity.

Since 17.10 the prior ubuntu-desktop meta-package providing Unity is named ubuntu-unity-desktop, which is as the name says a meta-package providing the Unity Desktop.

Read this to learn about the differences.

pLumo
  • 26,947
  • Thanks for your reply, it may be give me some answer and inspiration in a way. But i wonder know the difference between two commands and also the compatibility between GDM3 and ubuntu.desktop when using command apt install ubuntu-desktop – mingwen zang Jul 09 '19 at 09:54
  • @mingwenzang I don't see those elements in your original question. This seems like an excellent answer to the question that you actually asked. – user535733 Jul 09 '19 at 12:07