Remote desktop using Xnest

I just learned about the existence of Xnest. It’s probably not as nice a solution as using the commercial nx software (or whatever advantage of VNC is) … which we presume has lots of clever stuff hidden inside… but it has the advantage of not needing any additional service to be run on the remote machine, and Xnest already being in the debian repositories with all convenience and open sourceness that entails. Log in to shell on remote machine using ssh, then start this Xnest program.

Example of using Xnest

Example of using Xnest, Remote desktop (gnome-session) served up to my gnome3 desktop.

Xnest can be used locally, for example to allow creation of a parallel nested xsession with different window manager. Just like other gui applications it can be started if you are log in using ssh and allow xforwarding (using x11 on unix or available with for example cygwin on windows). This allows you to log in remotely and start gnome session in a window, giving remote desktop.


Xnest -geometry 1150x750 :1 &
xterm -display :1

Then start for example gnome-session from the xterm embedded in the Xnest window.

Advertisements

One Response

  1. Ah yeah, I also found client application for use with nx and vncservers, that is remmina, different clients supported by use of plugins.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: