找回密码
 注册

QQ登录

只需一步,快速开始

BCM 门户 IT世界 系统管理 查看内容

Add a GUI (X desktop) to Ubuntu 24.04 Server

2025-8-12 00:00| 发布者: 瀚文| 查看: 12| 评论: 0|原作者: Web |来自: QuickHost UK

摘要: Have a Ubuntu Server 24.04 and want to use it like a desktop PC, you need to install a graphical user interface (GUI) .
 If you’ve just spun up a Ubuntu Server 24.04 and want to use it like a desktop PC, you can install a graphical user interface (GUI) and connect remotely.

Before you begin

  • You’ll need a running Ubuntu Server 24.04.
  • Ensure you’re logged in via SSH as the root user or a user with sudo privileges.
  • For the best experience, we recommend at least 1GB RAM for a lightweight desktop, or 2GB+ for heavier environments.

Step 1 – Update your server

Always start by updating your packages:

sudo apt update && sudo apt upgrade -y

Step 2 – Choose your Desktop Environment

There are several desktop environments available.

Here are the most popular for Ubuntu:

  • GNOME (default Ubuntu desktop) – full-featured but heavier
  • XFCE (Xubuntu desktop) – lightweight and fast
  • MATE – lightweight, traditional layout

Option 1 – Install GNOME Desktop

sudo apt install ubuntu-desktop -y

Option 2 – Install XFCE Desktop

sudo apt install xubuntu-desktop -y

Option 3 – Install MATE Desktop

sudo apt install ubuntu-mate-desktop -y

XFCE is best for smaller VPS plans, as it uses fewer resources.

Step 3 – Install a Remote Desktop Service

To connect to your Ubuntu server desktop, you’ll need an RDP-compatible server.

We’ll use xRDP:

sudo apt install xrdp -y
sudo systemctl enable xrdp
sudo systemctl start xrdp

Step 4 – Allow RDP through the Firewall

If you have UFW enabled:

sudo ufw allow 3389/tcp

Step 5 – Connect to your Ubuntu Desktop

  1. Open Remote Desktop Connection on Windows (or Remmina on Linux, Microsoft Remote Desktop on macOS).
  2. Enter your Ubuntu server IP address.
  3. Use your Ubuntu username and password to log in.

Step 6 – (Optional) Improve Performance

For low-spec server:

  • Choose a lightweight desktop (XFCE or MATE)
  • Lower display resolution in your RDP client
  • Disable desktop animations

That’s It!

You now have a fully working desktop environment on your Ubuntu Server 24.04.
Perfect for learning Linux, running GUI apps, or just exploring a new operating system – all from the cloud.


鲜花

握手

雷人

路过

鸡蛋

相关阅读

最新评论

手机版|小黑屋|BC Morning Website ( Best Deal Inc. 001 )

GMT-8, 2026-4-10 00:48 , Processed in 0.013553 second(s), 18 queries .

Supported by Weloment Group X3.5

© 2008-2026 Best Deal Online

返回顶部