Hi,
Code:
xauth: timeout in locking authority file /home/server/.Xauthority
The above error occurs due to permissions issue. /home/server/.Xauthority might have had root permissions.
Please start the vncserver as the user, instead of root or sudo.
On creating a new .Xauthority file, the following commands can be issued:
Code:
karmic@karmic-desktop:~$ HOST=`hostname`
karmic@karmic-desktop:~$ key=`perl -e 'srand; printf int(rand(100000000000000000))'`
karmic@karmic-desktop:~$ key=$key$key
karmic@karmic-desktop:~$ xauth add ${HOST}/unix:0 . $key
xauth: creating new authority file /home/karmic/.Xauthority
xauth: (argv):1: key contains odd number of or non-hex characters
Hope this helps.
Bookmarks