Unable to copy the user's Xauthorization file.

Asked by mikeocaiside@hotmail.co.uk on 2008-05-17

When I try to open Synaptic package Manager or partition editor in 8.04 I get the above message

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2008-05-17
Last reply:
2009-06-04
Nick Ellery (nick.ellery) said : #1

This is from the Live CD?

No it is 8.04 on my hard drive

hec2 (hec2) said : #3

How do I load AVG antivirus & PC-TOOLS firewall or simular tools. I am a newbie to LINUX / UBUNTU 8.04. I just switched from WIN-XP PRO to ubuntu 8.04 I am running a home built computer w/2 GIGS of ram. IT is an AMD Athlon 64 x2.

@hec2
Please don't append a new question on a different original question.
Please make new question from here: https://answers.launchpad.net/ubuntu/+addquestion
you will get better chance to get right answer on a fresh tagged "open" question.

Thank you

Andrew Betts (andrew-betts) said : #5

I also get this error message today.

I saw I had new updates, and clicked the icon to install them... when I clicked 'Install Updates' the program just sat there doing nothing... so I killed it and tried to use Synaptic instead but got this message:

"Failed to run /usr/sbin/synaptic as user root.
Unable to copy the user's Xauthorization file."

I'm sure a reboot will fix this but I really hate rebooting for bugs. Don't know if it is related but firefox has gone stupid as well.

Andrew Betts (andrew-betts) said : #6

Well I've answered my own problem.

Turns out my hard drive was full!

It would be nice to get a warning about this sort of thing rather than one's system just grinding to a halt and producing unhelpful error messages.

Alan Bell (alanbell) said : #7

I just had a similar issue. Turns out my .Xauthority file was owned by root. Possibly after doing ssh -X to somewhere (or maybe accidentally "sudo ssh -X . . ." I will try to reproduce. The solution was "sudo chown myname:myname ~/.Xauthority"

Can you help with this problem?

Provide an answer of your own, or ask mikeocaiside@hotmail.co.uk for more information if necessary.

To post a message you must log in.