yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] mortefer:
Mate, you're the best, thanx so much

---------- Post added at 10:54 PM ---------- Previous post was at 10:22 PM ----------

I wasn't able to launch VNC w/ libs you've provided:

it told me that there was an error in init of libdvnc_flinger_sdk14.so lib...

i re-synched your repo and when compiling (mm .) Wrapper libs i get:

target C: libdvnc_gralloc_sdk15 <= external/nativeMethods/gralloc/gralloc.c

external/nativeMethods/gralloc/gralloc.c: In function 'init_gralloc':

external/nativeMethods/gralloc/gralloc.c:96: error: 'struct framebuffer_device_t' has no member named 'read'

external/nativeMethods/gralloc/gralloc.c:111: error: 'struct framebuffer_device_t' has no member named 'read'

external/nativeMethods/gralloc/gralloc.c: In function 'readfb_gralloc':

external/nativeMethods/gralloc/gralloc.c:164: error: 'struct framebuffer_device_t' has no member named 'read'

make: *** [out/target/product/ionitx_t_u/obj/SHARED_LIBRARIES/libdvnc_gralloc_sdk15_intermediates/gralloc.o] Error 1

Any help would be appreciated..
[Android Apps and Games] mortefer:
Anybody?
[Android Apps and Games] onaips:
Read the note:

https://github.com/oNaiPs/droid-VNC-server/tree/master/nativeMethods/gralloc
[Android Apps and Games] mortefer:
El saviour!!!
[Android Apps and Games] onaips:
Guys please confirm that your keyboard/mouse input is not working for ICS devices! I already found a possible solution but should take some time (rewriting the input framework, connecting to the WindowManagerService instead of low-level uinput) , meanwhile i'm trying to get a workaround for this.
[Android Apps and Games] keyra74:
it works but with huge lag and sometimes not responsive input
[Android Apps and Games] Jaqb:
Yes , I can confirm that input is not working on my Galaxy Nexus. Also after closing the app, input(keyboard) is still disabled, I need to restart the phone to make it work again.

Edit: Your developers version 1.1RC1 solved the problem with the keyboard input still being disabled after closing the app, but as keyra74 has said the mouse input is very laggy... how do you swipe in this new implementation ? Keyboard input still does not work.
[Android Apps and Games] seanp25:
Confirming that mouse and keyboard do not work on the MK802 Android Mini-PC. (this runs Android 4.0.3)

Thanks onaips!

Looks great otherwise :)
[Android Apps and Games] ttsherpa:
Hi,

It's not just this VNC server whose keyboard doesn't work on ICS. There's another one in the market with the same problem.

Regards
[Android Apps and Games] keyra74:
vncprefs works fine, except it's a bit slower du to framebuffer not working on my evo3d
[Android Apps and Games] silvrhat7:
I can confirm this as well for ICS. Thank you for any possible solution. Remote desktop control is a wonderful ability to have with our Androids.

Sincerely,

Silvrhat
[Android Apps and Games] Scary Guy:
I'm sure this is already a known issue, but if I try to connect with anything less than 15 bit high color the window disconnects.

Also my phone is sitting landscape in the dock, which makes the output tilted 90 degrees to the right.

I'm running a kanged CM9 if that helps. Text input works but the scroll wheel does not. Not to mention hitting escape does not go back although I suppose that's more of a problem of the virtual keyboard.
[Android Apps and Games] Davey101:
I'm guessing from the last few posts that this is a known issue but here are my findings with my rooted ICS SGS2 (Insanity ROM):

There is no text input at all from my PC keyboard (using TightVNC 2.5.1, Win 7 32bit) until after left mouse button is next clicked. The typed characters all appear at that point. Click and drag both work and the Swype keyboard pops up. Right mouse button has same delayed action.

Cheers
[Android Apps and Games] cnpbi:
fail to view on pc, a small dark window

2.2 version, rooted, it shows connected in cp, but in pc, only one dark window, cannot see anything.

can tell the reason?
[Android Apps and Games] psychedelicNerd:
I confirm this behavior. Would love to have this fixed. The app however, is still usable and perfect. Keep up the good work!!!!
[Android Apps and Games] antirisk:
Hi onApis, first thanks for this excellent little program. It is awesome. I have a Galaxy SII with ICS (official AT&T) and rooted. The keyboard/mouse inputs are not working. Only thing that works at the moment is to "left" click and then do a "right" click. Keyboard inputs go in very slow and only after doing a "right" click.
[Android Apps and Games] Sopalajo de Arrierez:
Not working in VirtualBox.

I can confirm Droid VNC Server does not start in virtualized machines, at least at BuildDroid v4.0.4 Android edition for VirtualBox. I get the error "Can not start server :(".

Virtual machines are a fine way to test things. It would be nice make Droid VNC Server work on them.
[Android Apps and Games] xleomoe:
Keyboard not working

Using Samsung Galaxy GT-I9300.

Tried many different VNC clients on both mac and windows. Keyboard works only for typing one word then stops working all together.
[Android Apps and Games] JavaOops:
Does not work with Motorola Droid Razr

Tried this

It set the IP to 192.168.157.1 and cannot be changed. That is not the IP that the phone gets. I would be willing to help support this on the Droid Razr attached to the verizon network.

Thanks,
[Android Apps and Games] Tsury:
Thanks, but I find it too slow to be considered usable...
[Android Apps and Games] mattjhsn:
Droid VNC Server works great!

I'm loving the Droid VNC Server I just installed this week on my LG T-Mobile G2x. It works great! I of course had to read the docs to figure out the keys to use but after that bit, I really really like it.

The one thing I cant figure out how to do is "swipe" as in swipe to move the desktops. It never seems to work so I have to reach over and swipe the phone screen directly.

By the way, I can sometimes open the lock on the phone wthough VNC ith a drag opperation but I have to be really fast because the screen shuts off so quickly.

Thanks for any clues you can give me on how to swipe over VNC....
[Android Apps and Games] dadoremix:
what i can do with error

cannot create virtual port

i try connect via VNC .. get connection.. write pass and that is.. gone .. network error

prestigio 3084B rooted .. 2.1 android
[Android Apps and Games] dakore:
I can confirm this.

My keyboard doesn't work at all. Only workaroud I've found is:

- press any key (e.g. Esc) or type any text you want (e.g. SMS)

- press left click on your mouse

- phone executes the action or displays a message

Back button can be replaced by pressing mouse buttons in exact order:

1. right button,

2. left button.
[Android Apps and Games] Sopalajo de Arrierez:
Keyboard and mouse working fantastic in Asus EEE Pad Slider SL101 with rooted Android v4.0.3.

The program stops sometimes, and sometimes Android says "Droid VNC Server stopped" but it seems to keep working :-O.
[Android Apps and Games] robert.pes:
OpenGL support

I noticed the server fails to pick up the apps relying on the OpenGL layer, such as games etc. Is there any chance to get this supported or is there any technical limitation?
[Android Apps and Games] huisinro:
Yes, it's possible now, with our latest app, VMLite VNC Server, it runs on rooted or non-rooted devices, available from google store:

https://play.google.com/store/apps/details?id=com.vmlite.vncserver&hl=en

it runs very well on Froyo, Gingerbread, HoneyComb, ICS, and JellyBean. More than 20 different models are running VMLite VNC Server successfully.

It has faster keyboard/mouse response, support auto wakeup, mouse wheel, swipe/fling gestures, two way clipboard, etc.
[Android Apps and Games] mattjhsn:
Is there a 'try before you buy version'? I've found VNC clients and servers both to be finicky.
[Android Apps and Games] dakore:
I'm using vmlite vnc server since the release date. You have 15mins to test it before asking for refund. It's enough time to see how mouse and keyboard performs, to check kb layout, screen refresh rate etc... Overall, I'm very satisfied with app. It works! :)
[Android Apps and Games] mattjhsn:
Great! What do you think of it compared to onaips's Android VNC Server 1.1-RC0 ? How long had vmlite been out?
[Android Apps and Games] dakore:
They have quite similar functions so I can say switching between onaips's to vmlite app was easy. Vmlite is only a month old (see the changelog).
[Android Apps and Games] alexandre17220:
Hi,

Anyone test "Droid VNC Server" on archos G9 ? I have rooted my archos, when I launch Droid vnc server, I succes to connect it via many client and http but the mouse left click don't work, In fact I suppect bad cursor position.

And When I disconnect the server shutdown.

Have you the same problems?

Do you know a other VNC server on android free or pay (with demo)?

Thanks,
[Android Apps and Games] breversa:
I confirm as well.

Phone :

Samsung Nexus S with Cyanogenmod 9.1 (stable)/Android 4.0.4 ICS
[Android Apps and Games] Sid220:
Installed the app, started server from phone (LG P500 with CM 7.2.0) but VNC Viewer does not connect...
[Android Apps and Games] ruival:
I can connect on galaxy mini GT-S5570 gingerbread (rooted), keyboard and mouse work fine, but the display shows like the screenshot. I tried with several applications and operative systems.
[Android Apps and Games] huisinro:
This distorted image is caused by scan length miscalculation. search "VNC Server" on google store, and use other servers, or send me private messages.
[Android Apps and Games] liboreks:
"/"

How can I write a slash mark "/" on english PC keyboard to show it on mobile creen? It gives ":" on the mobile screen instead. No key gives the slash.

From mobile keyboard it is ok.
[Android Apps and Games] TomTcom:
Love this app. I've noticed for the most recent version in the play store issues with the keyboard. In order to get the command to execute, it's the key on the keyboard first and then click with the mouse. I use Real VNC Viewer and Jump when on an Android device. Let me know how I can help.
[Android Apps and Games] KripXP:
Hi,

First of all, good work.

Tested on a SAMSUNG Galaxy ACE Duos (GT-S6802) and works fine. I have had to set the Display Access Method to

Framebuffer

because at the begining the image was completely black.

Cheers.
[Android Apps and Games] xerxes76:
Mouse and keyboard are working on CM 10 nightly, but only if you click somewhere else the text will be entered.
[Android Apps and Games] DreadDave:
LG Optimus One P500

Good day Mr. Onaips,

I'm trying to get ver. 1.1RC0 running on an LG Optimus One P500.

Android 2.3.7 (GingerSnap 2.3)

Kernel 2.6.35.13 (candied kernel v2.5.6)

WLan is running, and I can connect fine with other programs, ie, Samba Server.

I've tried UltraVNC and RealVNC viewers and bolth just wait and wait trying to connect.

Server gives the proper IP address, and I believe the port number is fine, if I leave it out the viewers give an error: connection refused.

The server must be running, If try to connect without the server on, it won't even try to connect, bringing a timeout error.

In the UltraVNC client it shows 0 bits transferred, in and out, so it looks to me like the server is saying, 'hi I'm here', but won't actually work out the protocol to use? (it reads the same without the server running, but times out after a min or so.) I have tried various settings in the viewers, and turned off password on the server, but nothing has worked.

I'm not sure where to even start troubleshooting this. Are there logs to see what it's doing? Or a way to turn logging on, if that would help?

What would be the proper way to go about troubleshooting?

Maybe I'm just asking too much of my poor old LG. Any advice would be very much appreciated. :)
[Android Apps and Games] Sopalajo de Arrierez:
Try telneting.

A suggestion:

Try to telnet (install telnet client if you don't have it) to server IP port 5900 or 5901 and post the results:

telnet DroidVNCServerIP 5901

this is the first thing I try when troubleshooting servers via network.
[Android Apps and Games] DreadDave:
That is an excellent idea Mr. Arrierez! Unfortunately, the telnet window just sits there too. Absolutely no feedback from the VNC Server and no timeout. Using a different port brings Connection Refused error.

Using a browser, hxxp://[DroidVNCServerIP]:5801 brings the website up and it asks for a password, but nothing happens on entering password, or if I don't have password set on server, if I leave it blank. No diff. It just sits there.

That the web server is working though gives me hope. Any other ideas?
[Android Apps and Games] Sopalajo de Arrierez:
Try to telnet from inside.

Yes. It seems VNC Server program is working... but you can not connect.

I suggest:

telnet localhost 5901

from a terminal inside your android device.

So we will see if the problem comes from any incoming connection from outside.

The usual header for VNC servers should return:

numbers may vary, but this is what my Transformer (Slider, in fact) returns from inside.
[Android Apps and Games] DreadDave:
localhost Telnet Test Results - P500

Thanks much for your help here. Ok, Telnet from the phone also just sits there waiting. :( I tried:

telnet localhost 5901

telnet 127.0.0.1 5901

telnet [WLANaddress] 5901

All the same result, it just hangs there. I have to [ctrl-c, e] out of telnet.

Without the port 5901 it brings Connection Refused error, so it seems telnet is working correctly.

SuperUser says root access for the VNC Server is allowed.

I tried switching port to 5900, same problem. No port binding errors given from the server. (put back to 5901 now)

Tried setting server to start at bootup, nothing changed.

Hope that helps narrow things down.
[Android Apps and Games] TomTcom:
For the website to work it's usually 5800.

Have you opened the port 5900 on your firewall?
[Android Apps and Games] DreadDave:
You're right, I wrote down 5901 for the http address. In fact it is 5801. Have edited the post. The VNC server is running on port 5901 on the phone.

Since a VNC client is making an outgoing connection, I don't think the Windows7 firewall plays a roll here. I tried with and without the windows firewall on though, just to rule that out. The phone doesn't have a firewall that I'm aware of. Never needed any special settings for Samba Server or MyPhoneExplorer for instance, on windows or the phone.

Thanks for the ideas though, much appreciated!
[Android Apps and Games] TomTcom:
If you're connecting internal WiFi then you open the port on your router even for external connections. Some routers might not require it for internal connections. It depends on your router.

Samba didn't require it because it is a common port 445 which means it's less than port 1024. 5900 isn't "common" so it must be opened. Rdp for instance is 3389 which means it's not a common port as well and must be opened on the router.

Does that make sense?

Your router is your physical firewall as well. Sometimes windows firewall and a router's firewall won't play nice but that's another topic.
[Android Apps and Games] Sopalajo de Arrierez:
Firewall? Nah.

Remember that connections (telnet) from inside the Android device does not work neither. So firewall should not be the issue here.

Very well, another ideas:

- Install any SSH Server (daemon) program (QuickSSHD or SSHDroid) and, as long as they use TCP 22 port, try the same with this port instead of 5901TCP. So you will find if connections to any TCP port are possible. Header should return something like:

- Try with this other VNC Server (excuse me, Onaips, but in some of my devices it works a bit better):

http://freemymind.cc.cc/2012/05/android-vnc-server-app.html

all this could give us ideas.
[Android Apps and Games] DreadDave:
P500 - Positive SSH Test

Thanks again Mr. Arrierez, and everyone else!

Definitely not a routing problem, I have everything open internally for LAN <-> WLAN nodes. Made me think though! I did check it twice. :)

Connection to SSH works like a champ. Using dropbear app here. The alternate VNC Server mentioned works too! Came up very fast and is smoother than I expected with my old LG P500. :good:

So now we know there is somehow a problem with Android VNC Server specifically and my configuration. Compatibility problems with the kernel maybe?

I hate not knowing, so it'd be fun if we could find the reason. Potentially useful if anyone else happens along the same symptoms too. I'll check back and see if anyone has further ideas.
[Android Apps and Games] GoJo ^^:
I haven't followed the thread, just know that it doesn't work on jelly bean, is VM Lite Server from the same dev or..?
[Android Apps and Games] ClarusAD:
problem, so i try to find a beta version

Hi there,

The last version on the Google play store is 1.1RC0 ; is there (somewhere) a beta version or a newer one ?

I've looked on github but there's only sources and no banaries.

I'm looking for a newer one because i can't start the server on my device ; i have this error :

Could not connect to IPC gui, another daemon already running?

Thank-you guys
[Android Apps and Games] The.Se7enth:
Worked on Slim ICS on my Captivate (i897), but won't work on the latest Miui ROM (from Miui.us) for the same device. Always returns a "Could not start server :(" error.
[Android Apps and Games] anuben:
is it possible to connect vnc over internet by getting someones ip address?????
[Android Apps and Games] mafamafa:
VNC Server - Android - don't accept inputs from vnc viewer

I installed it on OverMax Andoroid 4.0.3 netbook, and I can connect and see the screen, but i can not sand any key or mouse movements and clicks. Any idea?
[Android Apps and Games] dimention:
Physical keyboard takes over

Hi,

Every time I make a connection the application takes over the input method and makes the device think it uses a physical keyboard.

I have to manually go to the physical keyboard toggle and disable it in order to type

Is there a way to disable this ?

I even wrote a small app with the following code:

InputMethodManager inputMgr = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);

inputMgr.toggleSoftInput(0, 0);

But it doesn't seems to work when the vnc server is running.
[Android Apps and Games] Fenyo1:
Strange :/

Hi!

I want to use Droid VNC Server on my SGS2, but i have no luck. :(

With the previous ROM (2.3.6) and with a previous Droid VNC Server it worked perfectly.

But now i have 4.0.4 ICS ROM (PFittech's GTX Neutrino ROM) with Siyah kernel 5.0.1, and the newest (1.1rc0) version is not working! :(

I use wifi connection.

When i start the server on the phone, it gives me the address, and i try to connect to it with RealVNC on my PC, it connects at first (the phone writes: incoming connect from ....), and a moment after it disconnects and RealVNC on PC says: "Connection reset by peer".

When i try -or keep trying - to reconnect, it says: "Connection is refused."

The only way to reset it is to stop the server and start again, and i can connect again but only for a moment again! (and then "refused" again..) :(

If i try to connect with telnet on the PC, it produces the same: At first it connects and i see the VNC strings("RFB 003.008"), and a moment later "Connection reset by peer". After that the Telnet says me "Connection is refused." just like RealVNC.

(I've already turned off my firewall)

I've tried on port 590, it does the same. :(

WHAT the heck is going on?!?

Please help!
[Android Apps and Games] wolftou:
First of all, this is a super awesome app and thank you very much for your hard work, will send a beer you way soon.

I just have quick problem. I'm running this on an old Droid X with custom rom. I can type all the letters in the alphabet but the letter "b", by chance you know what's going on? Thank you.
[Android Apps and Games] ecoutinho:
Nexus 7, Android 4.2

It's not working on Nexus 7, running Android 4.2.1. The client connects to VNC server, but the desktop doesn't show up. All I see is this pink image. If I click somewhere, the application located there is lauched, although I just see it on the tablet. It also produces an error: "Framebuffer ioctl error, please try another display grab method".

I hope you can fix it!
[Android Apps and Games] voelkerc:
Issue Confirmed... Webkey still works.
[Android Apps and Games] huisinro:
All VNC Servers in the play market are broken? No, that's not true, I can assure you that our app, vmlite vnc server, works just fine on Android 4.2
[Android Apps and Games] Winsl0w:
Huisinro, I've been trying to get vmlite vnc server to work on the nexus 10 (I've tried both rooted and unrooted). Unfortuntaely, it doesn't start the server on the tablet. Other VNC's have been showing unsupported pixel depth error as well as framebuffer mmap failed.
[Android Apps and Games] huisinro:
Did you try version 1.1.6? I assume that you enabled USB debugging, right? What error messages did you get? If you have adb running, I can send you commands to start it by hand.

We do have many other users running well on nexus 7/10
[Android Apps and Games] mad_ady:
I'm a new user of this fine VNC server, and most things work great - with the exception of keyboard (and partly mouse).

I'm running the rooted stock firmware (Android 4.1) on a SGS3 and I tried to connect to the server via USB (tethered network) from my Linux PC. I used "vncviewer", remmina and vinagre as clients. I am running 1.1RC0 from the market.

From my tests I found that I can send left click and left drag events (so I can click and drag things onscreen, unlock the screen, etc), and I can also send the End key to act like the power button was pressed. The server, however, does not respond to my mouse's right click (to go back), nor to ESC, Home, or any other key event. The onscreen keyboard works, if it is visible. I did my best to make sure these events were sent to the remote side (remmina has a button to capture all key events, and it works in other cases).

Is there anything I can do (e.g. packet capture, running in debug mode) that could help me understand what's wrong? Has anybody else experienced a similar situation?

Thanks
[Android Apps and Games] mad_ady:
Update: I also checked with the web interface - it loaded the java applet. It behaves the same way as other vnc clients and doesn't send key events.

Update2: I tested also with TightVNC viewer under Windows XP and it still doesn't send keyboard events and some mouse events, as described above.

---------- Post added at 11:17 AM ---------- Previous post was at 10:54 AM ----------

Ok, I've played with the issue some more, and I was able to isolate it (by accident).

It seems that my keyboard keys (and right click) get sent (or more likely get processed) by the server only after I left click. So, for example, assuming I have a text app opened, if I type in something with my desktop keyboard, nothing gets sent over until I left click (not drag!) somewhere on the VNC screen. Then, all my typed keys get sent (and text displays onscreen). This is true for other events like Home, End (that's why I reported that the End key worked - I was clicking after pressing it).

The problem is, the click event is also processed, so I can accidentally start some other application and I need to be careful where I'm clicking.

I've skimmed this thread and I noticed people complaining that the onscreen keyboard would not work while in VNC mode. I don't know if it is still a problem or not, but my on screen keybord (Hacker's Keyboard) is not disabled and keeps working with VNC (could this be the source of the issue?).

Well, at least now I have a workaround for the issue, but I'd like to get it resolved in the end.

Keep up the good work!
[Android Apps and Games] moorer11:
Huisinro,

This was consistent with my experience, too...at least with the device (Nexus 10) not rooted. Using the PC app to start the server on the Nexus didn't work for me. I didn't try it rooted because of the above post (I just returned the app through the store; didn't feel like wasting money).

Also...I tried to post on your site, but apparently there are still some problems over there. I can't login because I never receive any confirmation emails...