Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-15-2004, 06:49 PM
|
#1
|
LQ Newbie
Registered: May 2004
Location: Austria
Distribution: Mandriva 2010.1
Posts: 18
Rep:
|
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?
|
|
|
06-10-2004, 12:59 PM
|
#2
|
LQ Newbie
Registered: Jun 2004
Posts: 6
Rep:
|
..same problem.. with the comunity, all ok, with the "official" if I use the kde control center vnc I receive the same error..
|
|
|
06-11-2004, 08:42 PM
|
#3
|
LQ Newbie
Registered: Jun 2004
Location: Buenos Aires, Argentina
Posts: 2
Rep:
|
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
|
|
|
06-13-2004, 05:36 AM
|
#4
|
LQ Newbie
Registered: May 2004
Location: Austria
Distribution: Mandriva 2010.1
Posts: 18
Original Poster
Rep:
|
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.
|
|
|
07-04-2004, 01:42 PM
|
#5
|
LQ Newbie
Registered: Jun 2004
Posts: 1
Rep:
|
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.
|
|
|
08-22-2004, 01:09 PM
|
#6
|
LQ Newbie
Registered: Sep 2003
Posts: 2
Rep:
|
Thank you very much.
I have the same problem, and the solution was to add "Xvnc" in the hosts.allow file.
Best regards.
|
|
|
11-23-2005, 03:41 PM
|
#7
|
Senior Member
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 05:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|