SSH X11 forwarding with putty not working for non root user account
Issue
- Launching of GUI application fails upon login to Red Hat Enterprise Linux over ssh X forwarding
- Problem is not observed for root user
- Non root user account on system fails with below error
Last login: Fri Jul 19 10:08:50 2013 from host.example.com
/usr/bin/xauth: timeout in locking authority file /home/user/.Xauthority
[user@host ~]$ echo $DISPLAY
localhost:10.0
[user@host ~]$
[user@host ~]$ gnome-terminal &
[1] 8152
[user@host ~]$ PuTTY X11 proxy: wrong authentication protocol attemptedFailed to parse arguments: Cannot open display:
[1]+ Exit 1 gnome-terminal
[user@host ~]$
- No
~/.Xauthority
file exist in home directory as mentioned in the error message.
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.