I had this error b4 -> "can't lock .Xauthority file before". This
was becos I used "shutdown -r now" as root. Then the owner and the
group of the .Xauthority file was changed to root.<br>
<br>
You can check to see if this is the case by using the command <br>
saru@ava:~/$ ls -l ~/.Xauthority<br>
-rw------- 1 saru saru 114 2005-10-08 15:02 /home/saru/.Xauthority<br>
saru@ava:~/$<br>
<br>
IF the third and the fourth coulmns, ie the owner and the group column,
say "root" then you need to use 'chown' to set the file ownership to
yourself. I think it is "chown user:group ~/.Xauthority"<br>
<br>