Tips for VNCServershell
After the ClearCase server reboot by Jingwei, my vncserver background process is also being shutdown. then I use vncserver
cmd to create a new connection to wait VNCView connect again. but always report the following log:spa
xauth: error in locking authority file /home/xr/wangliang1/.Xauthority
xauth: error in locking authority file /home/xr/wangliang1/.Xauthorityserver
evenip
su to root to rm .vnc
rm -fr /home/xr/wangliang1/.vnc
no work!!!rem
after check many times, found the reason is what i did all in the situation of enter a clearcase view, so even you change to root,
you have no rights to remove .vnc dir, so exit to the top shell then do as follow:cmd
exit;
exit;
...
cd ~
l.
rm -fr .vnc
vncserver
...it
ps -aux|grep vncio
check the wait port:
-httpd /usr/share/vnc/classes -auth /home/xr/wangliang1/.Xauthority .../home/xr/wangliang1/.vnc/passwd -rfbport 5901 -pnclass
use vncView file
connect: HostIP:5901
enter your preset passwd, it will be ok.