-
-
Notifications
You must be signed in to change notification settings - Fork 95
XWayland in proot
Official f-droid termux may not work for this so get termux from https://github.com/termux/termux-app/actions
after install do some updates and installations
Just copy the code below in termux and done!
pkg install x11-repo wget -y
wget https://github.com/suhan-paradkar/xwayland4tewmux/releases/download/xwayland/libwayland-protocols_1.17-4_$(dpkg --print-architecture).deb
wget https://github.com/suhan-paradkar/xwayland4tewmux/releases/download/xwayland/libwayland_1.19.0_$(dpkg --print-architecture).deb
wget https://github.com/suhan-paradkar/xwayland4tewmux/releases/download/xwayland/xwayland_1.20.5-6_$(dpkg --print-architecture).deb
pkg in ./libwayland-protocols_1.17-4_$(dpkg --print-architecture).deb ./libwayland_1.19.0_$(dpkg --print-architecture).deb ./xwayland_1.20.5-6_$(dpkg --print-architecture).deb
Setting termux is done ✌️
for now, this app is available here https://github.com/termux/termux-x11/actions
so download and install it
assuming you installed ubuntu with proot-distro with xfce4 installed
Here starts setp by step process
Open termux app the minimize it and open Termux:Xwayland app
then open termux and use
export XDG_RUNTIME_DIR=$TMPDIR
Xwayland :0
this starts connection at port :0
Open a new session then start your prooted Linux
proot-distro login hippo --shared-tmp
# you can replace hippo
# you can use hippo --shared-tmp
export DISPLAY value to :0
export DISPLAY=:0
then invoke your de start script. for xfce4 it is startxfce4 and others may differ
startxfce4
That's all now if you open minimized Xwayland:Termux app you see xfce4 running
https://github.com/suhan-paradkar/termux-wayland/wiki/Launching-GUI-applications
https://github.com/wayland-project/wayland
https://at.projects.genivi.org/wiki/display/DIRO/Wayland+Application+on+Android
Yy