1. 程式人生 > >檢視VNC服務連線狀態的說明

檢視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