L,wang

坚持改革,开放人性的弱点……
Tips for VNCServer config

Tips for VNCServer


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:

xauth:  error in locking authority file /home/xr/wangliang1/.Xauthority
xauth:  error in locking authority file /home/xr/wangliang1/.Xauthority

even

su to root to rm .vnc
rm -fr /home/xr/wangliang1/.vnc
no work!!!

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:

exit;
exit;
...
cd ~
l.
rm -fr .vnc
vncserver
...

ps -aux|grep vnc

check the wait port:
 -httpd /usr/share/vnc/classes -auth /home/xr/wangliang1/.Xauthority .../home/xr/wangliang1/.vnc/passwd -rfbport 5901 -pn

use vncView

connect: HostIP:5901

enter your preset passwd, it will be ok.

posted on 2013-07-10 16:05  L,wang  阅读(269)  评论(0编辑  收藏  举报