x11vnc allows you to connect to real X displays without creating any new X session (fluxbox, twm, gnome etc.). It allows you to control the mouse, keyboard and X events remotely. I usually use it when friends of mine need help and I want to see what exactly they’re doing.
Make sure any **ssh server **is running on remote-hostand you have a vnc client installed on your localhost. Also make sure remote-host has x11vnc otherwise this won’t make sense at all.Then run:
|
|
Now the whole connection is encrypted via ssh. Now open new terminal and run:
|
|
That’s all!