[FreeNX-kNX] Sharing a NX-X11 session with VNC

Eike Hein sho at eikehein.com
Sat Oct 22 16:13:38 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

what I'm trying to do is to work around the Linux->Windows resume
limitations by exposing a running NX-X11 session via a VNC server
that acts as a X11 client within it.

The setup is as follows:
Server: Linux, FreeNX 0.4.4 with a 1.5.0 backend (second main
        tenance release)

Client: Dual-booting between Linux with the latest nxclient and
        Windows XP with RealVNC Viewer 4.1


Now, I was told on the #nx IRC channel that this is not possible,
but I'm nothing if not stubborn.

At first, just launching x11vnc (or x0vncserver) inside the NX
session (using $DISPLAY as display parameter) worked fine, but
the clients would only receive a grey screen. Keyboard/mouse
did work, however.

Eventually I tried running NX with the -slow option, and now
I'm getting good image via VNC :).

The remaining problem is that keyboard and mouse only work
when nxclient is running and connected to the session. Also,
the VNC server only receives display updates when the session
is active, not when it is suspended. Obviously, that makes a
lot of sense normally - no reason to have the server waste
CPU cycles when no client is connected. However, that breaks
my VNC setup.

So, the question is, what can I do to have the session remain
active despite the nxclient logging out / suspending it? Per-
haps there is a parameter somewhere to accomplish this? Have
it burn those CPU cycles on purpose?

Another way may be to start an nxclient on the remote server
and have it connect to localhost whenever no other nxclient
is connected (and disconnect when a resume request comes
through) - any ideas how to accomplish this, if there is no
nicer way to reach the ultimate goal?


- --
Regards,
Eike Hein, sho at eikehein.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDWmUya5qNU/Y/A7oRAl42AKCesZ6lUQCHEO0p9f+JneSi2jgSagCgjH1W
NEfVrOtIY0yXfk+UWfB97zw=
=xscJ
-----END PGP SIGNATURE-----



More information about the FreeNX-kNX mailing list