Arch Linux with KDE Plasma Desktop on Android | No Root




Hello friends,

In this article we will be installing KDE Plasma desktop on Arch Linux. KDE Plasma with Arch Linux is quite tricky but with this method you can easily use it.





Prerequisite :

Termux


Installation :


First we will install Arch Linux via proot-distro (official utility from Termux) 


pkg update -y && pkg install proot-distro -y && proot-distro install archlinux


Login to it


proot-distro login archlinux


Now update & fully upgrade archlinux, make sure to enter Y when it asks for full upgrade


pacman -Syu


Install KDE Plasma desktop


pacman -S plasma-desktop


Now create a new session in Termux (by swiping from left and click on new session) and install vncserver


pkg install x11-repo && pkg install tigervnc xorg-xhost -y


Start vncserver 


vncserver -listen tcp :1 


DISPLAY=:1 xhost + 


Now again go to archlinux and paste following in termux 


echo "rm /run/dbus/pid 

dbus-daemon --system 

DISPLAY=:1 dbus-launch startplasma-x11" >> /usr/local/bin/vncstart && chmod +x /usr/local/bin/vncstart



Start Plasma desktop 


vncstart


To stop vnc just use ctrl c and kill vnc server by executing following in Termux


vncserver -kill :1







Post a Comment (0)
Previous Post Next Post