Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Could not start server :(" message #104

Open
gryphon2411 opened this issue Jul 4, 2015 · 8 comments
Open

"Could not start server :(" message #104

gryphon2411 opened this issue Jul 4, 2015 · 8 comments

Comments

@gryphon2411
Copy link

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.

@dvinz
Copy link

dvinz commented Jul 5, 2015

Hello,

Same error on Galaxy S5

Best regards

@OldSparkyMI
Copy link

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.

@Jspoor
Copy link

Jspoor commented Dec 15, 2015

is lollipop support on the road map?

@OldSparkyMI
Copy link

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.

@lupa18
Copy link

lupa18 commented Mar 25, 2016

Same here with CM 12 :(

@chtisgit
Copy link
Contributor

chtisgit commented May 21, 2016

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'

droidvncserver.diff.zip

@OldSparkyMI
Copy link

Hello and thanks chtisgit!
I will give this a try when I am back from italy mid june.

@7fe
Copy link

7fe commented Aug 18, 2017

Bump this. On Android 7.1 and need a VNC Server app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants