linux图形远程工具

*、由于项目需要,服务器端是linux操作系统,所以需要以下工具远程到服务器

*、centos图形化界面GNOME
yum -y groupinstall "X Window System" "Desktop"
*、服务器上安装vncserver服务端
yum install tigervnc-server -y(其他插件用到再装也不迟)
*、设置密码
执行vncserver,输入两次密码即可
*、修改配置文件
/etc/vncserver
--第一行:2(第几个终端):linux-username(用户名)
--第二行;调整分辨率和去掉localhost即可
https://blog.csdn.net/silencegll/article/details/51320616
*、确保服务已启动
service vncservice restart
*、然后客户端安装vncviewer即可
可能需要IP端口映射等知识,涉及再说

 

*、解决连接不上问题的方法

1、防火墙开启  不能连接
关闭防火墙    service  iptables  stop
查看防火墙状态   service iptables status
查看进程     ps axf | grep vnc/iptables

 

猜你喜欢

转载自lbovinl.iteye.com/blog/2419947