Home About cre.ations.net Recent creations Nate True's blog Most popular Most viewed Browse creations Creators Forums
Log in Register
WebVNC - Remote Desktop / VNC on your iPhoneAll > Tech > Software > WebVNC - Remote Desktop / VNC on your iPhone by natetrue
I decided on TightVNC as my starting point. There was already a built-in HTTP server that I modified heavily. Right now it's Windows only because that's all I have to develop on, but I didn't use Windows-specific functions so porting should be trivial. (Update: now it does use Windows-specific functions for window choosing. Sorry!)
- Download the Binaries from my website (Developers: source, patch)
- Extract all files into some folder and run WinVNC.exe
- It will ask you to set a default password. CAUTION: At the moment the web client sends your password in plaintext. Use caution when connecting over open Wi-fi access points.
- Note your computer's IP address, and type it into the iPhone Safari address bar, appending :5800, like http://192.168.10.13:5800/
- Enter the password in the password box, and hit Log In.
- A list of windows will show up. Choose one or use Full Desktop to show it all.
Use the iPhone's excellent zooming and panning capabilities to move around your desktop. To perform an action such as clicking or typing, tap the screen where you want to do it, and a menu will show up, along with a crosshair for accuracy.
- Clicks: Left, right, middle, double
- Scrolling: Mouse wheel up and down
- Dragging and dropping (click Drag to hold mouse button down, click Drop to release)
- Text entry
To enter text, use the Text Input button. VNC will click where the crosshair is centered, then create a text box for you to enter text.
How it works
WebVNC is a modification of the VNC server. Where before the HTTP server in VNC would just serve a Java applet, now it serves an AJAX application that downloads the screen as a set of JPEG images. The application then checks back with the server to see which ones have changed, and reloads them. Input is just another message to the server.
The window list is done with Windows-specific functions, enumerating top-level windows and returning a list of their titles and positions. When you click one the VNC server activates the window and the AJAX app limits its window size to just the one window.
If you have any questions, please join cre.ations.net and post a comment below. I look forward to your feedback!
Log in or register to post comments.
Comments and questions to
(more recent creations)
Publish your own creations for free on cre.ations.net!
Learn more about cre.ations.net