LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 10-02-2007, 05:42 PM   #1
kd101
LQ Newbie
 
Registered: Oct 2007
Posts: 1

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


hello

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

Code:
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

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

Rep: Reputation: Disabled
you can set right machine name in etc/hostes such as
127.0.0.1 name_of_machine localhost
 
Old 08-30-2013, 02:08 AM   #3
a.abdulna
Member
 
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..

Thanks,
Abdul.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 02:53 PM.

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