Un*x version server (common)

Cannot connect from remote hosts

If the server can be connect only by localhost, i.e., if vncviewer localhost:1 works, then probably Firewall setting need to be changed.

VNC uses displayno+5900 port. If firewall is enabled, TCP port displayno+5900 needs to be opened.

Or, alternatively, you can use SSH tunneling.


Cannot use clipboard

First, check if windowmonitor is running.

Misdetection on log on screen

On GDM, metavnc server sometimes misdetect transparent region. This case can be solved by changing the policy of detecting transparent region.

  1. root (only the root window is transparent)
    On GNOME or KDE, the desktop window need to be hidden by the method written in "How to hide the desktop window."
  2. wmon (wait until windowmonitor is launched)
    The windowmonitor need to auto-start after log on.

Background does not get transparent


On KDE4, background cannot be transparent if XComposite extension is enabled. See "How to hide the desktop window".

How to hide the desktop window


Run nautilus with --no-desktop option.


Configure not to autostart kdesktop.

E.g., remove autostart/kdesktop.desktop in $KDEDIRS(default: /usr/share/).


Configure to autostart plasma with -nodesktop option. After plasma is launched, iconize it.

E.g., modify the autostart/plasma.desktop in $KDEDIRS(default: /usr/share/) as follows;

Exec=plasma -nodesktop

Un*x version server (Xvnc version)

Failed to start

First, check ~/.vnc/hostname:displayno.log

Cannot find fonts

Check if 75dpi and misc fonts are installed. Check the FontPath?. See Setting up the Linux version server.

Cannot find rgb.txt

If the following error is detected, probably rgb.txt is not installed. (E.g., Ubuntu 8.10)

Couldn't open RGB_DB '...'

The workaround is as follows;

% tar xzf X11R6.9.0-src2.tar.gz
% sudo cp xc/programs/rgb/rgb.txt /usr/share/X11/

Un*x version server (vnc.so version)

Failed to start

First, check /var/log/Xorg.0.log. But, please ignore errors on "rfbmouse","rfbkeyb".

X.org xserver 1.4 and later

Unfortunatelly, current vnc.so server does not support X.org xserver 1.4 and later. See X.org xserver 1.4 and later.

Some keys doesn't work

Check "XkbModel?", "XkbLayout?" of "InputDevice?" in /etc/X11/xorg.conf.

Un*x version viewer


Erros on installing RPM

In the case of the following error,

% rpm -Uvh metavnc-0.6.6-1.i386.rpm
error: Failed dependencies:
        libXp.so.6 is needed by metavnc-0.6.6-1.i386

Install libXp.

% yum install libXp

Front page   Edit Freeze Diff Backup Upload Copy Rename Reload   New List of pages Search Recent changes   Help   RSS of recent changes
Last-modified: 2009-01-04 (Sun) 16:28:36 (3303d)