Easily Run Linux On Android With AndroNix - Linux Distro on Android without root
Table of Contents
Introduction
This tutorial will guide you through the process of running Linux on your Android device using the AndroNix app. You can install various Linux distributions such as Manjaro, Ubuntu, Arch, Debian, Kali, and more without needing root access. This method is straightforward and ideal for anyone looking to expand their Android device's capabilities.
Step 1: Install Required Applications
To get started, you need to download three essential applications from the Google Play Store:
-
AndroNix
-
Termux
-
VNC Viewer
Make sure to install all three applications before proceeding.
Step 2: Launch AndroNix and Choose a Distro
- Open the AndroNix app.
- You will see a list of available Linux distributions. Choose your preferred distro (e.g., Manjaro, Ubuntu, Kali, etc.).
- Tap on the chosen distro to see the installation instructions.
Step 3: Copy Installation Command to Termux
- In AndroNix, after selecting your distro, you will see a command to install it.
- Tap to copy this command.
- Open Termux and paste the copied command into the terminal.
- Press Enter to execute the command and start the download process.
Step 4: Set Up the Desktop Environment
- Once the download is complete, you may need to configure your desktop environment.
- Choose your desired desktop environment (e.g., LXQT) when prompted.
- Follow any additional on-screen instructions to complete the setup.
Step 5: Configure User Settings
- After the installation completes, you will need to set up a user account:
- Enter a username.
- Provide a full name.
- Set a password (at least 6 characters).
- Confirm the password.
- Select your locale and confirm your settings.
Step 6: Set Up the VNC Server
- Open VNC Viewer on your device.
- Tap the plus (+) icon to add a new server.
- Enter the address as
localhost:1
. - Name your server as desired and create it.
- Enter the address as
Step 7: Start the VNC Server
- Return to Termux.
- Type the following command to start the VNC server:
vncserver start
- Choose a resolution (e.g., HD Ready) and enter the password you created.
- If prompted, decide whether to set a view-only password (optional).
Step 8: Connect to Your Linux Distro
- Go back to VNC Viewer.
- Select the server you just created.
- Enter the password when prompted and click continue.
- You should now see your Linux desktop running on your Android device.
Step 9: Stopping the Linux Environment
- To stop the Linux environment, return to Termux.
- Type the following command:
vncserver stop
- Confirm the port number (usually
1
) and the Linux session will be stopped, freeing up memory.
Conclusion
You have successfully set up and run a Linux distribution on your Android device using AndroNix. This method allows you to explore various Linux environments without rooting your device. You can revisit the installation steps to try different distros or explore advanced configurations. For further assistance, refer to the AndroNix FAQ. Enjoy your new Linux experience on Android!