Using a computer to control your phone with VNC

Source: Internet
Author: User

In addition to being able to be used to visualize remote Linux operating systems under the Windows operating system, VNC software can remotely connect to Windows's operating system visually under the Windows operating system, both of which require the installation of vncserver on a remote system. Here are the specific steps:

The first is the mobile phone side.
1)DownloadAndroidVncserver:
Http://code.google.com/p/android-vnc-server/downloads/list
interested can download the source code to recompile itself, the source address:
Http://code.google.com/p/android-vnc-server/source/checkout

2) Copy the Androidvncserver to the phone, I copy it to/data/local/fileclamp down. There are many ways to replicate:
you can use ADB push to go in, namely:

    1. ADB Push Path/androidvncserver/data/local/
can also be copied toSD card, and then use Root Explorer to copy to/data/local/folderthe next.

3) Change the Androidvncserver permissions on the "terminal" of the phone as follows:
    1. # chmod 555 Androidvncserver
Change permissions to read-only and executable. This step can be done directly with root Explorer.

This requires root permissions, different phone permissions to get the same, my htc too troublesome to get permission


4) Run Androidvncserver, execute the following code on the phone's "terminal":

    1. #/data/local/androidvncserver &
so Androidvncserver started the service.


then the computer-side settings .
1) The computer installs the VNC Client. Install a free real VNC viewer. Software Address:Http://www.realvnc.com/products/free/4.1/index.html

2) If the phone is connected to WiFi, and the computer is in the same LAN, or mobile phone through the wireless network card CongratulationsNetworkto the computer.
run on the phone's "terminal"

    1. # BusyBox Ifconfig-a
See TWiFiWhat is the IP address of 0, for example: 192.168.1.100.
run VNC Viewer on your computer, address fill 192.168.100 5901, click "OK" to see the phone screen.

3) If the phone is connected via USB tethering on the computer, the phone is shared via USB to the computer, or the computer is shared via USB to the phone.
run on the phone's "terminal"
    1. # BusyBox Ifconfig-a
See what the IP address of the usb0 is, for example: 192.168.77.254.
run VNC Viewer on your computer, address fill 192.168.77.254 5901, click "OK" to see the phone screen.
here is a hint that busybox does not have this command, you need to download a busybox yourself installed on the phone and then, of course, you can view IP through the network settings, there is no need to be so complicated
4) If 2, 3 is not the case, you can connect by the following ways.
execute the following command on your computer:
    1. ADB forward tcp:5901 tcp:5901
then open the VNC Viewer, address fill 127.0.0.1 5901, click "OK" to see the phone screen.

Turn off the Androidvncserver service on your phone
1) Run in "terminal" of the phone
    1. # PS | Grep/data/local/androidvncserver
The displayed result in that row, the number behind root is the process number (PID), for example, 8233.

2) Execution
    1. # Kill 8233
To end the androidvncserver.


Press and hold the call key, long press the trackball or middle key = right-click;
Press Trackball or double click = or double tap or enter;
Move trackball = cursor or direction key;
Right shift = Tab key;
[Shift, key]= uppercase;
[Alt, key]=[alt letter]
[Alt+key]=[alt (PC) =key]
[Search Key]= soft keyboard
[Shift = trackball]= cursor
[X, y ] device ×, x, y, y
[X+y] device x, y, y, x

Use the menu key or the search key to display the soft keyboard, switch the trackball working mode
If you cannot see the cursor selection [tracking cursor]

Using a computer to control your phone with VNC

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.