LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vncserver failure, need your help (https://www.linuxquestions.org/questions/linux-newbie-8/vncserver-failure-need-your-help-256864/)

PerlDev 11-19-2004 10:32 AM

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).

Xolo 11-19-2004 02:18 PM

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 ?

PerlDev 11-19-2004 03:50 PM

I tried myfc3, myfc3:0, myfc3:1, none of them worked.

PerlDev 11-19-2004 03:58 PM

/etc/sysconfig/vncservers

VNCSERVERS="1:myfc3"

Xolo 11-19-2004 04:00 PM

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.

PerlDev 11-19-2004 04:00 PM

TightVNC

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

Popup error: info: Failed to connect to server

Xolo 11-19-2004 04:14 PM

:confused: what's left... er.. firewall allows tcp traffic on VNC ports?

PerlDev 11-19-2004 04:28 PM

[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

PerlDev 11-19-2004 08:17 PM

what shall I try next?

PerlDev 11-22-2004 08:02 AM

Any update on this issue?


All times are GMT -5. The time now is 07:15 AM.