Centos7使用Tigervnc
安装
yum install tigervnc-server -y
环境准备
# 创建tutu用户
useradd bhlu
echo bhlu123 | passwd --stdin bhlu123
用户配置vnc
# 进入bhlu用户
su - bhlu
# 设置vnc密码
vncpasswd
Password: # bhlu123
Verify: # bhlu123
Would you like to enter a view-only password (y/n)? # n
A view-only password is not used
# 设置vnc配置
vim .vnc/config
# securitytypes=vncauth,tlsvnc
# desktop=sandbox
geometry&