EXALAB / AnLinux-App

AnLinux allow you to run Linux on Android without root access.
Apache License 2.0
1.6k stars 236 forks source link

Error: /proc must be mounted when run ps -e #407

Open ghost opened 1 year ago

ghost commented 1 year ago

the above error occurs on xterm vnc session also
exalab999 commented 1 year ago

/proc cannot be mounted unless you have root access on android, its a limitation and nothing we can do. There might be a solution to try making a fake /proc in the future.

This is not a bug and the script is designed to not mount /proc to prevent error.

ghost commented 1 year ago

@exalab999

right now i am restore usable session vm running two commands (i dont know which is correct):

killall -q -u root kill 2

if you have any workaround for the issue?

ghost commented 1 year ago

just for record (somebody might say you ought to have run command given in error):

# mount proc /proc -t proc
mount: /proc: mount(2) system call failed: Function not implemented.
freebrowser1 commented 1 year ago

When you are rooted, disable SELinux. /system/bin/setenforce 0 You can set it in a termux/tasker boot script. For me this works.