vnc fails on port 5811

Barry Yu barryyupuilee at sbcglobal.net
Fri Jul 16 17:12:53 UTC 2004


William Hooper wrote:

>Barry Yu said:
>  
>
>>I setup the vncserver as below and vnc remote client can connect
>>sucessfully; vncserver  : 99 -depth 16 -geometry 1000x650 vncserver  : 10
>>-depth 16 -geometry 1000x650
>>vncserver  : 12 -depth 16 -geometry 1000x650
>>
>>But when I use the port 5800 like below and the remote client just won't
>>connect ; vncserver  : 11 -depth 16 -geometry 1000x650 (Port numbers below
>>11 and above are working ok  except this lucky 11 I
>>just happen to find out)
>>    
>>
>
>Do you get any errors when starting VNC?
>How about in the VNC log?
>Are you trying to use the vncviewer or connect to the VNC HTTP server?
>Have you check if something else is listening on any of the ports VNC needs (use "netstat -at" and check for ports 5811, 5911, 6011).
>  
>
I didn't see any error message when starting vnc sever, you will see 
below the ouptput of it.
I use menu->accessories->vnc viewer to connect vnc sever, but using 
browser to
connect also failed. And at my current level I can't see anything 
causing the problem as per your instruction;

Here below is netstat output;

[root at fc2-station-1 root]# netstat -at 5811
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 *:32768                 *:*                     LISTEN
tcp        0      0 fc2-station-1:32769     *:*                     LISTEN
tcp        0      0 fc2-station-1:783       *:*                     LISTEN
tcp        0      0 *:sunrpc                *:*                     LISTEN
tcp        0      0 *:x11                   *:*                     LISTEN
tcp        0      0 fc2-station-1:9010      *:*                     LISTEN
tcp        0      0 *:5811                  *:*                     LISTEN
tcp        0      0 fc2-station-1:8118      *:*                     LISTEN
tcp        0      0 *:5911                  *:*                     LISTEN
tcp        0      0 fc2-station-1:ipp       *:*                     LISTEN
tcp        0      0 fc2-station-1:smtp      *:*                     LISTEN
tcp        0      0 *:6011                  *:*                     LISTEN
tcp        1      0 fc2-station-1:32784     fc2-station-1:ipp       
CLOSE_WAIT
tcp        1      0 fc2-station-1:32778     fc2-station-1:ipp       
CLOSE_WAIT
tcp        0      0 *:x11                   *:*                     LISTEN
tcp        0      0 *:ssh                   *:*                     LISTEN
 
-------------
[root at fc2-station-1 root]# netstat -at 5911
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 *:32768                 *:*                     LISTEN
tcp        0      0 fc2-station-1:32769     *:*                     LISTEN
tcp        0      0 fc2-station-1:783       *:*                     LISTEN
tcp        0      0 *:sunrpc                *:*                     LISTEN
tcp        0      0 *:x11                   *:*                     LISTEN
tcp        0      0 fc2-station-1:9010      *:*                     LISTEN
tcp        0      0 *:5811                  *:*                     LISTEN
tcp        0      0 fc2-station-1:8118      *:*                     LISTEN
tcp        0      0 *:5911                  *:*                     LISTEN
tcp        0      0 fc2-station-1:ipp       *:*                     LISTEN
tcp        0      0 fc2-station-1:smtp      *:*                     LISTEN
tcp        0      0 *:6011                  *:*                     LISTEN
tcp        0      0 fc2-station-1:ipp       fc2-station-1:32774
ESTABLISHED
tcp        0      0 fc2-station-1:ipp       fc2-station-1:32780
ESTABLISHED
tcp        0      0 fc2-station-1:753       fc2-station-1:sunrpc    
TIME_WAIT
tcp        0      0 fc2-station-1:755       fc2-station-1:sunrpc    
TIME_WAIT
tcp        0      0 fc2-station-1:641       fc2-station-1:sunrpc    
TIME_WAIT
tcp        0      0 fc2-station-1:32777     fc2-station-1:32769     
TIME_WAIT
tcp        0      0 fc2-station-1:32779     fc2-station-1:32769     
TIME_WAIT
tcp        0      0 fc2-station-1:32778     fc2-station-1:32769     
TIME_WAIT
tcp        0      0 fc2-station-1:32774     fc2-station-1:ipp
ESTABLISHED
tcp        0      0 fc2-station-1:32780     fc2-station-1:ipp
ESTABLISHED
tcp        0      0 *:x11                   *:*                     LISTEN
tcp        0      0 *:ssh                   *:*                     LISTEN
 
-----------
[root at fc2-station-1 root]# netstat -at 6011
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 *:32768                 *:*                     LISTEN
tcp        0      0 fc2-station-1:32769     *:*                     LISTEN
tcp        0      0 fc2-station-1:783       *:*                     LISTEN
tcp        0      0 *:sunrpc                *:*                     LISTEN
tcp        0      0 *:x11                   *:*                     LISTEN
tcp        0      0 fc2-station-1:9010      *:*                     LISTEN
tcp        0      0 *:5811                  *:*                     LISTEN
tcp        0      0 fc2-station-1:8118      *:*                     LISTEN
tcp        0      0 *:5911                  *:*                     LISTEN
tcp        0      0 fc2-station-1:ipp       *:*                     LISTEN
tcp        0      0 fc2-station-1:smtp      *:*                     LISTEN
tcp        0      0 *:6011                  *:*                     LISTEN
tcp        0      0 fc2-station-1:ipp       fc2-station-1:32774
ESTABLISHED
tcp        0      0 fc2-station-1:ipp       fc2-station-1:32780
ESTABLISHED
tcp        0      0 fc2-station-1:32774     fc2-station-1:ipp
ESTABLISHED
tcp        0      0 fc2-station-1:32780     fc2-station-1:ipp
ESTABLISHED
tcp        0      0 *:x11                   *:*                     LISTEN
tcp        0      0 *:ssh                   *:*                     LISTEN



------------------------------------------------------------------

No error message was in my notice when I executed vncserver :

server :11 -depth 16 -geometry 1000x650
 
New 'fc2-station-1:11 (root)' desktop is fc2-station-1:11
 
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/fc2-station-1:11.log

--------------------------

Here is the log and I don't know what it is telling;
                                                                                

Xvnc version 4.0b4 - built Apr 14 2004 12:42:18
Underlying X server release 40300000, The XFree86 Project, Inc
                                                                                

                                                                                

Fri Jul 16 09:36:53 2004
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5911
 vncext:      Listening for HTTP connections on port 5811
 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!
SESSION_MANAGER=local/fc2-station-1:/tmp/.ICE-unix/3945
Window manager warning: Log level 32: could not find XKB extension.
/usr/share/rhn/rhn_applet/rhn_applet.py:362: DeprecationWarning: integer
argument expected, got float
  self.animate_timeout_tag = gtk.timeout_add(math.floor(1000 *
ANIMATION_TOTAL_TIME/len(frames)), self.animate_handler)







More information about the fedora-list mailing list