How to Run ArchLinux Plasma on Android !!

How to Run ArchLinux Plasma on Android !!

How to Run ArchLinux Plasma on Android !!
Saturday, November 27, 2021

Hi there, this whole in a nutshell is guide to install and setup ArchLinux on your android without root and with KDE Plasma. Some small fixes and that's it.

Arch Linux is a Linux distribution created for computers with x86-64 processors. Arch Linux adheres to the KISS principle (Keep It Simple, Stupid). The project attempts to have minimal distribution-specific changes, and therefore minimal breakage with updates, and be pragmatic over ideological design choices and focus on customizability rather than user-friendliness



A android device capable of running Termux.

2-3gb free space atleast. 



 First installation termux, then install proot-distro with this command:-

pkg update && apt upgrade -y && apt install proot-distro 


And install x11-repo, pulseaudio, tigervnc and xorg-xhost for starting VNC.

pkg install x11-repo pulseaudio; pkg install xorg-xhost tigervnc

Now starting installing arch linux, prefer using wifi

proot-distro install archlinux


Setting up ArchLinux:-

Once it installed, use this to login and it will enable dbus too (required for KDE Plasma)

proot-distro login archlinux --bind /dev/null:/proc/sys/kernel/cap_last_cap


Now lets install some required packages and setup a non-root user for KDE Plasma. 

pacman -Syuu & pacman -S sudo neofetch


Once both packages installed, add a user (choose name of your choice)

export USER=(username); useradd $USER; echo "$USER ALL=(ALL) ALL" >> /etc/sudoers 


Now add a password for that user then login with that user, it, from this you can use sudo command with non-root user.

passwd $USER



Installing KDE Plasma:-

We'll install minimal version of KDE Plasma, it will be much faster than whole. It will take sometime to install it, just keep patience.

pacman -S plasma-desktop


Once it installed, lets install some useful applications like browser, file manager, terminal etc.

pacman -S dolphin firefox konsole kdeplasma-addons kde-gtk-config


Setting up sound:-

Use this command in termux to setup pulseaudio, termux will work as medium for sound.


  • pulseaudio --start --exit-idle-time=-1

And then use this command in termux. We'll export pulseserver while starting vnc

  • pacmd load-module module-native-protocol-tcp auth-ip-acl= auth-anonymous=1

Setting up VNC

Open new session in termux and start vnc:-

  • vncserver -geometry 2264x1080 -listen tcp :1; DISPLAY=:1 xhost +

And in arch linux session start ArchLinux with:-
  • PULSE_SERVER= DISPLAY=:1 dbus-launch plasma_session

How to Run ArchLinux Plasma on Android !!
4/ 5
Open Comments
Close comment


  1. don't you feel bad while copying someone content and pasting it as it is somewhere else.

    that whole post content belongs to me and been copied from here

    consider removing it immediately else I have to take legal action.