AnLinux: Install any Linux Distribution on rootless device
Termux

AnLinux: Install any Linux Distribution on rootless device

CybersecMastery Research Team • January 29, 2021 • 2 min read • 308 views • 0 discussions
Table of Contents
    Educational & Defensive Research Notice: The commands, tools, and technical procedures detailed in this guide are provided strictly for lawful security education, authorized penetration testing, and defense hardening. Never perform testing against any network or asset without prior written authorization. Consult our Ethical Hacking Disclaimer.

    AnLinux enables the execution of Linux on Android. By utilizing Termux and PRoot technology, you can extend its functionality to include running SSH and the Xfce4 Desktop Environment.


    To get started, download and install AnLinux from the Play Store.

    To run Linux in the Command Line Interface (CLI):

    1. Access the Dashboard.

    2. Click the CHOOSE button, select Ubuntu, and confirm.

    3. Copy the command to the clipboard and paste it into Termux.

    4. Once copied, paste it to "Termux".


    4. Execute the command "./start-ubuntu.sh" to launch, and it will display in CLI mode.

    For a graphical user interface (GUI) experience:

    1. Open AnLinux and navigate to Desktop Environment (AnLinux2).

    2. Once there you will find out various steps:

    3. Choose Ubuntu Distro and select Xfce4 as the Desktop Environment.

    Select Ubuntu distro

    Select Xfce4 desktop environment

    4. Copy the command to the clipboard and paste it into Termux.

    Copy the command
    Paste it to Termux

    Select appropriate settings if it shows.

    5. Initiate the VNC server by running "vncserver-start" and reset the password.

    6. Install RealVNC on your Android device from the Play Store.

    7. Open RealVNC, click new, paste the IP address with the port number, and insert your password. This will visualize the Ubuntu desktop.

    8. The appearance of Ubuntu should resemble the image below:


    CM
    Verified
    CybersecMastery Research & Editorial Group
    Verified Security Analysts

    Authored and peer-reviewed by certified information security practitioners (CEH, OSCP & CompTIA Security+ aligned). All lab commands, scripts, and exploit walkthroughs are tested in isolated environments before publication.

    Defensive & Offensive Security Peer-Reviewed Guides Editorial Standards & Team

    Community Q&A