Linux上VNC 启动和关闭

 

# 查看vnc进程
ps -ef|grep vnc root 45557 1 4 13:17 pts/0 00:00:00 /usr/bin/Xvnc :1 -auth /root/.Xauthority -desktop LENOVO-LA0X1631:1 (root)
-fp catalogue:/etc/X11/fontpath.d -geometry 1024x768 -pn -rfbauth /root/.vnc/passwd -rfbport 5901 -rfbwait 30000 root 45578 1 0 13:17 pts/0 00:00:00 /bin/sh /root/.vnc/xstartup root 46318 41230 0 13:17 pts/0 00:00:00 grep --color=auto vnc # 关闭vnc $ vncserver -kill :1 # 启动vnc vncserver :1
# 重置密码
$ vncpasswd

 参考:https://www.cnblogs.com/js1314/p/11149532.html

posted on 2020-12-07 13:24  蜗牛也是妞  阅读(1463)  评论(0编辑  收藏  举报