Xtightvncviewer

From ASCEND
Revision as of 12:53, 14 April 2016 by Jpye (talk | contribs) (Created page with "'''''xtightvncviewer''' is a very fast and light VNC viewer that you can use to access remote machines, including virtual machines, from underpowered computers like Raspberry ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

xtightvncviewer is a very fast and light VNC viewer that you can use to access remote machines, including virtual machines, from underpowered computers like Raspberry Pi. But there's a hard-to find setting that you need in order to make it work well, which is setting the 'grabKeyboard' Xresources setting. After scouring the net for this info several times, I decided to make a copy here...

In the client's computer, we install the viewer with:

sudo apt-get install xtightvncviewer

To avoid problems with the keyboard in full screen mode (who owns the keyboard, the client's desktop or vncviewer?) we shall give the keyboard to vncviewer. To do that we just type:

echo "Vncviewer*grabKeyboard: true" >> ~/.Xresources
xrdb -merge ~/.Xresources

in order to define the option grabKeyboard in the /home/user/.Xresources file.

We are ready to login using

xtightvncviewer -fullscreen -x11cursor 192.168.1.6:1

(replace with your own server's IP address as appropriate).

Do not use the option -fullscreen the first time, just in case you can't get out... use F8 to scape from fullscreen mode. if F8 does not work, it is imperative to use the grabKeyboard option as explained at the begining of this section. The option -x11cursor shows a more beautiful pointer for the mouse.

This useful information taken from http://cosmolinux.no-ip.org/raconetlinux2/vnc.html, via the Wayback Machine