Ubuntu VNC session

From D3xt3r01.tk
Jump to navigationJump to search

WHY

Because by installing a vnc server and starting a gnome thing, you only do that remotely, it doesn't show your current X session ( which I'm trying to do ).

HOW

Install packages:

sudo apt-get install x11vnc vnc-java gvncviewer mozilla-gtk-vnc xtightvncviewer vinagre

Setup a password

x11vnc -storepasswd

Start it

x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800

If you don't want others to mess with your screen/keyboard .. Use this:

x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800 -noxdamage --nolookup -viewonly

Feel free to add it to your start-up session.