CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - Software Support
  vnc server will not accept connections intermittently

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  krausese
      krausese
vnc server will not accept connections intermittently
#1
Newbie
Joined: 2012/2/3
From
Posts: 1
The vnc client on Windows fails to connect to the vnc server running on CentOS. I need help troubleshooting on the CentOS side please.

I have been using vnc to connect to this CentOS machine for a few years. I never had a problem until last week. Now sometimes I can connect, but most of the time I cannot.

From the Windows machine, I tested using both Ultra VNC and Real VNC. Both fail to connect.

This may be coincidental, but last week I ran yum update. yum updated several packages, and I then rebooted. I noticed that the issue started to happen shortly after this.

$ cat /etc/redhat-release
CentOS release 5.7 (Final)
$ uname -a
Linux t00539292.energy.ge.com 2.6.18-274.17.1.el5 #1 SMP Tue Jan 10 17:25:58 EST 2012 x86_64 x86_64 x86_64 GNU/Linux

The firewall is enabled. Port 5900 is open.

If I attempt to connect from another server using telnet, I see that port 5900 is open, and the vnc server responds.
bash-3.00$ telnet 3.96.192.86 5900
Trying 3.96.192.86...
Connected to 3.96.192.86.
Escape character is '^]'.
RFB 003.007

I am the only CentOS system administrator, so I know that nobody else is making any changes.

How do I troubleshoot this?
Posted on: 2012/2/7 19:19
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: vnc server will not accept connections intermittently
#2
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

You don't say exactly what happens on the windows side when the connection fails. Have you tried a Linux or browser Java client? Perhaps stating the obvious, but have you checked the logs (/var/log/messages, /var/log/secure, VNC logs) for errors at the time of the connection attempts?
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/2/10 16:39
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com