My favorites | Sign in
Logo
                
Search
for

New to VNC? See FAQ #0

User Documentation Read The Fairly-complete Manual

(FAQ) Frequently asked questions Questions and answers about known issues

Install/uninstall tips Upgrading to a new version will sometimes fail if you don't uninstall the old version first. See here if you need to know how to uninstall the old version before you install the new.

How to help

Acknowledgements

android-vnc-viewer uses code from TightVNC and antlersoft

Updated Dec 17 (44 hours ago) by googlec...@antlersoft.com
Documentation  

Using android-vnc-viewer

android-vnc-viewer lets you use your Android mobile device as a client for a VNC server. It is a work in progress and still has a number of limitations.

Connection Configuration

When you first open android-vnc-viewer, you will see a connection configuration page. Here you can set up a connection with a VNC server, or choose an already configured connection.

The page is divided into two sections. The top section contains a drop-down list of the connection configurations you've created. The first time you run android-vnc-viewer, this list will have only one entry: New. Select New when you want to create a new configuration.

Next to the list is a Connect button. The Connect button will start the VNC client with the currently selected configuration.

The bottom section of the page is where you enter your connection configurations. There are more options that will fit on the page, so this section scrolls.

Nickname Each configuration you create can have a nickname which will make it easy to find in the list. Enter that name here.
Password If your VNC server is configured to require a password, enter that password here. Most configuration settings are stored in a simple database on your device. The password will only be stored if you check Keep; otherwise, you will have to re-enter it when you recall a configuration. Even if the password is not stored in the database, it will remain available on the page for as long as android-vnc-viewer runs on your device.
Address This is where you enter the DNS name or IP address of the computer running the VNC server to which you want to connect.
Port Here you should enter the port number of the VNC server. This field will default to the first VNC port number, 5900.
Color Format The client supports a number of color formats, which are specified by number of colors/number of bits per pixel. Formats with more bits per pixel provide greater fidelity to high color depth displays, but use more bandwidth (sometimes dramatically more because they don't compress as well) and more CPU on your Android device. Not all VNC servers support all color depths; OS/X Remote Desktop for example requires 24-bit color. If you are having trouble connecting, try another color depth.
Use local mouse pointer Some VNC servers (notably OS/X desktop sharing) will not draw the mouse pointer on the client; it's hard to use them without knowing where the mouse is. Checking this option will cause android-vnc-viewer to draw a small square cursor at the mouse position (it's not the actual mouse cursor, but it's better than nothing).
Force full-screen bitmap The VNC client requires a bitmap for it's representation of the display. For a VNC server serving a large display, this bitmap might require more memory than Android allows in an application. To work with these large displays, android-vnc-client breaks large display into smaller tiles and works with only one tile at a time. Unfortunately, this will sometimes create some visual artifacts. In particular, when a large display is in Fit to Screen mode only a portion of it will be visible, and in 1:1 mode as you pan over a large display you might see different parts of the display flicker in. android-vnc-client will only use tiling if it thinks the display is too large to fit in memory, but you can override this decision and always turn off tiling by checking Force full-screen bitmap. This might cause the application to crash on connection.

The menu on this page allows you to Delete unneeded connection configurations; to Save as Copy an existing connection to base a different configuration from it; or to open this Manual/Wiki.

VNC Client

After you press the connect button, android-vnc-viewer will try to connect to the specified VNC server. If it is able to handshake, authenticate and download the first frame, you will be able to see and control the served display.

In general, VNC servers expect clients with a full keyboard, a mouse and a generously-sized screen. Because the Android device lacks these, android-vnc-client has some special adaptations to make it usable.

Scaling

The served display can be shown on the Android device in three modes. You can switch between the modes with the Scaling (Menu-Z) menu item.

Zoomable is the default mode with the latest version of android-vnc-viewer. It allows you to select one of a number of zoom levels on the fly, so you can see more of your screen or zoom in for more accurate touch control. To some extent it supercedes the other modes, but it will use slightly more battery power.
1:1 mode shows the display with pixels mapped one-to-one. Typically, only a portion of the served display will show on the Android device; you can pan around the display with the device controls.
Fit to Screen mode scales the full display so it will fit on the device screen. This doesn't work properly with large displays, since the phone can't fit them all into its memory.

Input Modes

There are several modes for adapting the input controls of the Android device to the VNC display, to enable a style of interaction most convenient for the applications you are using. You can switch between these modes with the Input Mode (Menu-P) menu item.

Touch Mouse Pan and Zoom This is the default input mode and is designed to work like the Android browser. You can both pan the display and control the mouse using the touchscreen and gestures. You pan by dragging or flicking on the touchscreen; you click the mouse by tapping on it. You right-click by double-tapping (or by holding down the camera button while tapping). You drag the mouse by doing a long press on the display, and then dragging. In this mode the trackball (if your phone has one) can also be used to control the mouse; this may give you finer control.
No Pan; Trackball Mouse This mode is only available in Fit to Screen scaling and is the only input mode available then. In this mode the touchscreen is not used. Keyboard events are sent to the server and the trackball (if your device, like the G1, has a trackball) controls the VNC mouse.
Desktop Panning Mode In this mode, both the touchscreen and the trackball are used to pan the device display over the larger VNC display. Keyboard events are sent to the server. Pressing the trackball toggles between Desktop Panning and Mouse Pointer Control modes.
Mouse Control Mode In this mode, use the touchscreen to control the mouse. Touching the screen generates a mouse click at that point; dragging on the screen creates a mouse drag. Keyboard events are sent as normal. The trackball is used to send arrow-key events to the VNC server. Pressing the trackball toggles between Mouse Pointer Control and Desktop Panning modes.
Touch Pan; Trackball Mouse In this mode, drag on the touchscreen to pan the device display over the VNC display. Keyboard events are sent to the server. The trackball controls the VNC mouse. Pressing the trackball sends a mouse click; holding the ball down while rolling accomplishes a click and drag. This is the default input mode when scaling is set to One-to-One.
DPad Pan; Touch Mouse In this mode, use the directional pad (available on some devices) to pan the display over the VNC display. Touch the screen to send a mouse click; touch and slide to send a mouse drag. Use the camera button while touching the screen to simulate a right-button click or drag.

Special Controls

Some special controls try to make up for missing features of an Android device (i.e., a G1) as a VNC controller.

  • To send the Esc key, press the Back button on the device.
  • To send the arrow keys, roll the trackball in Mouse Pointer Control Mode or use Menu-H,J,K,L for Left, Down, Up, Right
  • The Alt button generally is used to send the special symbols that aren't otherwise available on the keyboard, rather than sending the Alt meta-key over the VNC connection.
  • The volume control buttons simulate turning the mouse scroll wheel up or down. (Holding them down doesn't work, to scroll further click repeatedly).

  • To send control keys, function keys and other special keys and combinations see Special Keys.

Other Menu Items

Send Keys (Menu-S) This opens the Special Keys dialog to let you configure and send special keys and combinations.
Mouse @ (Menu-M) Warps the VNC mouse to the center of the portion of the display shown on your device.
Send Text (Menu-E) Opens a dialog that lets you enter a block of text that can then be sent to the server. Useful for phones without a physical keyboard.
Color Mode (Menu-C) Allows you to switch the Color Mode of your connection.
Pan Follows Mouse (Menu-F) The display will automatically pan to follow the mouse around the screen

Mouse follow pan If you pan the display so the mouse moves off the visible portion of the screen, the mouse will be warped to the middle of the screen. You can use both follow modes together.
Disconnect (Menu-D) Closes the current VNC connection, returning you to the configuration page.

Ctrl-Alt-Del (Menu-A) Sends Ctrl-Alt-Del over the VNC connection.
Info (Menu-I) Gives information about current configuration
Send Key Again (Menu-G) Send the last sent special key again

Special Keys

The Send Keys (Menu-S) button opens the Send Special Keys dialog. This allows you to access all the keys on a full-sized keyboard, or to send keys or any mouse button with any combination of the modifiers Shift, Alt and Ctrl. (You might even use it as a touch-screen keyboard, but you would have to be incredibly patient.)

The dialog has checkboxes to select Shift, Alt and Ctrl, and a list of keys to select from. When you have the desired key combination, press the Send button and it will be sent to the VNC server.

Every time you send a special key in this way it is saved to a list. As a shortcut you can select from that list instead of selecting from the list of all the keys.

Actually, multiple lists of special keys are supported. You can use the buttons at the bottom of the scrolling section of the dialog to create a New list or to Copy your list to a new name. This way you can have compact, application specific lists, if you want, for quick access to the keys you need.

An entry on the VNC Client menu lets you re-send the last special key you sent with the shortcut Menu-G.

You can operate this dialog from the keyboard as well as using the touch controls. Press Alt and Shift to toggle those modifiers. Press the Search button to toggle the Ctrl modifier. When you type a regular key on the keyboard, that key plus the selected modifiers will be sent immediately to the server.


Comment by griot509, Mar 14, 2009

Whre do I find the IP asdress from my mac os-x??

Comment by thomas.korosa, Mar 17, 2009

it would be VERY helpful if in 1:1 mode the trackball would be alternately usable as a mouse - i almost never hit anything via touch and in fitToScreen mode the desktop is imply unreadable

Comment by popoffsun, Mar 23, 2009

can some help me with this

Comment by josephpferrie, Mar 25, 2009

Works very nicely. Is there a way to control the mouse speed/sensitivity (with the trackball on the Android, it takes a while to scroll across and entire screen on the server)?

Comment by crash.1730, Apr 14, 2009

just try googleing "whats my ip address" and click on the first link. it should post your ip address at the top of the page. i am unaware however if this will work for osx.

Comment by ojimo28, Apr 20, 2009

help how can i view my laptop. its using a wireless router

Comment by 3645180, May 01, 2009

Whatsmyip.org

Comment by massou, Aug 07, 2009

I have a Samsung Galaxy without keyboard, i don't figure how to use one,.... Moreover It will be helpful to have a special key to send the Enter key ..... (i don't figure out how to do it, mousse control not so easy) For the rest, i have tested it with success over Internet and on Lan (and Wlan too) Works like a charm...

Comment by richiewg, Aug 12, 2009

Could somebody help me, a walkthough. i can't figure this out and I have tryed everything.

Comment by richiewg, Aug 12, 2009

Oh my google email is richiewg@gmail.com

Comment by jpkemp5327, Sep 07, 2009

Having difficulty using since upgrade. I have uninstalled and reboot phone sevral times. I have port forwarding on Linksys router and ip from ip chicken is 75.87.150.26. I have opened ports 5900 and 5800 from previous installation that use to work. Any advice?

Comment by lesliehjlai, Sep 19, 2009

need help here. installed tightVNC server on my winxp machine. tried logging in with VNC viewer on my android but somehow it doesn't work. when I did a mouse-over on the server icon on my computer, the ip shown isn't my actual ip address but I have tried all variations, doesn't seem to work at all.

Comment by jonboy545, Oct 10, 2009

Works great with my win xp machine. Only problem is the trackball click does not work with my sprint HTC hero.

Comment by hvongahlen, Oct 11, 2009

help how can i view my laptop. its using a wireless router

Comment by hs95513, Nov 11, 2009

I followed the directions on my hero. Im using a linksys. Cant connect.

Comment by hagure, Nov 12, 2009

Works great!

Unfortunately, with my 24-bit requring mac, and my trackball-less droid, there isn't a lot I can do with it, but the geek factor is just awesome.

It'd be great if this labor of love could be updated for newer phones!

And as a note to those having connection problems: If you're trying to connect to your computer at home, chances are you have a "Dynamic" IP address. You'll need to use a service like DynDNS to assign a static IP to your computer.

Comment by BradleyGrillo, Nov 29, 2009

Sound over my Android speaker?

Comment by israelmercado2, Dec 01, 2009

i have NO idea what I'm doing. Will some one please tell me how to find all this info. on my computer? address port and connection? I really need to use this at work and I can't have my computer out but need stuff off of it. israelmercado2@gmail.com

Comment by angelaqu...@yahoo.com, Dec 01, 2009

I can't get it to work with the right password and the right ip using vista any help?

Comment by kirkh...@sbcglobal.net, Dec 16 (2 days ago)

Tedious but it works. The more I use it the more I get used to it.


Sign in to add a comment
Hosted by Google Code