droidVncServer
droidVncServer copied to clipboard
Could not start server :( on Lollipop
I tried your app from the play store and when I try to start the server I just get a popup that says:
Could not start server :(
I am running CM 12.1 (Lollipop 5.1.1) on a Nexus 5.
I am sure this is not enough information for a complete bug report so just let me know what more you need/want and I will be happy to supply it.
I just ran into the same problem. Poking around with logcat and attempting to manually start the server, I found the problem: PIE.
I'm not an Android developer, so I don't know how hard it is to rebuild the package with PIE support enabled, but it looks like that is what we need in order to get it working on L.
naips.vnc/files/androidvncserver -r 0 -s 100 -P 5901 <
error: only position independent executables (PIE) are supported.
Same issue here with Android L (5.1.1). As quasarj mentioned already it looks like PIE is the underlying problem and that droidVncServer is not compiled against this.
I found some instructions over at StackOverflow how to add support for PIE but do not lose backwards compatibility. See http://stackoverflow.com/questions/24818902/running-a-native-library-on-android-l-error-only-position-independent-executab
Maybe someone could add the flags and release a new version? Looks easy for an Android developer.
looks like lollipop ain't supported yet?
The code in the repo has PIE added, see this commit https://github.com/oNaiPs/droidVncServer/commit/d7e28b196af0ca7a6283a6d5022d6834173b3bbb
However, the version in the Play Store is from 2012, well before the PIE commit was added:
Source
The reason for this could be that the current version in the repository 1.1RC1 is said to be non-functional (source)
So you would probably have to compile it yourself and see if you can get it running.