Redhat:VNC Tiger

From Define Wiki
Jump to navigation Jump to search

Tiger VNC

The simplest way to install VNC is using Tiger VNC.

Installation

There are three packages needed to install Tiger VNC that can be installed through yum.

  • vinagre
  • tigervnc
  • tigervnc-client


Configuration

The configuration for TigerVNC is done through the /etc/sysconfig/vncservers.

There are two example configuration lines at the bottom of the file:

VNCSERVERS="2:myusername"
VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"

This sets up the VNC for a single user. To set VNC up for two users use something like this. This sets up VNC for michael and dave on ports 5901 and 5902.

VNCSERVERS="1:michael 2:dave"

Start up TigerVNC

While it may seem odd, the TigerVNC must be stopped, before the server is started for each user.

/etc/init.d/tigervnc stop
vncserver :2  #started on port 5902