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

Termux X11 suddenly stops after sometime. #78

Open
sheesh3178 opened this issue Nov 18, 2024 · 3 comments
Open

Termux X11 suddenly stops after sometime. #78

sheesh3178 opened this issue Nov 18, 2024 · 3 comments

Comments

@sheesh3178
Copy link

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.

@moony404
Copy link

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

@moony404
Copy link

moony404 commented Nov 26, 2024

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

@weskerty
Copy link

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

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

3 participants