Monday, 7 April 2014

xauth: (stdin):1: bad display name "myserver:3" in "add" command


 When I try to start vncserver with i got an error 
xauth: (stdin):1:  bad display name "myserver:3" in "add" command
Cause
  • 'UseLocalhost' value is set to 'no' on /etc/ssh/sshd_config
  • server name is not registered in the '/etc/hosts' file.
Solution
  • Set 'UseLocalhost' to 'yes' in the SSH server configuration file. 
  • Add the host name of the server in '/etc/hosts'

No comments:

Post a Comment