

There is one more thing that needs to be done on the remote machine. These would listen on ports 5901, 5902, 5903 respectively. VNCSERVERARGS="-geometry 800圆00 -depth 8" In our case, leopard’s vnc server would listen on port 5903.įor multiple vnc instances /etc/sysconfig/vncservers would look like this: VNCSERVERS="1:tiger 2:albatros 3:leopard" Each VNC server instance listens on port 5900 plus the display number on which the server runs. With these we define that a vnc server instance should be started as user leopard on display 3 and we also set some options for this server such as resolution and color depth. VNCSERVERARGS="-geometry 1024x768 -depth 16" Edit this file so that it contains the following: VNCSERVERS="3:leopard" These will be started by the vncserver initscript. In Fedora Core or Red Hat based distros in general, all we have to do is define the VNC server instances in /etc/sysconfig/vncservers. I assume that we have setup a remote user account, named " leopard" and we want to start an X session through VNC for this user. The RPM packages vnc-server and vnc should be installed on the remote machine and your workstation respectively. A user account should exist on the remote machine.
