Loading

vnc-tigervnc-server

带桌面操作系统安装vnc
CentOS Linux release 7.7.1908 (Core)
关闭防火墙,selinux

#tigervnc-server-1.8.0-19.el7.x86_64.rpm
#tigervnc-server-module-1.8.0-19.el7.x86_64.rpm

##
yum  localinstall  tigervnc-server-*

vncserver              #第一次需要设置密码
ps -ef |grep vnc       #查看是否有进程
vncserver  -kill :1    #杀死第一个  开启端口 5901 
vncserver  -kill :2    #第二个      开启端口 5902



####VNC服务使用的端口号与桌面号相关,VNC使用TCP端口从5900开始,对应关系如下
#桌面号为“1”  ---- 端口号为5901
#桌面号为“2”  ---- 端口号为5902
#桌面号为“3”  ---- 端口号为5903
#每执行一次vncserver  就会生成一个窗口

客户端连接
vncviewer Remmina

https://www.cnblogs.com/5201351/p/4227198.html
https://www.cnblogs.com/pipci/p/7833581.html

ubuntu

https://blog.csdn.net/qq_22918577/article/details/71721083
https://blog.csdn.net/yidichaxiang/article/details/100533237
https://blog.csdn.net/lxllinux/article/details/81940396

posted @ 2020-05-23 13:30  Lust4Life  阅读(551)  评论(0编辑  收藏  举报