安装:sudo apt-get install vnc4server,vncviewer
默认vnc2swf安装了的。
pyvnc2swf的说明文档:http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf.html
1. 先建立一个vnc服务器:
disappear@ubuntu:~$ vnc4server
New 'ubuntu:1 (disappear)' desktop is ubuntu:1
Starting applications specified in /home/disappear/.vnc/xstartup
Log file is /home/disappear/.vnc/ubuntu:1.log
#可以用vnc4server -kill :1来删除vnc server
2. 使用vncviewer连接vnc服务器:
disappear@ubuntu:~$ vncviewer ubuntu:1
Connected to RFB server, using protocol version 3.8
Performing standard VNC authentication
Password:
3. 运行vnc2swf来录制操作
disappear@ubuntu:~$ vnc2swf -n -o 000.swf locahost:1
Using pyg