SSH X11 forwarding with putty not working for non root user account

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.