Fixing Xauthority

From Klaus' wiki
Jump to: navigation, search

After data has been moved from one server to another SElinux may caugh a little because the rights are not correctly set.

Using ssh login to your acount and issue:

$ /sbin/restorecon -v -v /home/klausk/.Xauthority
$ /sbin/restorecon -v -v -R /home/klausk/
$ exit

Now login once again (ssh -X <the server>) and the problems should be solved allowing you to have the X-protocol sent over the ssh-tunnel.