-
-
Notifications
You must be signed in to change notification settings - Fork 103
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 -y
pkg install xwaylandSetting 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-tmpexport DISPLAY value to :0
export DISPLAY=:0then invoke your de start script. for xfce4 it is startxfce4 and others may differ
startxfce4That's all now if you open minimized Xwayland:Termux app you see xfce4 running
https://github.com/termux/termux-x11
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