Fixing Xauthority

From Klaus' wiki
Revision as of 09:25, 8 March 2013 by Klaus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.