Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asking for Arch Linux support; VNC setup in it . #18

Open
9 tasks
AryanVBW opened this issue Oct 14, 2024 · 0 comments
Open
9 tasks

asking for Arch Linux support; VNC setup in it . #18

AryanVBW opened this issue Oct 14, 2024 · 0 comments
Labels
hacktoberfest hacktoberfest 2024

Comments

@AryanVBW
Copy link
Owner

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.
  • 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:


Sample Bash Script Outline

#!/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!"
@AryanVBW AryanVBW added the hacktoberfest hacktoberfest 2024 label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest hacktoberfest 2024
Projects
None yet
Development

No branches or pull requests

1 participant