I don't have a .Xauthority file in my home folder. I want to create it, please tell me the steps to do so in ubuntu 10.10.
Thank You!
|
I don't have a .Xauthority file in my home folder. I want to create it, please tell me the steps to do so in ubuntu 10.10. Thank You! |
|||||
|
|
In Ubuntu 10.10 there's no longer a
which will be re-created with new random characters on every session start. You can get its name via the If you need a
|
|||||||||||||||||
|
|
(there indeed appears to be .Xauthority files in Ubuntu 14.10, so I don't know, per the accepted answer, if they went away and came back?) Probably solved a long time ago but for completeness, when you ssh to a remote system, use:
You will get a complaint that the .Xauthority file did not exist and also find it was just created. This is dependent some settings in /etc/ssh/sshd_config:
Refer to http://ubuntuforums.org/showthread.php?t=1863739 where I was able to confirm my own experience with this errant error. While you are checking / updating /etc/ssh/sshd_config make sure root login is disallowed, just a good practice:
|
||||
|
|