LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-15-2004, 06:49 PM   #1
TommyB
LQ Newbie
 
Registered: May 2004
Location: Austria
Distribution: Mandriva 2010.1
Posts: 18

Rep: Reputation: 1
VNC server rejects connections


Hi,

I tried to run VNC server on my Mandrake 10 box. However if I try to connect to the server I get the message: vncviewer: VNC server closed connection

The log file of the server shows just the following entry:
Rejected connection from client IP address

I get the same result if I try it on the box that is running the server or from another box in the network.

Trying through http leads to the same result.

Anybody an idea what's wrong?
 
Old 06-10-2004, 12:59 PM   #2
viottolo
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
..same problem.. with the comunity, all ok, with the "official" if I use the kde control center vnc I receive the same error..
 
Old 06-11-2004, 08:42 PM   #3
karmapolis
LQ Newbie
 
Registered: Jun 2004
Location: Buenos Aires, Argentina
Posts: 2

Rep: Reputation: 0
There's an undocumented detail that you must keep in mind: MANY Mandrake applications, including Xvnc (the TightVNC server), were compiled to use TCP Wrappers. So you must add an entry to /etc/hosts.allow like this one:
Xvnc:127.0.0.1:ALLOW
Cheers!

Ariel
 
Old 06-13-2004, 05:36 AM   #4
TommyB
LQ Newbie
 
Registered: May 2004
Location: Austria
Distribution: Mandriva 2010.1
Posts: 18

Original Poster
Rep: Reputation: 1
Same behaviour as before

I added the suggested line into hosts.allow. However VNC behaves in the same way as before, i.e. the server rejects all connections.
 
Old 07-04-2004, 01:42 PM   #5
monx
LQ Newbie
 
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
Talking vnc access

Hi, I had similar problems with vnc... I went to the "configure your computer-->security--> advanced. Then put in 5901/tcp for the vnc port worked perfectly. I hope this helps.
 
Old 08-22-2004, 01:09 PM   #6
barbo
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
Thank you very much.
I have the same problem, and the solution was to add "Xvnc" in the hosts.allow file.

Best regards.
 
Old 11-23-2005, 03:41 PM   #7
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,604

Rep: Reputation: 47
Thanks for the tip
My error was with tightvnc on Mandriva 2005 LE:

vncviewer: VNC server closed connection

I had thought about editing /etc/hosts.allow and I had added
ALL:192.168.0.
but I indeed forgot to add
Xvnc:127.0.0.1:ALLOW
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Present a GUI Login on vnc connections PlatinumRik Linux - Software 1 04-18-2005 01:02 PM
xinetd rejects connections? ninen Linux - Software 2 06-06-2004 11:40 AM
VNC not accepting connections Red Squirrel Linux - Newbie 4 02-20-2004 08:55 PM
X server outside connections slackwarefan Linux - General 1 02-01-2004 07:31 PM
linux rejects telnet connections from the internet x.vitamin Linux - Networking 7 07-29-2003 06:51 PM


All times are GMT -5. The time now is 12:57 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