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'
4 comments:
Thank you Vanita! It worked for me. I was searching the right solution for this error in the blogs and no one has explained that why this bad display name is coming. All were vague answer. And, I was suspecting your solution as well. Thanks again!
Welcome :)
thx a lot , saved lots of time
Post a Comment