Name Last modified Size Description
Parent Directory 18-May-2013 15:59 -
.htaccess 07-Aug-2011 14:05 1k
COPYRIGHT.CLL 07-Aug-2011 19:47 3k
README 07-Aug-2011 21:02 1k
ajax.js 30-Mar-2011 23:29 3k
allchecks.sh 24-Feb-2012 22:44 1k
click.php 07-Aug-2011 20:32 2k
easyrfb.py 07-Aug-2011 20:24 4k
edit.html 18-Mar-2012 10:58 10k
exec.php 07-Aug-2011 20:32 1k
htaccess.txt 07-Aug-2011 14:05 1k
in 31-Jan-2012 21:03 1k
in.inc 31-Jan-2012 21:03 1k
json2.js 28-Jan-2011 19:40 17k
rfbimg.py 08-Mar-2012 10:08 13k
rfbkey.py 07-Aug-2011 20:24 1k
rfbmove.py 07-Aug-2011 20:24 1k
run.html 11-Feb-2012 18:27 7k
sendsock.py 07-Aug-2011 20:24 1k
todo.sh 08-Mar-2012 10:08 3k
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