Xmanager Knowledge Base

Xstart gives a 'bad display name' error message and SSH connection fails

Last modified: Wednesday, December 2, 2015 6:28 AM


When you try to connect with the SSH protocol on Xstart, the following message is displayed and the X application does not start:

/usr/bin/X11/xauth: (stdin):1: bad display name "hserver:10.0" in "add" command

*This article requires remote server configuration. Administrator privilege may be required.


This error occurs when the 'UseLocalhost' value is set to 'no' on the SSH Server and the server name is not registered in the '/etc/hosts' file.

To resolve the problem, do one of the following:

  • Set 'UseLocalhost' to 'yes' in the SSH server configuration file.  
  • Add the host name of the server in '/etc/hosts'