VNCServer卡死处理办法
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
·
通过VNC连接远程Linux服务器,一段时间后,远程界面卡死,不能操作。
解决办法:重启vncserver服务。
通过终端远程ssh到服务器
1) 查看vncserver命令用法:
[root@node1 ~]# vncserver --help
usage: vncserver [:<number>] [-name <desktop-name>] [-depth <depth>]
[-geometry <width>x<height>]
[-pixelformat rgbNNN|bgrNNN]
[-fp <font-path>]
[-cc <visual>]
[-fg]
[-autokill]
<Xvnc-options>...
vncserver -kill <X-display>
vncserver -list
2) 关闭vnc的连接端口(之前我是通过1端口连接的)
[root@node1 ~]# vncserver -kill :1
Killing Xvnc process ID 6516
3) 重新打开VNC连接端口
[root@node1 ~]# vncserver :1
New 'node1:1 (root)' desktop is node1:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/hds17:1.log
4) 重新连接,即可。
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐

所有评论(0)