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

Notices


Reply
  Search this Thread
Old 11-19-2004, 11:32 AM   #1
PerlDev
LQ Newbie
 
Registered: Nov 2004
Posts: 8

Rep: Reputation: 0
vncserver failure (FC3)


Can't connect myfc3:1 with vncviewer. Need your help. Any suggestion will be highly appreciated.

Here are my system infos:

uname -a
Linux myfc3 2.6.9-1.678_FC3 #1 Mon Nov 15 18:28:07 EST 2004 i686 i686 i386 GNU/Linux

rpm -qa | grep vnc
vnc-server-4.0-8


Xvnc version 4.0 - built Oct 6 2004 08:11:33
Underlying X server release 60801000, The X.Org Foundation


found two processes running==========
myname 7784 1 .. Xvnc :1 -desktop myfc3:1 (myname) -httpd /usr/share/vnc/classes -auth /home/myname/.Xauthority -geometry 1024x768 -depth 16 -rfbwait 30000 -rfbauth /home/myname/.vnc/passwd -rfbport 5901 -pn
myname 7788 1 .. vncconfig -iconic


/home/myname/.vnc/myfc3:1.log=======================
Thu Nov 18 19:19:33 2004
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: Listening for HTTP connections on port 5801
vncext: created VNC server for screen 0
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":1.0"^M
X connection to :1.0 broken (explicit kill or server shutdown).

Last edited by PerlDev; 11-19-2004 at 02:45 PM.
 
Old 11-19-2004, 03:18 PM   #2
Xolo
Member
 
Registered: Jul 2004
Location: The Netherlands
Distribution: Mandrake, Knoppix, Coyote Linux, RedHat
Posts: 354
Blog Entries: 3

Rep: Reputation: 31
Correct me if i'm wrong, but you are trying to connect to myfc3:1 (That's screen 1) and VNC is running on screen 0..... tried connecting to myfc3:0 ?
 
Old 11-19-2004, 04:50 PM   #3
PerlDev
LQ Newbie
 
Registered: Nov 2004
Posts: 8

Original Poster
Rep: Reputation: 0
I tried myfc3, myfc3:0, myfc3:1, none of them worked.
 
Old 11-19-2004, 04:58 PM   #4
PerlDev
LQ Newbie
 
Registered: Nov 2004
Posts: 8

Original Poster
Rep: Reputation: 0
/etc/sysconfig/vncservers

VNCSERVERS="1:myfc3"
 
Old 11-19-2004, 05:00 PM   #5
Xolo
Member
 
Registered: Jul 2004
Location: The Netherlands
Distribution: Mandrake, Knoppix, Coyote Linux, RedHat
Posts: 354
Blog Entries: 3

Rep: Reputation: 31
Have you tried connecting to myfc3:5901 in VNCviewer? I think 5900 and 5800 are the standard ports (AFAIK), and yours are raised by 1.
 
Old 11-19-2004, 05:00 PM   #6
PerlDev
LQ Newbie
 
Registered: Nov 2004
Posts: 8

Original Poster
Rep: Reputation: 0
TightVNC

Connection details, VNC Server: myfc3.mydomain.com:1

Popup error: info: Failed to connect to server
 
Old 11-19-2004, 05:14 PM   #7
Xolo
Member
 
Registered: Jul 2004
Location: The Netherlands
Distribution: Mandrake, Knoppix, Coyote Linux, RedHat
Posts: 354
Blog Entries: 3

Rep: Reputation: 31
what's left... er.. firewall allows tcp traffic on VNC ports?
 
Old 11-19-2004, 05:28 PM   #8
PerlDev
LQ Newbie
 
Registered: Nov 2004
Posts: 8

Original Poster
Rep: Reputation: 0
[root@myfc3 ~]# cat /etc/sysconfig/iptables
# Firewall configuration written by system-config-securitylevel
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT
 
Old 11-19-2004, 09:17 PM   #9
PerlDev
LQ Newbie
 
Registered: Nov 2004
Posts: 8

Original Poster
Rep: Reputation: 0
what shall I try next?
 
Old 11-22-2004, 09:02 AM   #10
PerlDev
LQ Newbie
 
Registered: Nov 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Any update on this issue?
 
  


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
Telnet : Temporary failure in name resolution : Host name lookup failure koodoo Linux - Newbie 10 02-11-2008 08:59 PM
Robust vncserver startup file (rc.vncserver) arobinson74 Slackware 4 05-14-2005 06:33 AM
PostScript failure result in printing failure cawwt Linux - General 2 10-01-2004 02:06 PM
vncserver JROCK1980 Linux - Software 4 07-07-2004 01:50 PM
vncserver ddavila Linux - Newbie 3 01-19-2003 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:16 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration