ubuntu容器的远程xface桌面环境搭建

2023-07-11,,

一、container: ubuntu20.04

二、commands:

apt install xfce4 tigervnc-standalone-server  # xface使用gdm3启动器

service dbus start

vncpasswd

vim ~/.vnc/xstartup

#!/bin/sh
xsetroot -solid grey startxfce4 &

vncserver -localhost no :1  # 不需要设置geometry,默认自动;:1表示第一个窗口,其端口号为5901(5900+1)

三、connect

使用tigervnc-viewer连接(官网下载)

ubuntu容器的远程xface桌面环境搭建的相关教程结束。

《ubuntu容器的远程xface桌面环境搭建.doc》

下载本文的Word格式文档,以方便收藏与打印。