PROTOR Knowledge Base

PROTOR Redhat : Installing VNC Server on Redhat 7.2

Author: Don Davies
Date: 28-Apr-2002


PROTOR uses VNC extensively to provide remote access to the PROTOR Host from PCs running either Windows or Linux on the network. In order to use VNC the VNC server (Xvnc) must be installed and configured. Each remote PC which wishes to connect must then have the VNC client software installed. The following notes describe how to install and setup the VNC server on a PROTOR Host running Redhat 7.2

                rpm --install --replacefiles --nodeps
                      /mnt/cdrom/RedHat/RPMS/vnc-server*.i386.rpm

            Note. The current release level of the VNC server for RedHat 7.2 is
            vnc-server-3.3.3r2-18.i386.rpm
       # VNC Servers
       vnc-1024x768x16  5900/tcp
       vnc-800x600x16   5901/tcp
      service vnc-1024x768x16
      {
        flags = REUSE
        protocol = tcp
        socket_type = stream
        wait = no
        user = nobody
        server = /usr/bin/Xvnc
        server_args = -inetd -query localhost -once -geometry 1010x738 -depth 16
        log_on_failure += USERID
        disable  = no
      }
      service vnc-800x600x16
      {
        flags = REUSE
        protocol = tcp
        socket_type = stream
        wait = no
        user = nobody
        server = /usr/bin/Xvnc
        server_args = -inetd -query localhost -once -geometry 790x572 -depth 16
        log_on_failure += USERID
        disable = no
      }
       service xinetd restart
        !DisplayManager.requestPort:    0
         !*     # any host can get a login window
          Enable = false
   to be
          Enable = true

and uncomment the line

          Port = 177

You now need to restart the X-window system. Probably easiest is to use init 3 followed by init 5 or alternatively perform a complete system shutdown and restart.


Return to Knowledge Base