turbovnc
https://turbovnc.org/Documentation/TOTP
系统配置安装
这里选择 ubuntu 20.04
运行以下命令,更新软件源
apt-get update
运行以下命令,安装桌面环境所需的软件包。
软件包包括系统面板、窗口管理器、文件浏览器、终端等桌面应用程序。
apt install -y gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal ubuntu-desktop
配置VNC
这里我选择的是 TurboVNC
官方安装文档:https://turbovnc.org/Downloads/YUM
这里使用他 推荐的官方安装方式 ,下面四步完成即可
- As root, execute:
wget -q -O- https://packagecloud.io/dcommander/turbovnc/gpgkey | \gpg --dearmor >/etc/apt/trusted.gpg.d/TurboVNC.gpg
- As root, download TurboVNC.list and place it in /etc/apt/sources.list.d.
- As root, execute:
apt update
- Use APT to install a binary package. Examples:
- Install or upgrade to the latest version of TurboVNC:
sudo apt install turbovnc
- List available TurboVNC packages:
apt-cache madison turbovnc
- Install a specific TurboVNC package:
sudo apt install turbovnc=3.0.3-20230227
- Install or upgrade to the latest version of TurboVNC:
下面在自己的电脑上创建 连接就可以了
参考:
https://help.aliyun.com/zh/simple-application-server/use-cases/use-vnc-to-build-guis-on-ubuntu-18-04-and-20-04?spm=a2c4g.11186623.0.i2#21e0b772d7fgc