Pre-/Post-script support / termux integration #356
PureIncompetence
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
|
Adding full fledged Termux support is a bigger task. Actual command invocations looks simple enough, but the UI around it will likely be more time consuming. To be completely honest, I probably won't work on this. An alternative could be to execute a command via SSH directly on server. AVNC could execute the command just before starting the VNC session. In your specific case, are you able to setup a "watchdog" process to restart VNC server after crash? Something like a systemd service or a cron job. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I wondered if a termux integration to be able to run pre-defined pre- and post scripts for VNC connections could be added to AVNC. Full-fledged desktop vnc clients like remmina offer to run pre/post scripts for saved connections, although this probably would be somewhat harder to implement on our own due to android platform limitations.
The probably most feature complete and used terminal application for android - Termux - offers an API for other apps to execute commands in its shell environment: https://github.com/termux/termux-app/wiki/RUN_COMMAND-Intent
That would probably be easier and more useful to implement.
Use-Cases that would profit from it:
I'm not sure if that is too much of a niche use case to justify the effort of adding it to / maintaining it in AVNC, thats why I opened this discussion instead of creating a feature request.
Thank you very much for creating / maintaining this great piece of software. As mentioned above it already makes using vnc on android much more hassle-free / convenient that it ever was before by eliminating the need to build additional workarounds around it.
Beta Was this translation helpful? Give feedback.
All reactions