-
-
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
xwayland ( binaries for wayland ) & termux-x11 ( scripts to start termux-x11 app from termux ) are in x11-repo
pkg install x11-repo -y
pkg install xwayland termux-x11Setting termux is done ✌️
for now, this app is available here https://github.com/termux/termux-x11/actions
or get my old snapshot of termux-x11
so download and install it
assuming you installed ubuntu with proot-distro with xfce4 installed
in your termux execute
termux-x11this starts termux-x11 with all the required ENV variables
- login to distro you like ( for this tutorial let's say it is
udroidproot-distro) with--shared-tmpoption
-
-
proot-distro login udroid --shared-tmp
-
by default Wayland socket in stored in termux
$TMPDIRso using--shared-tmpbind/tmpin proot linux to$TMPDIRof termux app
- Now export
DISPLAYenvironment variable with value:0
-
-
export DISPLAY=:0
-
termux-x11starts display at:0( default )
- finally start your Desktop Environment ( xfce4 works better )
-
-
dbus-launch --exit-with-session startxfce4
-
That's all now if you open minimized Termux:x11 app you see xfce4 running
https://github.com/termux/termux-x11 Official termux-x11 repo
https://github.com/wayland-project/wayland Official wayland sources
https://at.projects.genivi.org/wiki/display/DIRO/Wayland+Application+on+Android Docs Wayland implementation in android
Yy