Termux-Desktops
Termux-Desktops copied to clipboard
Termux X11 suddenly stops after sometime.
I followed through all the steps and I installed Arch xfce4. Sometime after using it, Termux X11 just like crashes and goes back to menu, and when I go back to Termux, this is what it says: [Process completed (signal 9) - press Enter]
What does it mean "Process completed"? I haven't even done anything yet.
I've set the two apps to "Unrestricted" just in case it's stopping in the background, and no it's not stopping, but it still crashes.
Help.
https://ivonblog.com/en-us/posts/fix-termux-signal9-error/
With android 12 there is a bug, I have the bug too when using arch linux
the commands on this website works for me ! https://maheshtechnicals.com/fix-termux-error-process-completed-signal-9-disable-phantom-process-killer-in-android-12-13/#Why_We_Face_Termux_Error_Process_completed_signal_9
adb shell "/system/bin/device_config set_sync_disabled_for_tests persistent"
adb shell "/system/bin/device_config put activity_manager max_phantom_processes 2147483647"
adb shell settings put global settings_enable_monitor_phantom_procs false
adb shell cmd deviceidle whitelist +com.termux
adb shell cmd appops set com.termux RUN_IN_BACKGROUND allow
adb shell cmd appops set com.termux RUN_ANY_IN_BACKGROUND allow
adb shell cmd appops set com.termux SYSTEM_EXEMPT_FROM_ACTIVITY_BG_START_RESTRICTION allow
adb shell cmd appops set com.termux SYSTEM_EXEMPT_FROM_HIBERNATION allow
adb shell cmd appops set com.termux SYSTEM_EXEMPT_FROM_POWER_RESTRICTIONS allow
adb shell cmd appops set com.termux SYSTEM_EXEMPT_FROM_SUSPENSION allow
adb shell cmd appops set com.termux WAKE_LOCK allow
adb shell settings put global sys.resource_limit max_background_processes -1