-
-
Notifications
You must be signed in to change notification settings - Fork 239
Description
As @bk138 requested, I'm moving the conversation at LibVNC/libvncserver#637 here.
Let me add more context by saying that I'm running Android 9 on a Banana Pi M5 that I've deployed to act as a digital signage device. I possess a root shell on the device and I'm able to connect to it via adb
.
I am also running Slideshow which is an app that lets me configure the device to display some media, basically to get it to act as a kiosk.
The interesting bit relies on the fact that this app starts on boot too and it's configured to be locked in the foreground, which results in some Android UI features being disabled (like the home button, the status bar which lets me go into settings etc).
.
With this configuration, droidVNC-NG is not able to properly start (see logcat) on boot
logcat.txt
If I disable that option in the screenshot, so leaving the device "unlocked", droidVNC starts correctly after some time (even with 0s delay).
Hope this is enought information, I'm willing to go more in depth with the setup.
Pivoting a bit away from droidVNC, I'd like to mention that ideally I'd prefer a binrary for a VNC server so I can start it in the background on boot using init.rc
, without having to install a whole APK, do you know any option I could exploit? Without knowing too much about droidVNC I bet it starts some deamon in the background; being able to start it manually by myself by issuing a command would be awesome. In fact, that Slideshow software provides a way to run a command on the root shell after it boots up correctly, so it might be something worth considering.
Hopefully this doesn't pivot away too much from your software.
Thanks for your collaboration and patience.