Ubuntu VNC session

From D3xt3r01.tk
Revision as of 12:40, 18 December 2009 by Admin (talk | contribs) (→‎HOW)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.