rtwo
By:
rtwo

xauth: error in locking authority file /tmp/libgksu-X9fdBg/.Xauthority

August 26, 2016 514 views
Linux Commands Debian

Hi

root@Jessi8:~# sudo xauth generate :0 . trusted
xauth: error in locking authority file /tmp/libgksu-X9fdBg/.Xauthority

I am getting the above error.

What is the solution?

1 Answer

If you have another x session running this could cause this issue. A reboot should resolve it safely as the files in /tmp should be cleared out.

Have another answer? Share your knowledge.