Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto
Linux

Ubuntu Server vs Desktop: what actually differs

Ubuntu Server vs Desktop explained: one archive, different installers, kernels, networking and defaults, how to tell which you run and how to switch.

CloudSat teamNovember 18, 20266 min read
A plain server block and a glowing desktop monitor standing side by side on the same orange base plate
On this pageSame distribution, two starting points

Ubuntu Server and Ubuntu Desktop are not two operating systems. They install from the same package archive, follow the same release calendar and receive the same security updates. What differs is the starting point: the installer, the packages chosen for you, the kernel track, the network stack and a handful of defaults. Every one of those can be changed later with apt, which is why the useful question is not which edition is better but which starting point leaves you less to undo.

Same distribution, two starting points

Both editions share the long-term support schedule. Ubuntu 26.04 LTS arrived in April 2026 and 24.04 LTS is still widely deployed; each gets five years of standard security maintenance, up to ten with Ubuntu Pro and up to fifteen with the Legacy add-on. Updates come from the same repositories, so a security fix for OpenSSL or the kernel reaches a server and a laptop on the same day.

The edition is mostly a matter of metapackages. ubuntu-server (or ubuntu-server-minimal) pulls in tools for headless machines, while ubuntu-desktop and the smaller ubuntu-desktop-minimal pull in GNOME, a display manager, audio, printing and desktop applications. Install the other metapackage and the machine gains the other edition's software.

What differs out of the box

Ubuntu Server Ubuntu Desktop
Installer Text-based, works over a serial or remote console Graphical
Unattended installs Autoinstall YAML Autoinstall YAML
Interface Shell only GNOME on Wayland
Network stack Netplan rendering to systemd-networkd Netplan handing off to NetworkManager
Kernel track Release kernel by default, newer HWE kernels as an option HWE kernel by default, newer with each point release
Remote access OpenSSH server offered during install No SSH server until you add one
Typical memory floor 1.5 GB for an ISO install, 1 GB for cloud images 6 GB listed for 26.04
Disk floor 5 GB for an ISO install, 25 GB suggested 25 GB
Cloud and VPS images Yes, built from the server edition Not offered

The memory figures come from Ubuntu's own documentation: the server numbers are published for 24.04, the desktop figure on the 26.04 download page. They are floors, not targets. A server with a database or a few containers wants several gigabytes, and a GNOME desktop with a browser open uses much of its 6 GB.

The kernel line is the difference people notice last. A desktop follows the hardware enablement (HWE) track, moving to a newer kernel with later point releases so recent laptops and graphics cards keep working. A server stays on the kernel the release shipped with unless you opt in, which keeps a production machine on a single, well-tested kernel line for years. On 24.04, sudo apt install --install-recommends linux-generic-hwe-24.04 moves a server to the HWE track.

Which one am I running?

/etc/os-release and lsb_release -a print the same text on both editions, so they cannot tell you. Check the metapackages and the display manager instead:

dpkg-query -W -f='${Package} ${Status}\n' ubuntu-server ubuntu-server-minimal \
  ubuntu-desktop ubuntu-desktop-minimal 2>/dev/null
systemctl is-active display-manager      # "active" on a desktop with a login screen
ls /usr/share/wayland-sessions /usr/share/xsessions 2>/dev/null
cat /proc/cmdline; uname -r              # kernel in use, for the GA or HWE question

A line ending in install ok installed names the edition. Minimal server images, common in clouds and containers, leave out documentation, editors and other interactive tools to save space and updates; the unminimize command puts them back when a machine turns out to need them. A machine can carry both metapackages, which usually means someone added a desktop to a server. Session files under /usr/share/wayland-sessions or xsessions mean a graphical login is available.

Turning one into the other

Adding a desktop to a server

On hardware with a monitor, sudo apt install ubuntu-desktop-minimal installs GNOME and the login screen. If the next boot still lands on a text console, run sudo systemctl set-default graphical.target. On a VPS, a full GNOME session is the wrong tool: it expects a GPU and a local screen, and it feels heavy over remote protocols. A light desktop served by xrdp works better:

sudo apt install xfce4 xrdp
sudo adduser xrdp ssl-cert               # lets xrdp read its TLS key
echo xfce4-session > ~/.xsession          # as the user who will log in
sudo systemctl restart xrdp
sudo ufw allow from 198.51.100.7 to any port 3389 proto tcp

Replace the address with your own, and never leave port 3389 open to the whole internet. CloudSat's Ubuntu images start without a graphical desktop, as a server should, and the Linux desktop over RDP page shows the ready-made options when you want one.

Making a desktop behave like a server

To keep the packages but boot without the graphical login, switch the default target:

sudo systemctl set-default multi-user.target
sudo reboot

sudo systemctl set-default graphical.target reverses it. Removing the desktop entirely is possible, but purging ubuntu-desktop and running apt autoremove touches hundreds of packages and can take things you want with it. For a machine that will spend years as a production server, a fresh server install is cleaner and quicker.

Security defaults compared

  • Updates. Both editions install security updates automatically through unattended-upgrades.
  • Firewall. Both ship ufw inactive. On a server, allow SSH before you enable it.
  • SSH. The server installer offers OpenSSH, and cloud images rely on it with key-based login. The desktop has no SSH server until you install openssh-server, which is one less exposed service on a laptop.
  • Attack surface. Every package is something to patch. A server without a browser, a media stack and a display server has far fewer of them, which is the strongest reason to keep production machines headless.

How to choose

  • A VPS or a machine in a rack: Server, or the provider's cloud image built from it. Add a light desktop only for a specific remote-desktop job.
  • A home lab box you also sit in front of: Desktop works, but consider Server plus a web interface such as Cockpit, which keeps memory for the workloads.
  • A developer workstation: Desktop, with the HWE kernel for new hardware.
  • A Raspberry Pi or another small board: Ubuntu publishes both editions for the Pi; Server leaves more of the board's limited memory for the services it is there to run.
  • Anything you will automate: both editions accept autoinstall files, so standardize on one configuration and keep it in version control.

FAQ

Is Ubuntu Server faster than Ubuntu Desktop?

On the same hardware, the kernel and the software you run perform the same. The server simply leaves more memory and CPU time for your workload, because it does not run a desktop, a compositor and their background services.

Do both editions get updates for the same length of time?

Yes. An LTS release gets the same five years of standard security maintenance in both editions, with the same Ubuntu Pro and Legacy extensions.

Do both editions use snaps?

Yes. snapd is installed on both. On the desktop, Firefox and the App Center are snaps, while the server installer offers a list of featured server snaps that you can skip. On a server that never uses snaps, removing snapd is a supported choice; the Debian or Ubuntu comparison covers how.

Can I run Ubuntu Desktop on a VPS?

It installs, but cloud servers have no GPU, so GNOME renders on the CPU and feels slow over a remote session. A light desktop such as Xfce with xrdp gives a better result for the same memory.

Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.