Ubuntu 服务器上安装图形界面

本文详细介绍了如何在Ubuntu Server 20.04上安装图形用户界面(GUI)。首先更新apt包索引并安装tasksel,然后通过tasksel选择安装KDE、LXQt、Budgie、GNOME等桌面环境。接着使用tasksel命令安装选定的GUI,安装过程可能需要一些时间。最后,确保系统重新启动后进入图形化目标,并通过`sudo reboot`重启系统,启动GUI。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

如何在Ubuntu server上面安装GUI 分五个步骤:
GUI Installation on Ubuntu Server 20.04

  1. Update the apt package index and install tasksel.
$ sudo apt update
$ sudo apt install tasksel
  1. List the GUI we have installed and we can install:
$ sudo tasksel --list-tasks

Main available Graphical User Interfaces (GUI) installations using tasksel’s tasks
Task Description
kubuntu-desktop Kubuntu desktop ( KDE Desktop )
lubuntu-desktop Lubuntu Desktop ( LXQt desktop )
ubuntu-budgie-desktop Ubuntu Budgie desktop
ubuntu-desktop Ubuntu desktop ( default GNOME )
ubuntu-desktop-minimal Ubuntu minimal desktop ( default GNOME )
ubuntu-mate-desktop Ubuntu MATE desktop
ubuntustudio-desktop Ubuntu Studio desktop ( Xfce-based desktop )
ubuntustudio-desktop-core Ubuntu Studio minimal DE installation ( Xfce-based desktop )
xubuntu-desktop Xubuntu desktop ( Xfce desktop )

  1. Use tasksel command to install the selected GUI. For example to install the default Ubuntu GNOME desktop execute. This step will install all the files and take some time to finish.
$ sudo tasksel install ubuntu-desktop
  1. Run the following command to make sure our system boots into the graphical target after reboot
$ sudo systemctl set-default graphical.target
  1. Run command sudo reboot to reboot. At this point, the GUI should start.
$sudo reboot

文章来自:Install GUI on Ubuntu 20.04 Quick Guide
https://www.howtouselinux.com/post/install-gui-on-ubuntu-20-04-quick-guide

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值