Ubuntu Server vs Desktop at a Glance
Ubuntu Server vs Desktop differs in the installer, the default packages, networking, the kernel package and the services that start.
The main figures are for Ubuntu 26.04.1 LTS, the current LTS release, on 64 bit Intel and AMD (amd64). Ubuntu 24.04.5 LTS figures sit alongside because many VPS images still run it. Counts and sizes move with every update, so read them as a snapshot taken on 26 November 2026.
| Point | Ubuntu Server | Ubuntu Desktop |
|---|---|---|
| Interface | Text console, managed over SSH | GNOME desktop with the GDM login screen |
| Installer | Text installer (Subiquity) | Graphical installer in a live session |
| OpenSSH server | Can be selected during install, and listed in the 26.04.1 ISO manifest | Not installed by default, install it separately |
| Default netplan renderer | systemd-networkd | NetworkManager |
| Deb packages in the ISO manifest, 26.04.1 (24.04.5) | 724 (704) | 1,814 (1,823) |
| Snaps in the ISO manifest, 26.04.1 (24.04.5) | 4 (3) | 15 (13) |
| ISO download, 26.04.1 | 2,927,861,760 bytes (2.7 GiB) | 6,482,409,472 bytes (6.0 GiB) |
| ISO download, 24.04.5 | 4,080,486,400 bytes (3.8 GiB) | 6,250,332,160 bytes (5.8 GiB), file 24.04.5.1 |
| Kernel on the ISO, 26.04.1 | 7.0 through linux-image-generic | 7.0 through linux-image-generic-hwe-26.04 |
| Kernel on the ISO, 24.04.5 | GA kernel 6.8 | HWE kernel 7.0 |
| Published RAM figure (26.04.1) | 1.5 GB system memory | 6 GB system memory |
| Free security maintenance (LTS) | 5 years | 5 years |
The networking row is the normal installer default. A provider image or a custom install can be set up differently.
What Is the Same Between Ubuntu Server and Desktop
What is the same between Ubuntu Server and Desktop is the package archive, the apt tools and the release and support dates.
Both editions use one Ubuntu archive. With the same release, architecture and enabled pockets, packages such as nginx, docker.io or postgresql install at the same version on either. Even the two edition metapackages come from one source package, version 1.570.4 on 26.04 and 1.539.2 on 24.04 in this test.
Support length matches too. An LTS release gets 5 years of standard security maintenance, to May 2031 for 26.04 LTS and May 2029 for 24.04 LTS, and Ubuntu Pro can extend it. Because the base is shared, a server can gain a desktop and a desktop can run server software. What differs is what ships and starts by default.
The Ubuntu Server Installer and the Desktop Installer
The Ubuntu Server installer is the text based Subiquity, while the desktop installer is graphical and runs inside a live session.
The two are related. The 26.04.1 server ISO manifest lists a subiquity snap, and the desktop ISO lists ubuntu-desktop-bootstrap, a Flutter interface that drives Subiquity behind the scenes. The screens and the questions differ.
The server installer sets up storage layouts such as LVM and RAID, offers to install the OpenSSH server, and can import your public SSH keys from GitHub or Launchpad. If you import a key, password sign in over SSH is turned off by default. With a network connection it also offers a short list of server snaps.
The desktop installer focuses on accounts, disk choice, extra apps and drivers, and you can try the live session first. It does not install the OpenSSH server, so a desktop reached over the network needs sudo apt install openssh-server afterwards. Our guide to enable SSH on Ubuntu covers that step.
Default Packages in Ubuntu Server and Desktop
The default packages in Ubuntu Server and Desktop differ by about a thousand, and two separate methods show it.
Count the Packages in the ISO Manifests
Counting the packages in each ISO manifest compares what each installation image carries, not a finished install.
Canonical publishes a manifest beside each ISO. Deb packages and snaps are counted separately here.
for m in resolute/ubuntu-26.04.1-live-server-amd64 resolute/ubuntu-26.04.1-desktop-amd64 \
noble/ubuntu-24.04.5-live-server-amd64 noble/ubuntu-24.04.5.1-desktop-amd64; do
f=$(basename $m).manifest
curl -s https://releases.ubuntu.com/$m.manifest -o $f
printf '%s debs %s snaps %s\n' ${f%.manifest} "$(grep -vc '^snap:' $f)" "$(grep -c '^snap:' $f)"
doneubuntu-26.04.1-live-server-amd64 debs 724 snaps 4
ubuntu-26.04.1-desktop-amd64 debs 1814 snaps 15
ubuntu-24.04.5-live-server-amd64 debs 704 snaps 3
ubuntu-24.04.5.1-desktop-amd64 debs 1823 snaps 13An installed system ends up a little different, because the installer adds or removes items such as drivers, language packs and the installer itself. The 15 desktop snaps on 26.04.1 include Firefox, Thunderbird, the App Center, the Security Center and the GNOME runtime. The 4 server snaps are core24, snapd, hwctl and the installer.
Simulate the Metapackages With apt
Simulating the metapackages with apt shows the cost of each edition on top of the same small base.
The method was a fresh minimal 26.04 root built with debootstrap --variant=minbase and fully updated, holding 87 packages. apt was asked to install each metapackage and told to answer no, so it printed the totals and installed nothing.
for p in ubuntu-server ubuntu-desktop-minimal ubuntu-desktop; do
echo "== $p"
apt-get -o APT::Get::Assume-No=true install "$p" 2>&1 | grep -E 'newly installed|Need to get|After this'
done== ubuntu-server
0 upgraded, 408 newly installed, 0 to remove and 0 not upgraded.
Need to get 173 MB of archives.
After this operation, 738 MB of additional disk space will be used.
== ubuntu-desktop-minimal
0 upgraded, 1274 newly installed, 0 to remove and 0 not upgraded.
Need to get 768 MB of archives.
After this operation, 2613 MB of additional disk space will be used.
== ubuntu-desktop
0 upgraded, 1420 newly installed, 0 to remove and 0 not upgraded.
Need to get 953 MB of archives.
After this operation, 3219 MB of additional disk space will be used.These totals include recommended packages, which apt installs by default. Adding --no-install-recommends after Assume-No=true in the same loop gives the last column of the table. The totals leave out the kernel and the snaps, which are fetched separately, so a real desktop install is larger still.
| Metapackage | New packages | Download | Disk added | Without recommends (packages, disk added) |
|---|---|---|---|---|
| ubuntu-server | 408 (402) | 173 MB (147 MB) | 738 MB (657 MB) | 220 packages, 383 MB (220, 357 MB) |
| ubuntu-desktop-minimal | 1,274 (1,272) | 768 MB (676 MB) | 2,613 MB (2,440 MB) | 739 packages, 1,351 MB (728, 1,285 MB) |
| ubuntu-desktop | 1,420 (1,415) | 953 MB (819 MB) | 3,219 MB (2,931 MB) | 740 packages, 1,351 MB (729, 1,285 MB) |
On 26.04, 325 of the 1,420 desktop packages also appear in the server set. The server set brings storage and admin tools the desktop set leaves out, including lvm2, mdadm, multipath-tools, open-iscsi, xfsprogs, btrfs-progs, tmux, needrestart and landscape-common.
Ubuntu Server and Desktop Kernel Packages
Ubuntu Server and Desktop install different kernel packages, though on 26.04.1 both point at the same 7.0 kernel today.
grep -H '^linux-image-generic' *.manifestubuntu-24.04.5.1-desktop-amd64.manifest:linux-image-generic-hwe-24.04 7.0.0-31.31~24.04.1
ubuntu-24.04.5-live-server-amd64.manifest:linux-image-generic 6.8.0-139.139
ubuntu-26.04.1-live-server-amd64.manifest:linux-image-generic 7.0.0-30.30
ubuntu-26.04.1-desktop-amd64.manifest:linux-image-generic-hwe-26.04 7.0.0-30.30The package name is the track. linux-image-generic follows the GA kernel the release launched with. The hwe package follows the hardware enablement (HWE) track, which moves to newer kernels with later point releases. Canonical states that 24.04 Desktop installs track HWE while Server installs default to GA, and on 24.04.5 that meant 6.8 against 7.0.
On 26.04.1 both packages still point at 7.0, so the versions only split when a later point release brings a newer HWE kernel. A different track does not always mean a different version. On a VPS the virtual hardware is simple, so the steadier GA track is usually the better fit, and the 26.04 cloud image ships linux-image-virtual, at 7.0.0-43 on the test day.
To see what a machine runs, use uname -r for the running kernel and dpkg -l 'linux-image-*' for the installed ones. An HWE package carries hwe in its name.
Resource Usage and Background Services
Resource usage and background services are where a desktop costs a VPS the most, since each daemon uses memory and needs patching.
Comparing the two simulated package sets on 26.04 shows which background services only the desktop brings.
apt-get install -s ubuntu-server | awk '/^Inst/{print $2}' | sort > server.list
apt-get install -s ubuntu-desktop | awk '/^Inst/{print $2}' | sort > desktop.list
comm -13 server.list desktop.list | grep -xE 'gdm3|gnome-shell|network-manager|cups-daemon|avahi-daemon|bluez|pipewire|wpasupplicant|xwayland|power-profiles-daemon'avahi-daemon
bluez
cups-daemon
gdm3
gnome-shell
network-manager
pipewire
power-profiles-daemon
wpasupplicant
xwaylandThat is a login screen and display stack, printing, local network discovery, Bluetooth, audio, Wi-Fi and laptop power profiles. None of it helps a headless VPS. Each running daemon is more code to patch, and network facing ones such as avahi-daemon add exposure if the firewall is open.
Networking differs as well. netplan uses systemd-networkd as its default renderer, which is what a server runs. The desktop adds NetworkManager, so adding a full desktop to a server can bring a second network tool, and you should check which one owns each interface before you reboot.
One common claim is wrong. With ubuntu-server installed on 26.04 and on 24.04, systemctl get-default printed graphical.target, which is the systemd default link. A server stays text only because no display manager is installed, not because its target differs.
Canonical Footprint Figures
Canonical footprint figures give the floor for each edition, and they are minimums, not sizes for a busy machine.
The 26.04.1 figures come from the Ubuntu Server download listing and the desktop download listing. The cloud image and suggested figures are stated for 24.04 LTS in the server docs.
| Edition | RAM | Storage | Applies to |
|---|---|---|---|
| Ubuntu Server, ISO install | 1.5 GB | 5 GB free | Server download listing for 26.04.1 and 26.10, and the 24.04 LTS docs |
| Ubuntu Server, cloud image | 1 GB minimum | 4 GB minimum | Stated for 24.04 LTS |
| Ubuntu Server, suggested | 3 GB or more | 25 GB or more | Stated for 24.04 LTS |
| Ubuntu Desktop | 6 GB | 25 GB free | System requirements for 26.04.1 and 26.10, with a 2 GHz dual core CPU |
Disk is only part of the cost. A graphical session also needs memory for the display server, the desktop shell and every app you open. Idle memory was not measured here, because it depends on the hypervisor, the kernel and the workload. On a VPS, reserve memory for the database or web stack first and give a GUI only what is left.
Ubuntu Server vs Desktop for a VPS
Ubuntu Server vs Desktop for a VPS is an easy call, Server for nearly every hosting job and a light desktop only when a task needs one.
| Your workload | Pick | Why |
|---|---|---|
| Websites, WordPress, APIs | Server | Everything is managed over SSH and a web panel if you want one |
| Docker, databases, game servers, VPN | Server | Memory goes to the workload instead of a desktop |
| A small plan with 1 to 2 GB of RAM | Server | Below the 6 GB Canonical lists for Desktop |
| A Linux GUI app or browser that must stay running | Server plus a light desktop and xrdp | Adds a screen without the full GNOME stack |
| A remote Linux workstation for daily work | Server plus a desktop, or Desktop on a large plan | Needs RAM for the browser and apps as well |
| A Windows only app such as some trading terminals | Neither | A Windows VPS fits better than a Linux desktop |
A provider web console is not a graphical desktop. It normally shows the text terminal of the server, and it works with no desktop installed. You only need a desktop and remote desktop software to use graphical Linux apps.
If you are choosing a plan, Ubuntu VPS hosting on KVM gives you root access to an Ubuntu Server image, so you can add a desktop later if a job calls for one.
When a GUI on a Server Is Worth It
A GUI on a server is worth it when a program has no command line or web interface and has to keep running after you disconnect.
Typical cases are a Linux GUI app, a browser for an automation task, or a remote desktop for development. If the job runs from a terminal or a web page, skip the GUI, because it adds memory use, updates and network services that bring nothing.
The weight depends on which desktop you add. These totals were measured on top of a 26.04 root with ubuntu-server and openssh-server installed.
| What you add | New packages | Download | Disk added |
|---|---|---|---|
| ubuntu-desktop | 1,095 | 819 MB | 2,738 MB |
| ubuntu-desktop-minimal | 951 | 635 MB | 2,131 MB |
| ubuntu-desktop-minimal without recommends | 525 | 335 MB | 1,076 MB |
| xfce4 with xorgxrdp, xrdp and dbus-x11, without recommends | 175 | 95.0 MB | 383 MB |
The Xfce route is about a seventh of the full desktop on disk and comes with xrdp, so you can connect from a normal Remote Desktop client.
Add a Light Desktop With xrdp
To add a light desktop with xrdp, take a snapshot or backup of the VPS first, then install the packages without recommends.
These steps apply to Ubuntu Server 26.04 LTS and 24.04 LTS with sudo access. The install and the rollback below ran for real in a 26.04 root, with xrdp 0.10.1 and Xfce 4.20.1. A live remote desktop session was not tested here.
dpkg-query -W -f='${db:Status-Abbrev}\n' | grep -c '^ii'
sudo apt-get install --no-install-recommends xfce4 xorgxrdp xrdp dbus-x11
dpkg-query -W -f='${db:Status-Abbrev}\n' | grep -c '^ii'
systemctl is-enabled xrdp501
676
enabledThe counts are installed packages before and after, and enabled means xrdp will start at boot. On a running server, systemctl is-active xrdp should print active. That proves the service runs, not that a session opens, so sign in once with a Remote Desktop client. Our Linux RDP client guide covers the connection side.
Keep the Remote Desktop Port Private
Keep the remote desktop port private, because xrdp listens on TCP 3389 and an open port invites password guessing.
Block direct inbound access to TCP 3389 in the host firewall and in any provider firewall. With ufw, check the policy and every allow rule, since an older rule can still open the port.
sudo ufw status verbose
sudo ss -tlnp 'sport = :3389'If ufw is active, the first command should show Status: active, a default incoming policy of deny or reject, and no rule that allows 3389. If ufw is inactive it enforces nothing, so set it up with the commands below. The second command shows what listens on 3389 over IPv4 and IPv6. A listener there is expected, because the firewall is what keeps it private.
Set the default incoming policy to deny, allow your SSH port, and only then enable ufw.
sudo ufw default deny incoming
sudo ufw allow OpenSSH
sudo ufw enable
sudo ufw status verboseIf SSH runs on a custom port, allow that port instead of OpenSSH, or you can lock yourself out. Check the provider firewall too. These firewall commands follow the ufw documentation and were not run in the test roots.
Then connect through an SSH tunnel, for example ssh -L 13389:localhost:3389 user@203.0.113.10, and point the Remote Desktop client at localhost:13389. The address is a documentation example, so use your own. The tunnel gives an encrypted route in but does not close the public port, which is the firewall job. Keep SSH itself protected with keys and updates.
Remove the GUI Again
To remove the GUI again, purge the packages you added and let apt remove the dependencies it pulled in.
sudo apt-get purge xfce4 xorgxrdp xrdp dbus-x11
sudo apt-get autoremove --purge
dpkg-query -W -f='${db:Status-Abbrev}\n' | grep -c '^ii'
dpkg-query -W -f='${db:Status-Abbrev}\n' | grep -c '^rc'501
0The count went back to 501 with no leftover configuration packages. The same test on 24.04 went from 499 to 665 and back to 499. It worked cleanly because nothing else was installed in between. On a busy server autoremove can catch packages you meant to keep, so read its list before you confirm.
Turn Ubuntu Desktop Into a Server
You can turn Ubuntu Desktop into a server by installing the server software you need and the OpenSSH server.
Installing ubuntu-server or removing ubuntu-desktop does not give you a clean server, because the desktop packages and their dependencies stay. For a lean production server, reinstalling from the Server ISO or a provider cloud image is the cleaner path, and a snapshot is the surer way back from any big change.
How to Check Which Ubuntu Edition You Have
To check which Ubuntu edition you have, ask dpkg which of the edition metapackages is installed.
dpkg-query -W -f='${Package} ${db:Status-Abbrev}\n' ubuntu-server ubuntu-desktop ubuntu-desktop-minimaldpkg-query: no packages found matching ubuntu-desktop
dpkg-query: no packages found matching ubuntu-desktop-minimal
ubuntu-server iiii means installed. Here only ubuntu-server is present, so this is a server system. A desktop install shows ubuntu-desktop or ubuntu-desktop-minimal instead, and a machine with both had a desktop added later. cat /etc/os-release gives the release, which is the same for both editions. Keeping up with new releases is covered in how to upgrade Ubuntu Server.
Ubuntu Server vs Desktop Troubleshooting
Ubuntu Server vs Desktop troubleshooting usually comes down to a missing package, a firewall or a service that is not running.
| What you see | Likely cause | Fix |
|---|---|---|
| No desktop after installing Server | Expected, Server ships without a GUI | Add a light desktop as shown above, or keep it headless |
| SSH refused on a new install | OpenSSH was not selected, or this is Desktop | Run sudo apt-get install openssh-server from the console |
| SSH times out with OpenSSH installed | A host or provider firewall blocks the port, or SSH listens elsewhere | Check systemctl status ssh, sudo ss -tlnp and both firewalls |
| xrdp connects then shows a black screen | No session set for the user | Run echo xfce4-session > ~/.xsession as that user and reconnect |
| VPS slows down after adding GNOME | The desktop uses RAM the workload needs | Switch to Xfce, add RAM, or remove the GUI |
| Network settings change after adding a desktop | NetworkManager and systemd-networkd both present | Check the netplan renderer and networkctl before rebooting |
Questions people ask
What is the difference between Ubuntu Server and Ubuntu Desktop?
Server has a text installer, no GUI and storage and SSH tools. Desktop adds GNOME, apps and about a thousand more packages.
Is Ubuntu Server faster than Ubuntu Desktop?
Server leaves more RAM and disk for your workload because it runs fewer services. The same app performs much the same on either.
Can I install a GUI on Ubuntu Server?
Yes. Xfce with xrdp added 175 packages and 383 MB in our 26.04 test. Take a snapshot first and keep port 3389 firewalled.
Can I use Ubuntu Desktop as a server?
It works, since the packages are the same, but it starts desktop services and needs more RAM. Server is the better base.
Does Ubuntu Server use a different kernel?
It uses a different kernel package. On 24.04.5 that meant 6.8 against 7.0. On 26.04.1 both packages point at 7.0 today.
How much RAM does Ubuntu Server need?
Canonical lists 1.5 GB for a Server ISO install. Its 24.04 LTS docs list 1 GB for a cloud image and suggest 3 GB or more.
Can Ubuntu Desktop run on a 2 GB RAM VPS?
A 2 GB VPS is below the 6 GB of RAM Canonical lists for Ubuntu Desktop. For occasional GUI use, Server with Xfce and xrdp is far lighter.
Which Ubuntu should I install on a VPS?
Ubuntu Server LTS in most cases. Many providers deploy it as a ready image, so you sign in over SSH right away.
Sources
- Ubuntu releases, 26.04 LTS ISO images and manifests
- Ubuntu releases, 24.04 LTS ISO images and manifests
- Ubuntu cloud images, 26.04 current builds
- Ubuntu Server documentation, System requirements
- Ubuntu, Download Ubuntu Desktop
- Ubuntu, Kernel release cycle and HWE
- Ubuntu, Release cycle
- Ubuntu installer documentation, Screen by screen
- Netplan documentation, YAML configuration and renderers