Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-28-2009, 03:53 PM   #1
LQ Newbie
Registered: Aug 2009
Posts: 2

Rep: Reputation: 0
VNC Cannot connect


I am running a new installation of RHEL 5.3 and cannot get VNC client to connect to server. I have enabled VNC server, set password, disabled firewall, but client does not get a response from server.

Server error log shows:

Xvnc Free Edition 4.1.2
Copyright (C) 2002-2005 RealVNC Ltd.
See for information on VNC.
Underlying X server release 70101000, The X.Org Foundation

Fri Aug 28 15:55:40 2009
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5902
vncext: Listening for HTTP connections on port 5802
vncext: created VNC server for screen 0
xrdb: No such file or directory
xrdb: can't open file '/root/.Xresources'

I am trying to connect with TightVNC client using ipaddr:2. So it seems that server is listening for connections, but there is a problem with X? Since this is a new install, is it possible that I have not enabled something with X? Can someone offer further troubleshooting advice?


Old 08-28-2009, 04:10 PM   #2
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Have you tried running it as a non-root user?

What is the output if you try ipaddr:1?
Old 08-28-2009, 04:18 PM   #3
LQ Newbie
Registered: Aug 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Yes, I just tried running as another user and logging in with :1. Log file is similar but ports change as appropriate to new user. I also notice log does not add entries each time a login fails - seems that logon attempt is not recorded by the file, perhaps it is not getting that far. (Double checked that Firewall is disabled.)

I notice there is no .Xresources file in the home dir. Should I create one and what would be in it?

Last edited by ken495128; 08-28-2009 at 04:51 PM.


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
Can't connect with VNC MyHeartPumpsFreon Linux - Software 5 02-18-2008 12:52 PM
VNC - Getting servers to connect to me anthonysaulnier Linux - Networking 4 10-19-2006 05:28 PM
VNC connect to? Snipersnest Linux - Software 3 03-04-2005 01:26 PM
trying to connect vnc Paxmaster Linux - Networking 3 01-14-2005 10:54 AM
Not able to connect to VNC runelolk Linux - Networking 2 02-24-2004 02:13 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration