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"
Xauthority file
Posts: 25
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.

Oh, so that's what it is...
Posts: 4077
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
Posts: 25
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
Posts: 3
It turns out I had to generate the Xauthority file to begin with
and than add an entry for myself using visudo
Hi sanguinemoon (fellow
Posts: 4077
Hi sanguinemoon,
fellow Opera lover if I'm not wrong
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