I've now run into two instances where I've received errors because the ~/.Xauthority file is required but missing from my user folder. I have read that the .Xauthority file has been depreciated, and the function moved to
/var/run/gdm/auth-for-<USER>-<RANDOM_CHARACTERS>/database, and have attempted the solution provided in How do I create the .Xauthority file?, which suggests I make a symbolic link from
~/.Xauthority upon startup, but for whatever reason, 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 command
gksu "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 depreciated, and 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.