I've now run into two instances where I've received errors because the ~/.Xauthority
file is required but is missing from my user folder. I have read that the .Xauthority
file has been deprecated, and the function has moved to:
/var/run/gdm/auth-for-<USER>-<RANDOM_CHARACTERS>/database`
I have attempted the solution provided in How do I create the .Xauthority file?. Which suggests I make a symbolic link from $XAUTHORITY
to ~/.Xauthority
upon startup. But this method has has not worked for me. I've also tried running that command and variations of it in the terminal, but without success. I am running, in vmware workstation 8, a minimal install of ubuntu server 11.10 64bit with xfce4 on top.
The error, "Unable to copy the user's Xauthorization file", I've received twice now. First when attempting to open a root terminal from the Thunar context menu, using the 'custom action' feature, with the commandgksu "xfce4-terminal -default-working-directory=%f"
. Then again, when attempting to install truecrypt, which gives me the error a few steps into the installation process.
Is there another way to go about this? And, more fundamentally, why do applications still rely on this file if it has been deprecated? Since they do, why isn't a link provided by default until the software catches up? I understand things are not always so tidy, and also that I may be missing something important and basic, so please forgive my impudence.