LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-19-2013, 07:39 PM   #1
Altiris
Member
 
Registered: Mar 2013
Posts: 556

Rep: Reputation: Disabled
2 errors with TigerVNC server


I am currently having 2 errors while having setup TigerVNC server. The server works and is operable at least with the first error. The first error shows up whenever I restart the vncserver service.

Code:
Starting VNC server: 1:tom xauth: (stdin):1:  bad display name "computer1:1" in "add" command
tom is my username and computer1 is my hostname. Anyone know how to fix this?

The other error I receive is a "Connection refused 111" error whenever I try connecting to my VNC after I add the "-localhost" command in the vncservers.conf file as so
Code:
VNCSERVERARGS[1]="-geometry 800x600 -localhost"
I have port forwarded the port 5901 for my user and when I remove the -localhost it works again. The -localhost enables an SSH tunnel.
(http://wiki.centos.org/HowTos/VNC-Se...bb301ea0038a26)
 
Old 08-19-2013, 11:59 PM   #2
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
First, the -localhost option tells the vnc server to ONLY accept connections from localhost, i.e. your local machine. So don't use that startup option if you want to connect from other computers. The option is primarily there for port tunneling like with ssh.

And for whatever it's worth on my Fedora machine I use VNCSERVERARGS[2]="-geometry 1024x700" not VNCSERVERARGS[1]
 
Old 08-21-2013, 10:49 AM   #3
Altiris
Member
 
Registered: Mar 2013
Posts: 556

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Doug G View Post
First, the -localhost option tells the vnc server to ONLY accept connections from localhost, i.e. your local machine. So don't use that startup option if you want to connect from other computers. The option is primarily there for port tunneling like with ssh.

And for whatever it's worth on my Fedora machine I use VNCSERVERARGS[2]="-geometry 1024x700" not VNCSERVERARGS[1]
If I were to keep that -localhost command then VPN to the computer would that allow me to use VNC? However I get an error whenever enabling the -localhost.
 
  


Reply



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
How to connect through TigerVNC a.abdulna Linux - Newbie 1 03-21-2013 07:09 AM
No cursor seen in VNC viewers when connecting to TigerVNC server picnik Linux - Newbie 3 06-15-2011 03:07 AM
TigerVNC Some Questions... vonedaddy Linux - Software 1 10-18-2010 09:32 AM
[SOLVED] Uninstall TigerVNC? ncjks Linux - Newbie 2 08-04-2010 07:45 AM
TigerVNC on 2010.1 MartenH Mandriva 3 08-01-2010 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration