一、安装配置
1、 sudo apt install tigervnc-standalone-server
2、 sudo apt install xfce4 #注意安装过程中会跳出一个图形界面,让选择,选择light的
3、 vim ~/.vnc/xstartup
复制以下内容:
#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &
4、 chmod 777 ~/.vnc/xstartup
二、启动
server端:
首次启动: vncserver
出现一下内容:
You will require a password to access your desktops.
Password:
Verify:
Would you like to enter a view-only password (y/n)? n #这里填写n
启动:vncserver :5 -localhost no
关闭:vncserver -kill :5
查看列表:vncserver -list
client端:安装vnc viewer ip:5905
标签:vnc,启动,sudo,apt,vncserver,安装 From: https://www.cnblogs.com/to-here/p/17198280.html