droidVncServer
droidVncServer copied to clipboard
"Could not start server :(" message
When clicking on "Start" button, the application granted with super user, and then I get the message mentioned in this issue title. The VNC server status stays as "Stopped" during the whole process above.
Is there any log to view why does the server cant start?
I would like this problem to be fixed.
Thanks.
Hello,
Same error on Galaxy S5
Best regards
This App is for ICS only. If you have Lollipop or newer you will get "error: only position independent executables (PIE) are supported." through new security enhancement, see: https://source.android.com/security/enhancements/enhancements50.html
You can see the error message on a command line.
is lollipop support on the road map?
I don't know, but currently I don't think so. The last real commit is 4 years ago, the project is currently down.
But you can try to build it on your own with the current android sdk and -fPIE and -pie flags set.
Same here with CM 12 :(
I just tried, if I could build this with the NDK - looks like it's enough to rebuild the droidvncserver native executable. This is no fun though, because one needs to compile openssl and libpng and i think two different jpeg libraries ... (these are all linked statically, not to mention that openssl is very outdated)
After some tweaking (disabling OpenSSL features, changing some C macros, fixing an assembly instruction etc. I could actually get it running (armeabi, x86 and mips - no luck with armeabi-v7a) and it didn't show the message "Could not start server :(" anymore, but it showed that the server was running and it was running (the port was open and I could connect to the kind of HTTP server that would also run on port 5801).
When I tried to connect with three different VNC clients though, the native app segfaulted... :(
I/DEBUG ( 281): Revision: '0' I/DEBUG ( 281): ABI: 'arm' I/DEBUG ( 281): pid: 30122, tid: 30122, name: androidvncserve >>> /data/data/org.onaips.vnc/files/androidvncserver <<< I/DEBUG ( 281): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xdeadbaad W/NativeCrashListener( 775): Couldn't find ProcessRecord for pid 30122 I/DEBUG ( 281): Abort message: 'invalid address or address of corrupt block 0xb7280e30 passed to dlfree'
Hello and thanks chtisgit! I will give this a try when I am back from italy mid june.
Bump this. On Android 7.1 and need a VNC Server app.