M BUZZ CRAZE NEWS
// news

How to properly fix the 'error in locking authority file' when I try to start my VNC session

By John Parsons

When I try to start my VNC using this command:

/usr/bin/vncserver -geometry 1900x1020

I get the following error:

xauth: error in locking authority file /home/maindir/.Xauthority
sh: line 1: /home/maindir/.vnc/[*mymachine:port*].log: Disk quota exceeded
Unable to start Xvnc, exiting

The error says that I exceeded my disk quota but I still have 16GB free memory (I don't know if it is even related to this quota). I read over other threads that deleting this Xauthority will solve the issue but I am not sure that it is the most proper way to solve my issue. If anyone can explain why I get this issue and how to solve it. Thanks!

2

1 Answer

Disk quota is about allowed (!) disk space, which can be checked using 'quota -u yourusername'.

In order to get along smoothly you might need to free up some more disk space.

Checking 'df -h' (or other means) might show available space though your quota is smaller, as configured by your local BOFH.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy