Closed hansm629 closed 1 year ago
use kill pidof app_process
to stop termux-x11
use
kill pidof app_process
to stop termux-x11
May I know a simple example script?
#!/bin/sh
kill pidof app_process
#!/bin/sh kill pidof app_process
Thank you! :)
Currently Termux-API and Termux-Widget
Start/Exit Ubuntu with one click.
If you select the Ubuntu startup script in Termux-Widget, it runs Termux-x11 and the Ubuntu GUI is displayed correctly
Even if you run the shutdown script in Termux-Widget after Ubuntu logout It seems that Termux-x11 and X server are not exit.
In that state, even if you select the Ubuntu startup script from Termux-Widget Ubuntu GUI is not displayed.
It seems that the X server on Termux-x11 is completely shut down when Termux is forced to stop from the application information.
Termux-Widget's exit script is as follows.
If I made a mistake I was wondering if there is a correct way to exit Termux-x11 and X server completely.