[K12OSN] vnc changes ?

Eric Harrison eharrison at mail.mesd.k12.or.us
Tue Dec 21 14:51:20 UTC 2004


On Tue, 21 Dec 2004, norbert wrote:

> Hi ,
>
> Has there been any major changes to vnc in 4.1.1 & 4.2 ? Since the
> upgrade from 4.0.1 to 4.1.1 I can't get vnc to work.
> message
> main:        unable to connect to host: Connection refused (111)
> Whereas in 4.0.1 it worked fine??? Is there some new configuration
> parameters?

Nope, no changes.

There is not much to it. Here are a few things to check:

* Make sure /etc/xinetd.d/vnc exists

* Make sure /usr/bin/Xvnc exists

* Make sure the vnc entries are in /etc/services:

 	$ grep vnc /etc/services
     vnc-1024x768x16 5900/tcp
     vnc-800x600x16  5901/tcp
     vnc-640x480x16  5902/tcp
     vnc-1024x768x8  5903/tcp
     vnc-800x600x8   5904/tcp
     vnc-640x480x8   5905/tcp

* Make sure xinetd is running:

 	/sbin/chkconfig xinetd on
 	/sbin/service xinetd restart

* If you are connecting from the external network,
   make sure your firewall rules allow ports 5900-5905


-Eric




More information about the K12OSN mailing list