I try to run VNC to and from two boxes in the same LAN.
The
port 5900 remains closed!
I thought it was a problem of the firewall or selinux but I get the port closed even with them flushed or disabled.
At the server
service vncserver status
Xvnc (pid 2386) is running...
From the client
vncviewer -FullScreen -FullColor [server IP address]
VNC Viewer Free Edition 4.1.1 for X - built Aug 4 2005 06:43:41
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Wed Dec 14 11:46:36 2005
main: unable to connect to host: Connection refused (111)
nmap -sT -p 5900 -PT [server IP address]
Starting nmap 3.93 ( http://www.insecure.org/nmap/ ) at 2005-12-14 11:37 GMT
Interesting ports on [server IP address]:
PORT STATE SERVICE
5900/tcp closed vnc
MAC Address: [server MAC address] (Hostnet)
Nmap finished: 1 IP address (1 host up) scanned in 0.268 seconds
Back to the server:
$ netstat -l |grep 5900
It returns anything.
There is no entry for 'vnc' or '5900' at /etc/services
# nmap -sT -p 5900 -PT 127.0.0.1 (or the server's lan address)
to get the same:
5900/tcp closed vnc
Why can't I have the vncviewer cleared?
Thanks!
Osio
vnc-4.1.1.-10.1
vnc-server-4.1.1.-10.1
kernel 2.6.11.1-1.1369_FC4