TightVNC

From Gentoo Wiki
Jump to: navigation, search

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

Contents

Setup

→ Information about USE flags
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 $ vncpasswd
user $ vncserver

kill the running vncserver:

user $ pkill Xvnc

Edit 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 start

Connecting

user $ vncviewer server:1

Connect over ssh with high resolution

user $ vncviewer -truecolour -quality 9 -via user@remotehost localhost:1
user $ vncviewer -truecolour -quality 9 -via user2@remotehost localhost:2
Personal tools
Namespaces

Variants
Actions
Gentoo Websites logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Navigation
Toolbox
Categories