Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have both Ubuntu 12.04 LTS server and desktop editions installed in office. How do I know if the installed ubuntu was server or desktop edition (forget GUI as all are CLI).

Uname -a and lsb-release or os-release just don't help you identify it.

I have seen a post on this forum but its 3 years old which tell you to identify from kernel but as far as I remember, from 12.04 edition onwards ubuntu used same kernel for both desktop and server editions so whats left to identify.

share|improve this question
You could try to get it out by looking what processes are running on the machine. On the Server there will be some Server Processes like Apache, Mailserver or Fileserver running. This Processes you normally wouldn't find within a Desktop Computer. Maybe also a look at the installed Packages will Help. Try this command to get the List cat /var/log/dpkg.log | grep " install " maybe you also need to look inside the older dpkg logs dpkg.log.1 or much older dpkg.log.2.gz – konqui Mar 14 '14 at 10:28
up vote 3 down vote accepted

It does not matter, there is no difference in kernels any more.

The only differences is the installer and the default packages. Once installed you can have exactly the same OS configured, no matter if you start from the server or desktop installer.

What's the difference between desktop and server?

The first difference is in the CD contents. The "Server" CD avoids including what Ubuntu considers desktop packages (packages like X, Gnome or KDE), but does include server related packages (Apache2, Bind9 and so on). Using a Desktop CD with a minimal installation and installing, for example, apache2 from the network, one can obtain the exact same result that can be obtained by inserting the Server CD and installing apache2 from the CD-ROM. The Ubuntu Server Edition installation process is slightly different from the Desktop Edition. Since by default Ubuntu Server doesn't have a GUI, the process is menu driven, very similar to the Alternate CD installation process.

Before 12.04, Ubuntu server installs a server-optimized kernel by default. Since 12.04, there is no difference in kernel between Ubuntu Desktop and Ubuntu Server since linux-image-server is merged into linux-image-generic.

For Ubuntu LTS releases before 12.04, the Ubuntu Desktop Edition only receives 3 years of support. This was increased to 5 years in Ubuntu LTS 12.04 In contrast, all Ubuntu LTS Server Edition releases are supported for 5 years.

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.