VNCで繋いだ環境の中で何やら暴走して固まってしまったので対処方法を
sshでサーバに直接接続し、
PS AX | grep vnc
で自分の使っているvncコネクションを探す。
26096 ? Sl 12:57 /usr/bin/Xvnc :1 -desktop hogehoge.hagehage.jp:1 (kuro)-httpd /usr/share/vnc/classes -auth /home/kuro/.Xauthority -geometry 1024x768 -rfbwait 30000 -rfbauth /home/kuro/.vnc/passwd -rfbport 5901 -fp catalogue:/etc/X11/fontpath.d -pn
こんな感じ。
で、
$ vncserver -kill :1 Killing Xvnc process ID 26096 Xvnc seems to be deadlocked. Kill the process manually and then re-run /usr/bin/vncserver -kill :1 to clean up the socket files.
こんな感じで接続を切る。
あたらしく接続を確保するには
$ vncserver :9 -geometry 1280x1024 -depth 24
こんな感じに