1.服务端安装好桌面环境

2.安装tigervnc server

yum -y install tigervnc-server tigervnc

3.修改配置文件

cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service

vim编辑,这里写你linux用户名

tigervnc安装

 

4.设置远程密码

vncpasswd

tigervnc安装

5.启动vnc服务

systemctl start vncserver@:1.service

6.查看监听端口,确认是否启动

netstat -anput

如下图监听5901端口

tigervnc安装

7.客户端远程

tigervnc安装

8.关闭服务

vncserver -kill :1

或者systemctl start vncserver@:1.service

 

相关文章:

  • 2021-09-13
  • 2022-12-23
  • 2021-06-26
  • 2021-04-20
  • 2021-10-08
  • 2021-10-12
  • 2021-06-11
猜你喜欢
  • 2021-09-10
  • 2021-04-12
  • 2021-05-24
  • 2021-06-21
  • 2022-12-23
  • 2021-07-22
  • 2021-10-07
相关资源
相似解决方案