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

entire debian running in root mode only? #405

Open ghost opened 1 year ago

ghost commented 1 year ago

mousepad complains about running in root mode. it might ceate issues in future. if possible, run in normal mode.

exalab999 commented 1 year ago

Currently there's no plan to make the distro start as normal user, however you can do this yourself by creating a normal user and switch to it.

ghost commented 1 year ago

i can create adduser username. by default it boots in root mode. is it possible to start as normal user from root mode?

exalab999 commented 1 year ago

Edit start-debian.sh, and change all /root to your new user home directory, for example: /home/user . You can also switch user after starting distro by running: su - username

archkorimitsu commented 1 year ago

I have the same issue with Arch. It only has root and after adding a regular user does not work well: https://github.com/EXALAB/AnLinux-App/issues/412