Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-02-2007, 06:42 PM   #1
LQ Newbie
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
vncserver xauth: (argv):1: bad display name


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

Old 12-28-2012, 07:42 AM   #2
LQ Newbie
Registered: Dec 2012
Posts: 1

Rep: Reputation: Disabled
you can set right machine name in etc/hostes such as name_of_machine localhost
Old 08-30-2013, 03:08 AM   #3
Registered: Feb 2013
Location: Bangalore
Distribution: Rhel
Posts: 86

Rep: Reputation: Disabled
Dear ams1380,

Your replay very helpful for me, today i had same issue..



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vncserver display kishore2k4 Linux - Software 4 02-21-2007 02:41 AM
gdb cannot display argc/argv? Nick_Battle Programming 3 01-12-2007 01:06 PM
vncserver: couldn't find "xauth" on your PATH. ziggie216 Linux - Software 2 11-30-2005 12:34 PM
XServer: xauth: (stdin):1: bad display name rpb Linux - General 1 03-12-2005 01:01 PM
vncserver display connection earthling Linux - Newbie 2 08-10-2003 11:14 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration