标签:serve tables span etc iptables inpu server rac isp
一、VNC的安装 #yum install tigervnc-server –y #vi /etc/sysconfig/vncservers VNCSERVERS="1:root 2:oracle" VNCSERVERARGS[1]="-geometry 1280x1024" VNCSERVERARGS[2]="-geometry 1280x1024" 二、VNC的启动与关系 Root用户下执行: #vncserver :1 #端口号为5901 #vncserver :2 #端口号为5901 [root@noded ~]# vncserver -list #只能看到自己的 TigerVNC server sessions: X DISPLAY # PROCESS ID :1 2941 :2 2610 Oracle用户下 #vncserver :2 #端口号为5901 [oracle@noded ~]$ vncserver -list TigerVNC server sessions: X DISPLAY # PROCESS ID :4 3336 关闭 [root@noded ~]# vncserver –list TigerVNC server sessions: X DISPLAY # PROCESS ID :1 3781 :2 4120 [root@noded ~]# vncserver -kill :1 Killing Xvnc process ID 2941 [root@noded ~]# vncserver -kill :2 Killing Xvnc process ID 2610 修改密码 #vncpasswd 防火墙设置 # iptables -I INPUT -p tcp --dport 5901 -j ACCEPT
标签:serve tables span etc iptables inpu server rac isp
原文地址:http://www.cnblogs.com/gtms/p/7639639.html