i have a remote machine running CentOS that i am trying to connect to with vnc.
when i try to start vncserver on the remote machine through ssh with the command "vncserver :1" i get the following error mesage
xauth: (argv):1: bad display name "[ip address]:1" in "add" command
New '[ip address]:1 (root)' desktop is [ip address]:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/[ip address]:1.log
there are a few threads out there similar to this but most make reference to adding the hostsname to the hosts file but this didn't work for me.
only think to note is the the ip address appears with - instead of . i.e. 127-0-0-1 instead of 127.0.0.1