yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] huisinro:
Its necesary to connect it as Camera(PTP), not Media Device(MTP).

Steps:

Plug device via USB into laptop

On device, bring down the menu (swipe from top all the way down)

You should see your USB connection there. Tap it to see more options.

Change from "MTP" (Media Device) to "PTP" (Camera)

Start VMLite client on laptop

Click "start server". Works!
[Android Apps and Games] moorer11:
So...I tried again.

When I attempt to start the server I get:

1) Superuser request

2) I grant permission...

3) Message: VM Lite VNC Server has been granted superuser permissions..

I don't expect to get this, but I do:

4) Popup: Please connect this device...run VMLite Android App Controller to start server

So...I try the app:

Starting VMLite VNC Server on device ...

Checking Android devices ...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

List of devices attached

R32CC024VXD	device

VMLite VNC Server is successfully started.

You can now safely disconnect your device from this PC, and quit this program.​

"Server is stopped" never changes to "Server is running"...

Ideas?
[Android Apps and Games] huisinro:
It seems your device is now recognized by our Android App Controller, so the problem is the vnc server on device.

Are you using version 1.1.6? old versions won't work for Nexus with android 4.2
[Android Apps and Games] moorer11:
Yes..1.1.6 and the Android version is 4.2. I assume that means it's not 4.2.1...
[Android Apps and Games] huisinro:
4.2.1 should work. Can you try to uninstall it completely? and re-install the ppp.

If you still have issues, pls run the following command from Windows Command Prompt: (make sure the vmlite vnc server apk is first launched on device)

"C:\Program Files (x86)\VMLite\AndroidAppController\adb.exe" shell "/data/data/com.vmlite.vncserver/files/vmlitevncserver --nodaemon"

while your device is hooked to PC via USB

what is the output message?
[Android Apps and Games] Arqtico:
On a rooted LG Optimus L3 LGE400 with stock room V10N europe, the app Droid VNC Server 1.1RC0 don't work, say "Could not start server :(" (starting as root, and not)

Thanks, Arqtico
[Android Apps and Games] moorer11:
So...I wiped the device back to factory, rooted, then reinstalled the server. I tried to start the server, and it behaved as before. I tried, too, using the App Controller running on the PC. Still says "Server is stopped".

Then, I ran the command as follows as in your request:

D:\Program Files\VMLite>"d:\Program Files\VMLite\AndroidAppController\adb.exe" shell "/data/data/com.vmlite.vncserver/files/vmlitevncserver --nodaemon"

soinfo_relocate(linker.cpp:975): cannot locate symbol "_ZN7android10VectorImpl19reservedVectorImpl1Ev" referenced by "/data/data/com.vmlite.vncserver/files/vmlitevncserver"...CANNOT LINK EXECUTABLE

Note it was:

_ZN7android10VectorImpl19reservedVectorImpl1Ev

not:

_ZN7android10VectorImpl19reservedVectorImpl1E v

Somehow a space appeared to creep in there...
[Android Apps and Games] huisinro:
can you post the exact android version from your device settings? The error indicates a symbol error, need to fix this.
[Android Apps and Games] moorer11:
Android Version

4.2

Kernel Version

3.4.5-g52f6ab1

android-build@vpbs1.mtv.corp.google.com #1

Thu Oct 18 14:45:54 PDT 2012

Is that all you need?
[Android Apps and Games] huisinro:
exact 4.2? usually 3 digits.

can you send the file size? adb shell "ls -l /data/data/com.vmlite.vncserver/files/vmlitevncserver"
[Android Apps and Games] moorer11:
Yes..."4.2"...2 digits

file size:

D:\Program Files\VMLite>adb shell "ls -l /data/data/com.vmlite.vncserver/files/vmlitevncserver"

-rwxrwxrwx u0_a65 u0_a65 412376 2013-02-12 17:01 vmlitevncserver
[Android Apps and Games] huisinro:
Thanks, the file size is correct, this binary is supposed to work on Android 4.2 and above. Very weird. It works on many other Nexus 10 devices, but not yours. I will debug it, and send you a new build.

Do you happen to know the Android API level? if you run "adb logcat", then start VMLite VNC Server app on device, it will log the api level. I assume it's 17.
[Android Apps and Games] moorer11:
but IDEver

No...I don't know. And I tried logcat and starting the server, but I didn't see anything that I looked like the API level...

Is there a specific string I can look for?
[Android Apps and Games] huisinro:
search for "VMLiteVNCServer"

you may need to reboot the device, or uninstall/reinstall the app, it only reports those info when it first gets launched.
[Android Apps and Games] moorer11:
I presume it's this:

V/VMLiteVNCServer( 4022): Build.VERSION.SDK_INT=17
[Android Apps and Games] huisinro:
yes, that's what Ithought too, 17.

Did you do a custom build? if so, do you know the android source tag, such as android-4.2_r1, which is the label I used to compile our server.
[Android Apps and Games] moorer11:
Indeed, that is text I copied from logcat, of course...

No...no custom builds...totally stock. (The first time I touched this thing was 3 days ago...)
[Android Apps and Games] moorer11:
Any updates huisinro?

I'd really like to get this working...
[Android Apps and Games] huisinro:
can we do a TeamViewer session now?
[Android Apps and Games] moorer11:
Sure...though I'm not familiar with using TeamViewer...being viewed...

---------- Post added at 03:18 AM ---------- Previous post was at 03:14 AM ----------

ok...I have ID, password, Partner ID..

---------- Post added at 03:29 AM ---------- Previous post was at 03:18 AM ----------

moorer1@comcast.net

---------- Post added at 04:00 AM ---------- Previous post was at 03:29 AM ----------

sorry I missed you; i'm unavailable until Tuesday...suggest a time, and I'll try to accommodate...

thanks!
[Android Apps and Games] huisinro:
can you post a screenshot that shows the Android versions from Settings?
[Android Apps and Games] moorer11:
Sure...here is the image...
[Android Apps and Games] moorer11:
I added an image that I hope will be more readable...
[Android Apps and Games] huisinro:
Thanks for the screenshot. I am trying to find the exact 4.2 source tree to build. Our build is based on 4.2.1, not exactly 4.2.
[Android Apps and Games] moorer11:
Wow...so I had to return the "previous" Nexus 10 ("loud" noise coming from speaker(?) even when muted)...

And the replacement device has 4.2.1. VMLite VNC server works!

Thanks for your help, but it looks like those with 4.2...need to upgrade!
[Android Apps and Games] GoDzPlaY:
Possible in different network???

is it possible in different network..

If so, how ???

please reply soonnnnn........

:good:
[Android Apps and Games] alleyandy:
Can't get Droid VNC Server working!

Hi,

I'm having trouble getting DroidVNC Server v 1.1RC1to work for me.

I have DroidVNC installed on a Pandigital tablet that has been rooted. I've verified root and Superuser by running RootCheck Pro, and DroidVNC Server confirms that it is able to get superuser access by displaying a messge on startup.

I've also tried DroidVNC on a Velocity Cruz Tablet (not "reader") T301, and have the same problem.

On my PC I have ZoneAlarm running, and I've told it to allow access by the VNC client. I have also tried disabling ZoneAlarm, with the same results.

With Tight VNC, as soon as I connect, the server on the tablet stops, and a message on the PC pops up:

"Connection has been gracefully closed."

At times I also get a different message from TightVNC:

Error in TightVNC Viewer: No connection could be made because the target machine actively refused it." and then the DroidVNC server process stops.

When I try using a browser, as soon as it it supposed to connect, I get "Network error: remote side closed connection" and then the DroidVNC server process stops.

I've tried may settings on both the PC and the tablet, with no improvement.

Any ideas on what's going wrong?

Thanks!

Here's the configuration:

My hardware:

White Pandigital Novel (WPDN)

Model Number: PRD07T10WWH756

Firmware Version: SH20_20110302_K_PD_INX7E_ENG_6410POP

My Software on the WPDN:

DroidVNC Server v1.1RC1

My Software on the PC:

Windows XP SP3

TightVNC Viewer (PC) v2.6.4 (11/20/2012)

VNC Viewer (PC) v5.0.4 (r103666) (1/22/2013)

ZoneAlarm (PC) Latest Version
[Android Apps and Games] Gafanhotz:
I noticed that even on WiFi i'm getting very low screen refresh rates, I've tried a lot of configs but nohing worked to give better speed improvement. I'm doing something wrong or it's app limitation?
[Android Apps and Games] Mr Wolf:
Hi! I'm using Droid VNC Server on Motorola Droid 4 with Android 4.0.4. I'm having an issue, since the program gives me a wrong IP address: it should be 192.168.0.7 and it gives me instead 192.168.157.1.
[Android Apps and Games] chod:
bad ip on server

Similar IP issue here, i use 10.0.0/24 bit mask 255.255.255.0 range where the droid VNC picked up 10.0.158.34 which is not on the lan.

bfn
[Android Apps and Games] truedis:
How do I start via ADB with the latest version? /data/data/org.onaips.vnc/files/androidvncserver doesn't exist...
[Android Apps and Games] ggclanlord:
How to connect with USB?

Yea, i read the commands to enter in adb, forwarding tcp ports.

But I don't get it exactly. When are those commands to be entered? Before or after starting server?

Anyway, i tried a couple of things, and it didn't really work out.

USB debugging is on.

First, I attached phone to PC via USB. Entered those commands. Started server. Still it showed server address as something something, and not 192.168.1.x which is the local host.

I started server, and after that entered the commands, still the same thing.

And yes, i tried entering the address shown in phone, on browser, but didn't work.

Anyone can help me out, with how to connect via USB?
[Android Apps and Games] best110:
have android china device and could communicate between PC and Android device

but when click by mouse on PC then nothing happen on android device

it is working with GS2

any advise?
[Android Apps and Games] psykosonik:
Hi. I am using droid vnc over usb. I am having one issue. Any keyboard commands i send are not working until i click in the remote window. Anyone knows how to fix it?

---------- Post added at 12:45 PM ---------- Previous post was at 12:11 PM ----------

Hi, I also have the same issue that the keyboard commands are sent only after a left click. Did you find any workaround?
[Android Apps and Games] mad_ady:
No, I haven't found a fix for it. I just retested my setup and it still works the same way I described earlier (in the mean time I switched to a custom rom based on samsung's rom, but there is no chnage).
[Android Apps and Games] Mr Wolf:
I have exactly the same problem even with "vnc server" from the play store.
[Android Apps and Games] compmaster:
Not working on my ATT S4. I connect but with blank/black screen. If i swipe the mouse it moves my phone but cant see anything. testing this on USB as "localhost:5901" and via Chrome as "Localhost::5801".
[Android Apps and Games] Blopblop:
Hello,

Thank you for your work.

Could you (or someone else) tell me how to start the app from command line ?

something like this : am start -a android.intent.action.MAIN -n com.android.browser/.BrowserActivity

but I don't know the name of the main method

Thanks a lot
[Android Apps and Games] arne182:
You can start the server by just running the server application:

"/data/data/com.vmlite.vncserver/files/vmlitevncserver"

Would be enough to start the server, you can then still customise it by adding your option to the end of the command. To view an expample run the command "ps aux" after starting the server from the app and you will get exact command line for the current settings.
[Android Apps and Games] Blopblop:
Thank you :)

But I was'nt clear enough, I'm connected through SSH, so I can't just "run" the app (I think)

I think I did start the app this way :

am start -a android.intent.action.MAIN -n org.onaips.vnc/.MainActivity

But the server does'nt seem to be online.
[Android Apps and Games] arne182:
It doesn't matter if you are connected through SSH, if you want it to carry on running in the background after you disconnect just add a "&" at the end of your command and it will run in the background. Try it out, it works perfectly for me, I even have two running on one device ;)
[Android Apps and Games] Blopblop:
Indeed !

The difference is only my path is /data/data/org.onaips.vnc/files/androidvncserver

I didn't think it could work this way, thanks a lot !
[Android Apps and Games] nemof:
Hi there.

Was a fix ever found for this error? https://github.com/oNaiPs/droid-VNC-server/issues/51 and if not, does anyone know of an alternative vnc server that currently works with paranoid android 3+?

cheers
[Android Apps and Games] djcyph:
hi guys,

im hoping this app could help me with my S4 that has a broken screen.

i think i can start the app by doing

adb shell

am start package.name/.Activity name

but is there anyway to return the ip address on where i can view my phone on pc?

thanks
[Android Apps and Games] jae_63:
Try:

adb shell ifconfig tiwlan0

OR

adb shell netcfg

If this doesn't work, then installing busybox might help, if your device is rooted.
[Android Apps and Games] djcyph:
will try later and report back..thanks!
[Android Apps and Games] djcyph:
ok guys so i was able to get droid vnc installed and then i downloaded chicken on the vnc.

i can connect via web interface and chicken of vnc but i only get a black screen on my Mac..i can click on the black screen and it seems be working, my phone is responding

i searched thread and saw people had similar issue but couldnt find a fix, is there one yet?

thanks
[Android Apps and Games] obtim:
Can't start Server on iOcean X7 (MTK6589): version 1.1 RC0
[Android Apps and Games] SKJoy2001:
Still no fix to keyboard issue after 4 years!!!
[Android Apps and Games] mad_ady:
Either we can assume that development/interest in this has peaked for the original developer, or the problem is so challenging that there is no known sollution yet (which I doubt)...
[Android Apps and Games] ogg1e:
I would suspect it's been abandoned. Too bad, since the only thing I have issue with is the inability to scroll.
[Android Apps and Games] mad_ady:
An alternative worth looking into is AndroidScreenCaster: http://code.google.com/p/androidscreencast/, however I have no control over the remote session (keyboard/mouse don't work at all).

Oh, and it works over adb, not IP...
[Android Apps and Games] MrBiggzz:
Getting error access denied socket permission

Hi!

My device is a Nexus 5 rooted.

I'm accessing this in Chrome from the local address as given on the app of http://192.168.1.120:5801

Once I put that address in a popup from TightVMC appears prompting me to enter my password. I enter the password, making sure I don't fat finger it!

and then I get this box :

I've turned off the firewall and anti-virus so those two things are eliminated. Would anybody know what my problem is???

Many thanks in advance!

Dave
[Android Apps and Games] mad_ady:
That is an error in your browser's java installation. It doesn't have the permission to connect to your phone on port 5901. It can be fixed (by adding something like this in Control Panel -> Java Console -> Java -> Runtime settings -> View -> Your java version -> Java Runtime parameters: -Djava.runtime.policy=C:\java.policy):

In C:\java.policy paste this text:

grant {
permission java.net.SocketPermission "*:5901", "connect";
};

and restart your browser.

but the quickest way to bypass it is to use a native VNC client on your PC. Also, tell us if it works on Nexus5.
[Android Apps and Games] MrBiggzz:
I just re-set myself back to zero!

I uninstalled what ever java I had on this machine, rebooted and opened up the browser to the said address again. It installed the plugin for the browser and I closed the browser and re-opened it. When to the ip address again and it prompted for the password and then it just sat there.

Never got past the password. Didn't give me any errors either. I looked for any dialogues behind any open windows.

Other thing I noticed to is that once I use the app on the Nexus that I no longer have use of the phones keyboard. I have to reboot the phone to get that back. Don't know if this is an issue with the above or a separate bug.

What do I do next?
[Android Apps and Games] mad_ady:
Not much, I'm afraid. The server isn't very reliable...
[Android Apps and Games] MrBiggzz:
Fascinating. Know of any that do work? Next step is a NFC keyboard. Its easier to mess with some of this configurations like Zooper when you have the full capability of a keyboard. Doesn't help when you have fingers like tree trunks like mine!
[Android Apps and Games] mad_ady:
Nope, I don't know any worthwhile alternatives. But if you find any, please let us know...
[Android Apps and Games] MrBiggzz:
There was Mobizen ( http://goo.gl/RDBLbs ) but it appears it only works with Samsung gizmos. I worked very well with my S2. I tried it with my N5 but .. no luck.
[Android Apps and Games] MrBiggzz:
I kept playing with this. And I got something. There's got to be a setting that's wrong though. I get the VNC viewer but the display is filled with a colored noise.
[Android Apps and Games] iardito:
Upo ka sa unahan ha
[Android Apps and Games] mweesenaar:
I cannot get it work.

When I press Start, I get the message 'could not start server :('.

I am sure that my device is rooted, since I got Paranoid on it and SU shows me that droid VNC server it had been given Root permission.

I got the Samsung Galaxy Nexus, with Paranoid: Kernal v3.0.91 and ParanoidAndroid version 3.99 (Android 4.3).

What can I do?
[Android Apps and Games] MrBiggzz:
There is MyMobiler which works great! Both WiFi and USB. Directions I found where a little lacking :good:

and ..

There's Mobizen beta ( http://help.mobizen.com/en/beta-pc-version/ ) which finally worked with my Nexus 5. :good:

I'm beginning to be more partial to the MyMobiler setup but the Mobizen has got the slight lag issue under control. MyMobiler seems to have stopped doing any updates of anything about a year ago. But it does work!
[Android Apps and Games] mad_ady:
Thanks for the alternatives, but unfortunately both of them assume you use a PC with Windows to control the other device. I was planning on using a VNC client either on my linux PC, or my tablet to control the smartphone... :)
[Android Apps and Games] MrBiggzz:
You could semi-cheat .. WINE. Maybe I'll try and fire up a VM later this week and see if I can connect in a linux VM using WINE.

Wish I had the cash to run a strictly linux box (i.e. don't have the money for the extra hardware).
[Android Apps and Games] huisinro:
Perhaps, it's time to spend $9.99, as our paid app, VMLite VNC Server for Android will definitely work for you. We have lots of paid customers happy with it.

It supports any VNC Viewers, whether it's Linux or Windows or Mac or another mobile device.
[Android Apps and Games] galaxys4id:
will work in kitkat..??
[Android Apps and Games] huisinro:
If you ask about whether our VMLite VNC Server (for android), then Yes, it fully supports Kitkat. For CM11, you can ask our internal apk, that we haven't uploaded to google play yet.
[Android Apps and Games] jira75:
I try to connect to the vnc server but by the time connection establishing i get error message: Network error: connection reset and vnc server on phone will stop.

Motorola Razr CarbonRom 4.4.2
[Android Apps and Games] moizsami:
Hey guys i tried to use this app with my nexus 4 running Paranoid Android kitkat version 4.4.2, it worked but only a black screen appears..I cant view the mobile screen on my PC. Is there any solution for that ?'

Thanks.
[Android Apps and Games] T.E.C.H.N.O:
I've the same problem and also like to have a solution :)
[Android Apps and Games] kristinstokes:
framebuffer mmap failed

everytime i push start i get an error message that says "framebuffer mmap failed, please try out another display grab method" then "unsupported pixel depth, please send bug report" then "could not start server :(" i am using a rooted samsung galaxy s3 android 4.3. i have tried other vnc servers as well and get the same error messages. help? i tried setting the installer mode to camera as someone suggested, but that didnt work either.
[Android Apps and Games] GoJo ^^:
I just tried the RC1 on two phones (both 4.3) : one start and display a crazy IP to connect (not mine), the other one seems fines.

However when i start VNC Viewer on my PC and enter that address, it shows "negociating protocol" and nothing happens.

Normally when it shows that, the password pop-up appear, but here nothing..
[Android Apps and Games] GoJo ^^:
Would anyone kindly point out a working VNC Server app.. for 4.2 and above versions?

I really need it now, with a phone LCD dying anytime soon.. Would be a saver!
[Android Apps and Games] huisinro:
If your LCD is going to die soon, make sure you do this as soon as possible:

Enable USB Debugging on your phone

All VNC server requires it.

Then you can use our vmlite vnc server, definitely works on Android 4.2, 4.3 and 4.4 etc.

https://play.google.com/store/apps/details?id=com.vmlite.vncserver&hl=en
[Android Apps and Games] Sopalajo de Arrierez:
Not so definitely.

Well... not so definitely. Seems not to be working on my HP SlateBook x2 (Android 4.3).
[Android Apps and Games] huisinro:
Hi Sopalajo de Arrierez,

What are the error messages? can you post? Will take a look. Did you install the correct USB driver on your pc?

Thanks,
[Android Apps and Games] Sopalajo de Arrierez:
Failing only via network.

No problem for me, but my problems only happen via network connection (WiFi). I haven't tested USB connection (in fact, my stupid Slatebook has no USB cable :P; hard to believe, I know).

Do you still want the info?
[Android Apps and Games] huisinro:
Hi Sopalajo de Arrierez,

What errors do you get with wifi? Is your PC and the android device on the same wifi network?
[Android Apps and Games] GoJo ^^:
Thanks for the suggestion however one big difference : it's not free (and quite expensive for an app). The DroidVNC looks like working but i can't connect. Must be something to fix and will be ok.
[Android Apps and Games] Sopalajo de Arrierez:
The server does not start.

"Please connect this device to PC or mac via USB cable an run VMLite Android App to start the server".

But the SlateBook x2 has no USB cable.

The Android device is on the same 192.168.1.x network as the PC does.
[Android Apps and Games] RASTAVIPER:
I am using latest version at my CS 968 tv box with RK 3188 chip.

In general it works fine with Real vnc client at my nexus 4, but most times that connection is established, I get the message that droid vnc had to close. However, usually the connection stays alive. Anyway to fix that?

Unleashed from Onda v957m on TDT
[Android Apps and Games] Sopalajo de Arrierez:
Just like me :(

Exactly my same problem.
[Android Apps and Games] GoJo ^^:
Same here now(KK)!
[Android Apps and Games] :
Wondering if anyone can help me. I'm running Android 4.4, rooted and all the good stuff, but whenever I try to start the service it says that it couldn't start the server. No other information is given, any troubleshooting ideas?
[Android Apps and Games] tamuin:
Samsung Galaxy S5 4.4.2

I am having the same problem with my Samsung Galaxy S5 4.4.2
[Android Apps and Games] DorinAlex:
shell server start command options

hi,

thanks for this app, it's really useful.

i have a problem when sometimes it doesn't start automatically.

so i'd like to easily connect to a shell and start it up with

/data/data/org.onaips.vnc/files/androidvncserver

however this starts it with the default parameters, and not with my customised ones present in

/data/data/org.onaips.vnc/shared_prefs/org.onaips.vnc_preferences.xml

my question is: how can i start the server from the shell using the saved preferences. i suppose there is a command line switch?

thanks for your help