Tony's ramblings on Open Source Software, Life and Photography

Encrypted Home Directory .Xauthority Locking Problem

I just did a security patch upgrade on an Ubuntu Karmic server. I know, Lucid is out but I'm not ready to jump on that bandwagon with any more servers yet.

Immediately after the upgrade, I noticed that SSH logins took literally forever and were followed by:

timeout in locking authority file: .Xauthority

It turns out that something with this latest upgrade caused my home directory to not be writable by... me. This was definitely not a problem before the upgrade. I'm assuming it will only affect those using encrypted home directories.

Quick fix: after logging in as myself, I did:

sudo chmod u+w /home/[yourdirectory]

It didn't have to be done recursively because all of the subdirectories had retained their permissions.


Categories:

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br> <p>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for preventing automated spam submissions. It is case sensitive.
Image CAPTCHA
Enter the characters shown in the image.