查看VNC服务连接状态的说明

输入netstat -lp|grep -i vnc可查看VNC服务的连接状态。

#netstat -lp|grep -i vnc
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 *:5901                      *:*                         LISTEN      5307/Xvnc           
tcp        0      0 *:6001                      *:*                         LISTEN      5307/Xvnc           
tcp        0      0 *:6001                      *:*                         LISTEN      5307/Xvnc           
unix  2      [ ACC ]     STREAM     LISTENING     71927  5307/Xvnc           @/tmp/.X11-unix/X1
unix  2      [ ACC ]     STREAM     LISTENING     71928  5307/Xvnc           /tmp/.X11-unix/X1





你可能感兴趣的:(查看VNC服务连接状态的说明)