TigerVNC

A client/server software package allowing remote network access to graphical desktops.

Emerge
Those using the package for the VNC server need to install the package with the  USE flag enabled. This can be added to the file (or directory), or specified one-shot-like on the command-line:

Those installing just the client can simply emerge the package:

Configuration
Login as 'normal' user. The following steps should be take for any user who wishes to configure the VNC server for remote connection.

Set a password:

Start the server:

If desired, use a VNC client on either a local or remote machine to test the connection.

Once finished, kill the running vncserver:

Displays
Setup the displays. Substitute each ' ' value below with the name of a user who will be running the VNS server on the machine:

Typically the value of  will be used for the server's own X display. This is why the example above starts by using the  display handle.

Desktop environments
Each user who will be running a VNS server can configure an X startup script. This script can define which desktop environment will be used for the X server to run when connecting a client to the server. For example:

lxterminal
Edit the VNC startup script:

twm
Edit the VNC startup script:

Make sure the file is executable:

OpenRC
Start the server: