Skip navigation.
Home
Now Shipping Version 7.0

Unable to copy the user's Xauthorization file


Posts: 3

I just switched to Mepis 6 a couple weeks ago, and everything seems to be working great, except for one thing. I installed XFCE and that DE works fine except I can't use Synaptic from it and get an error that says "Unable to copy the user's Xauthorization file"

AdrianTM's picture

Hi sanguinemoon (fellow

Hi sanguinemoon,
fellow Opera lover if I'm not wrong Eye-wink

I Googled a bit and I see that somebody in Ubuntu fixed it this way:
cp /root/.Xauthority /home/username/
chown username:group /home/username/.Xauthority

(you might not need to copy, you minght need only to change ownership)

It also depends on how you start it, do you just click on it, or you could use "kdesu synaptic" or "gksu synaptic" (don't know if there's such an application specific for XFCE)
--
Check out MEPIS Wiki: www.mepis.org/docs

Xauthority file

I had the same problem with Mepis 6.0. When Mepis went to Ubuntu Dapper the only desktop that still used kdesu was KDE. I had installed IceWM, GNOME, XFCE4, Fluxbox, and WindowMaker, and they all use gksu as their default sudo mechanism. I don't think that I was able to find any .Xauthority files on my Mepis 6.0 installation.

I posted a message about this:

http://www.mepis.org/node/10694

I was also able to get the sudo problem solved by using the fix suggested in:

http://www.mepis.org/node/11721

If you configure sudo to require a password, the default password is your user password.

AdrianTM's picture

Oh, so that's what it is...

Oh, so that's what it is... but what happens if you use kdesu, would that work?
--
Check out MEPIS Wiki: www.mepis.org/docs

Kdesu

Kdesu worked great from the get go. But I figured that if Ubuntu repository packages that had to run as su-sudo equivalent had system defaults that used gksu, that getting gksu working was going to involve the least amount of continuing maintenance. This way I only had a single point of maintenance, rather than multiple points of maintenance spread out over several desktops.

It turns out I had to

It turns out I had to generate the Xauthority file to begin with Eye-wink and than add an entry for myself using visudo

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.