LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-15-2012, 11:54 AM   #1
bret
Member
 
Registered: Apr 2005
Location: SLC, Utah
Distribution: RHEL 4, RHEL 5
Posts: 59

Rep: Reputation: 16
vncviewer fails to connect after applying latest RHEL5 maintenance


Hi All,

I've been running vnc-server on RHEL 5 using xinetd for a few years now. Not really ever had to re-visit this until now.

Now when I connect from a vncviewer, e.g. tigervnc, RealVNC, or tightVNC, the connection never establishes. I have attempted to run vncviewer from bash on the affected server; Here is what gets returned:

[root@server ~]# vncviewer localhost:5901

VNC Viewer Free Edition 4.1.2 for X - built Jan 31 2011 05:03:21
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.

Wed Aug 15 10:48:07 2012
CConn: connected to host localhost port 5901
main: End of stream
[root@server ~]

I have this same configuration working on 60 other servers without a problem, but 2 of the RHEL 5 servers that I brought up to current maintenance now give me the above symptoms. No VNC terminal ever gets displayed.

Any ideas?
 
Old 08-15-2012, 01:14 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
VNC should log to the users home directory by default, is there anything reporting in the log files of the user that is attempting to establish the connection? Also checking your messages file might report something. There really isn't anything helpful from the output above.
 
Old 08-15-2012, 01:24 PM   #3
bret
Member
 
Registered: Apr 2005
Location: SLC, Utah
Distribution: RHEL 4, RHEL 5
Posts: 59

Original Poster
Rep: Reputation: 16
When I run the vncviewer command from the bash, I get the messages described earlier. Here is also what is in /var/log/messages:

...
Aug 15 12:16:06 server xinetd[8075]: START: vnc1280 pid=16579 from=127.0.0.1
Aug 15 12:16:06 server xinetd[8075]: EXIT: vnc1280 status=1 pid=16579 duration=0(sec)
...

I see no logging in the home directory.
 
Old 08-17-2012, 01:15 PM   #4
bret
Member
 
Registered: Apr 2005
Location: SLC, Utah
Distribution: RHEL 4, RHEL 5
Posts: 59

Original Poster
Rep: Reputation: 16
Permissions on /etc/nsswitch.conf were set to -rw-------

SOLUTION:

Changed permissions on /etc/nsswitch.conf to -rw-r--r--
 
  


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
Kernel security and maintenance advice needed. Recompile existing or build latest? holister Linux - Security 7 12-12-2011 11:13 PM
Error on CentOS Server after applying the latest updates baldur2630 Linux - Security 5 06-08-2011 06:09 PM
vncserver works, vncviewer fails Yordan AIX 2 03-29-2007 03:54 AM
[root@localhost Desktop]# vncviewer 192.168.0.11:2 vncviewer not viewing kde display nickleus Linux - Software 13 10-27-2006 03:58 AM
Mandrake 9.2: Problem with font anti-aliasing after applying latest patches rps63ifid Mandriva 2 10-05-2004 06:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:29 AM.

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