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] allchecks.sh 24-Feb-2012 22:44 1k [TXT] click.php 07-Aug-2011 20:32 2k [TXT] easyrfb.py 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] in.inc 31-Jan-2012 21:03 1k [TXT] json2.js 28-Jan-2011 19:40 17k [TXT] rfbimg.py 08-Mar-2012 10:08 13k [TXT] rfbkey.py 07-Aug-2011 20:24 1k [TXT] rfbmove.py 07-Aug-2011 20:24 1k [TXT] run.html 11-Feb-2012 18:27 7k [TXT] sendsock.py 07-Aug-2011 20:24 1k [TXT] todo.sh 08-Mar-2012 10:08 3k [TXT] todorunner.sh 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
	do
		ln -s "`realpath "$a"`" /var/www/vnc/
	done

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 127.0.0.1:5900:
	nice -99 ./rfbimg.py 1 test.jpg JPEG 18
	# If this does not work look into easyrfb.py to see what it needs

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

If you want to do more:
	Look into rfbmove.py

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

DO NOT MAIL, USE MY PAGER https://hydra.geht.net/pager.php
-Tino <webmaster@scylla-charybdis.com>
$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