Home Linux 安装桌面环境配置远程连接
Post
Cancel

Linux 安装桌面环境配置远程连接

安装桌面环境

Ubuntu 为例,桌面环境为 xfce4

1
2
3
sudo apt update
sudo DEBIAN_FRONTEND=noninteractive apt install xfce4
sudo apt install xfce4-session

安装配置远程工具

1
2
3
sudo apt install xrdp
sudo systemctl enable xrdp
echo xfce4-session > ~/.xsession

如果是 Ubuntu 20,需要允许 xrdp 访问证书

1
sudo adduser xrdp ssl-cert

重启 xrdp 服务

1
sudo systemctl restart xrdp

如果用户没有设置密码,需要先设置密码

1
sudo passwd ubuntu
This post is licensed under CC BY 4.0 by the author.