setting up termux-x11
guide for setting termux-x11 for udroid GUI
Last updated
Was this helpful?
guide for setting termux-x11 for udroid GUI
Last updated
Was this helpful?
termux-x11 is a termux addon providing Android frontend for xwayland. It uses the Wayland display protocol, which is aimed to become the successor of the X Window System. Note that it is not a fully-fledged Wayland server, it's like an X system in Wayland.
Through its companion package, the executable creates a socket through $XDG_RUNTIME_DIR in the Termux directory by default.
The Wayland sockets are the way for the graphical applications to communicate with. Termux X11 applications do not have Wayland support yet, this kind of setup may not be straightforward and therefore additional packages should be installed in order for X11 applications to be run in termux-x11.
Termux from or
termux-x11 app from *
First, we need to set x11-repo
and then to install termux-x11-nightly
. These commands below do the job of installing both of them. execute these commands in termux-app ( copy, paste, then enter )
termux-x11
appStart the termux-x11 app and use this command in termux to start the x11 server
udorid launch script takes care of mounting the termux-x11 default socket directory to the suites tmp directory, you just have to export the DISPLAY variable to the correct display address and run the application/Desktop environment to show the GUI in termux-x11
Login to your distro and try out these examples
glxgears
xfce4
gnome