How to use FlashLight-VNC ?

Step-by-step guide:

  • Install a VNC server on the computer you want to control
  • Configure the server to accept a connect on the port you want. We will call this port VNC port
  • On the same computer, set up a server returning a flash socket policy to allow flash to connect to the VNC server (a simple one policyserver.jar). We will call this port Policy port.
  • (a socket policy server just sends an XML socket policy file on a specified port. There are samples somewhere on Adobe website)
  • On another computer, try:
  • telnet (remote computer) (VNC port). Reply should be something like "RFB003.008".
  • telnet (remote computer) (Policy port). Reply should be something like "<cross-domain-policy><allow-access-from domain="*" /></cross-domain-policy>"
  • You can now try to connect with FlashLight-VNC Viewer and it should work !

Available flashvars:

  • debug: switch to debug mode (default: false)
  • hideControls: hide control bar (default: false)
  • hideSettings: hide settings UI (default: false)
  • autoConnect: connect without any use action. (default: false)
  • scale: scale image to fit the view. (default: true)
  • shared: allow VNC session to be shared. (default: true)
  • viewOnly: view only session (cannot control remote computer). (default: false)
  • fmsServerUrl: url to connect to a FMS repeater (uri encoded)
  • streamName: stream name to use on the FMS server (default: vnc, uri encoded)
  • p2pFmsServerUrl: url to connect to a FMS server in RTMFP for peer-to-peer connection
  • peerID: peer id of the VNC server to establish peer-to-peer connection (default: ask user if needed)
  • fallbackToFms: use FMS is peer-to-peer connection fails (default: false)
  • repeaterHost: VNC repeater hostname
  • repeaterPort: VNC repeater port (default: 5900)
  • host: host running the VNC server (default: localhost)
  • port: port on which the VNC server is listening (default: 5900)
  • password: password for the VNC server (default: ask user if needed, uri encoded)
  • securityPort: port of the policy server. (default: 1234)
  • useSecurity: Asks for a security policy on a custom port. Cannot prevent Flash to ask the security policy. (default: true)
  • encoding: prefered encoding to use. Available: tight, hextile, rre, raw (default: tight)
  • colorDepth: color depth. Available: 8, 16, 24 (default: 24)
  • jpegCompression: Jpeg quality for tight encoding. Available range: 0-9 or off (default: 6)
  • updateRegion: Specify to capture only part of remote screen. Format:{x}x{y}x{width}x{height}[xo]. xo at the end specifies that the server keeps the x x y offset on the image. Example: updateRegion=100x100x400x400x0

Project hosted by wizhelp.com.