Ubuntu Server LTS 20.04 安装桌面

lcy6天前技术文章10

Ubuntu server版安装后没有图形界面,为了管理方便,安装完成后,即可安装界面和远程桌面工具。

1、更新源nano /etc/apt/sources.list在sources.list中加入以下代码:

# 清华源# 注释源码镜像以提高更新速度
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multivers
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse

然后在命令行运行以下命令更新apt-get updateapt-get upgrade

2、安装桌面apt-get install -y ubuntu-desktop

3、安装xrdpapt-get install -y xrdp安装完成后,即可使用Windows远程桌面工具登录Ubuntu。


相关文章

卸载VirtualBox 提示 virtualbox interface

如果您在卸载 VirtualBox 时遇到 "virtualbox interface" 的提示,可以按照以下步骤进行操作:1.  打开命令提示符(以管理员身份运行)。2...

Ubuntu更新源切换为香港中文大学

1、更新源nano /etc/apt/sources.list在sources.list中加入以下代码:deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu...

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。