LCD computing troubleshooting

This page presents several tips on several issues found when using SLC6 or SLC5

timeout in locking authority file /home/username/.Xauthority

When logging on a machine with ssh (e.g. from lxplus to your desktop PC) with X11 forwarding, you get an error
/usr/bin/xauth:  timeout in locking authority file /home/username/.Xauthority
This happens because of selinux. You need to check the status of selinux
sestatus
should give you in the case of the presence of the error something like
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   enforcing
Mode from config file:          enforcing
Policy version:                 24
Policy from config file:        targeted
As you see the current status is enforcing, and that's what is causing the problem. You need to become root with su then run
setenforce 0
and this should then make the output of sestatus look like
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   permissive
Mode from config file:          enforcing
Policy version:                 24
Policy from config file:        targeted
Now you should be able to log on the machine using ssh.

Source: http://stackoverflow.com/questions/8154963/ssh-x11-forwarding-wont-work

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2013-01-29 - StephanePoss
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CLIC All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback