Linux to Linux VNC
throopw "at" sheol.org
Sun Jul 18 17:59:00 2004
::: [... ie, I'd like to connect directly to another Linux machine and
::: see and manipulate exactly what my user is seeing at that moment (as
::: well as have him or her seeing exactly what I'm doing)].
: Yup ... tried running x0vncserver on server side and vncviewer<IP>:0
: on client but got "unable to connect to host: Connection refused (111)" ...
Not sure why that would be; presumably (as you discuss) a firewalling
or security issue; vnc hasn't yet gotten its TCP connection, so it's
a problem outside of VNC (most likely).
As to alternative methods, there are at least five ways to accomplish
what you want to do, two of which you've already mentioned. See list
below. And note that which one works best depends on specific details
of your situation. But be aware that performance will be poor for the
remote access for every case but x4vnc and Xvnc, and for the local
access in use of Xvnc.
Possibly the simplest way is Xvnc, the cleverest and best-performing is
x4vnc, the most standard out-of-the-box either krfb or x0vncserver, and
x11vnc the most flexible and portable and easiest to start on a
straight vanilla X11 display.
So. The methods are:
1. Run an Xvnc process in normal work, and even locally, use
vncviewer. That has performance impact for the normal, local apps,
so isn't the best way, and doesn't allow doing it after the fact
without preplanning. But it's simple, straightforward, and works
with all VNC releases.
2. Use KDE screen sharing.
3. Use the xf4vnc loadable module for Xfree86.
This probably has the best performance.
4. Use x0vncserver from realvnc v4.
5. Use x11vnc, which is based on the libvncserver project.
x11vnc uses essentially the same methods as x0vncserver and KDE screen
sharing, but is implemented in a completely different way, is written
in C with no C++ for greater portability (eg, to Sun or others), and
has a raftload of tailoring options to do various specialized things.
It's what I use for this purpose, since I have to talk to non-linux
X servers sometimes, and it's easy to start up after the fact with
Wayne Throop throopw "at" sheol.org