Index of /easyrfb
      Name                    Last modified       Size  Description

[DIR] Parent Directory 20-Sep-2014 05:53 - [   ] .htaccess 07-Aug-2011 14:05 1k [TXT] COPYRIGHT.CLL 07-Aug-2011 19:47 3k [TXT] README 07-Aug-2011 21:02 1k [TXT] ajax.js 30-Mar-2011 23:29 3k [TXT] 24-Feb-2012 22:44 1k [TXT] click.php 07-Aug-2011 20:32 2k [TXT] 07-Aug-2011 20:24 4k [TXT] edit.html 18-Mar-2012 10:58 10k [TXT] exec.php 07-Aug-2011 20:32 1k [TXT] htaccess.txt 07-Aug-2011 14:05 1k [TXT] in 31-Jan-2012 21:03 1k [TXT] 31-Jan-2012 21:03 1k [TXT] json2.js 28-Jan-2011 19:40 17k [TXT] 08-Mar-2012 10:08 13k [TXT] 07-Aug-2011 20:24 1k [TXT] 07-Aug-2011 20:24 1k [TXT] run.html 11-Feb-2012 18:27 7k [TXT] 07-Aug-2011 20:24 1k [TXT] 08-Mar-2012 10:08 3k [TXT] 02-Nov-2011 08:05 1k

$Header: /home/tino/CVSROOT/pyrfb/README,v 1.3 2011-08-07 19:02:41 tino Exp $

You need Python 2.6!

Change into a secure directory and copy everything there.  Then do:
	mkdir learn c e
	chmod 1777 e

Create a PHP web directory:
	mkdir /var/www/vnc

Link all neccessary things there:
	for a in .sock *.js *.php learn *.html test.jpg
		ln -s "`realpath "$a"`" /var/www/vnc/

Start a local VNC server:
	Xvnc4 :0 -desktop "`hostname -f`" -localhost -nolisten tcp -rfbwait 30000 -nopn -SecurityTypes None -geometry 1000x1100 :0

Start image grabber, this currently is hardwired to
	nice -99 ./ 1 test.jpg JPEG 18
	# If this does not work look into to see what it needs

Open run.html in your browser:
	echo http://`hostname -f`/vnc/run.html

If you want to do more:
	Look into

	All work without Copyright is CLL, if not otherwise stated.
	CLL is PD disallowing Copyrights.  See COPYRIGHT.CLL

-Tino <>
$Log: README,v $
Revision 1.3  2011-08-07 19:02:41  tino
pager added

Revision 1.2  2011-08-07 18:33:43  tino
some more notes added