TightVNC
From Gentoo Wiki
A client/server software package allowing remote network access to graphical desktops.
Contents |
Setup
| USE flag | Default | Recommended | Description |
|---|---|---|---|
| java | No | Enables an integrated web server which provides a java based client. | |
| tcpd | No | Adds support for TCP wrappers | |
| server | No | Build vncserver. Allows us to only build server on one machine if set, build only viewer otherwise. |
Server
Install tightvnc with the server use flag enabled.
Configuration
Login with normal user.
user $ vncpasswduser $ vncserverkill the running vncserver:
user $ pkill XvncEdit the vnc startup script:
File~/.vnc/xstartup:
#!/bin/sh xrdb $HOME/.Xresources xsetroot -solid black lxterminal & /usr/bin/lxsession -s LXDE &
Setup the displays
File/etc/conf.d/vnc:
DISPLAYS="user:1 user2:2"
Starting
root # /etc/init.d/vnc startConnecting
user $ vncviewer server:1Connect over ssh with high resolution
user $ vncviewer -truecolour -quality 9 -via user@remotehost localhost:1user $ vncviewer -truecolour -quality 9 -via user2@remotehost localhost:2