AryanVBW / AryanVBW/LinuxDroid

asking for Arch Linux support; VNC setup in it .

Open
#18 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
832
Forks
107
PR merge metrics
No merged PRs in 30d

Description

# Request to Add Arch Linux Support for ARM64 in LinuxDroid (Termux) with VNC Setup

We would like to request the addition of **Arch Linux** support in **LinuxDroid** for **ARM64 architecture** on Android devices. Below are the details and specific asks to achieve this.

### Requirements:
- [ ] Create a new bash script `arch_LinuxDroid.sh` for Arch Linux installation on ARM64 Android devices via Termux.
- [ ] Specify and use a reliable Arch Linux **rootfs** file for the installation. Reference and maintain the rootfs used for this installation.
- Example of an Arch Linux ARM64 rootfs file for reference: [Arch Linux ARM64 rootfs](https://archlinuxarm.org/about/download)
- [ ] Automate the download and setup of Arch Linux using **proot** or **proot-distro** within Termux.
- [ ] Add VNC support to allow users to access Arch Linux through a graphical interface. This should include the installation of a VNC server and the necessary X11 packages.

### Checklist:
- [ ] Implement `arch_LinuxDroid.sh` to handle Arch Linux installation automatically.
- [ ] Ensure the script downloads and configures the **rootfs** for Arch Linux (ARM64 architecture).
- [ ] Provide an option in the script for setting up VNC (with the necessary dependencies, like `tigervnc` and `xorg-xinit`).
- [ ] Document the usage of the script in the repository’s README file.
- [ ] Verify the script’s functionality on Android ARM64 devices.

### Rootfs File for Arch Linux ARM64:
Please refer to the following link for the rootfs file to be used for reference:
- **[Arch Linux ARM64 Rootfs](https://archlinuxarm.org/about/download)**
- **[LinuxDroid Rootfs](https://github.com/AryanVBW/Roofs/releases)**

---

### Sample Bash Script Outline

```bash
#!/bin/bash

# Arch Linux Setup Script for Termux on ARM64
# This script automates the installation of Arch Linux on Android devices through Termux.

echo "Starting Arch Linux installation on Termux for ARM64..."

# Update Termux packages
pkg update && pkg upgrade -y

# Install necessary dependencies
pkg install proot-distro wget tar -y

# Download and install Arch Linux rootfs
# You will need to specify the rootfs file to use for installation
proot-distro install archlinux

# Switch to Arch Linux environment
proot-distro login archlinux

# Install essential packages inside Arch Linux
echo "Updating Arch Linux and installing basic packages..."
pacman -Syu --noconfirm
pacman -S vim git base-devel --noconfirm

# VNC Server setup (optional)
echo "Do you want to set up VNC for a graphical environment? (y/n)"
read vnc_choice

if [ "$vnc_choice" == "y" ]; then
echo "Setting up VNC server..."
pacman -S tigervnc xorg-xinit --noconfirm

# Configure VNC
echo "Starting VNC server on display :1..."
vncserver :1 -geometry 1280x720

echo "VNC setup complete. Use VNC viewer with localhost:5901 to access."
else
echo "VNC setup skipped."
fi

echo "Arch Linux installation and configuration complete!"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.