Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I boot my Toshiba Tecra(nvidia) say no protocol specified(2x and ..) a lot of. Then appears the next message:

xinit: giving up xinit: unable to connect to X server: Resource temporarily unavailable

wainting for X server to shutdown ddxSigGiveUp: Closing log Server terminated successfully(0). Closing log file.

xinit: server error xauth: error in locking authority file /home/toshiba/.Xauthority

share|improve this question
Does this happen before or after you log on? – Mitch Jul 20 '12 at 12:34

I think i resolve my problem. I used this forum post. The commands were:

cd /home/machine
mv .Xauthority .Xauthority.old
touch .Xauthority
chown machine:machine .Xauthority
share|improve this answer

Fixing Error in locking authority file .Xauthority

# cd /home/user
# ls -a -lh
# chown user:user .Xau*
share|improve this answer
It would be helpful if you provide some explanations from the link.the link can go down any time – Stormvirux Feb 26 '14 at 6:36

In addition to the answer suggested by Ricardo, I also want you to do the following:

cd /home/machine
mv .Xauthority .Xauthority.old
touch .Xauthority
chown machine:machine .Xauthority 

In cases where chown produces an error, just provide execute and read write permissions, which should solve the problem.

chmod +x .Xauthority
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.