Hacker News new | ask | show | jobs
by takantri 1049 days ago
As an alternative to the VNC method suggested here, there's also the Termux-X11 add-on[1].

In my experience, VNC is more stable, but when Termux-X11 works, it feels snappier than VNC, and the resolution of the Linux environment is automatically scaled to the available screen space you have (making portrait/landscape switches and soft keyboards feel seamless)

[1] - https://github.com/termux/termux-x11

1 comments

How do you get X11 to work though. Don't you need an X11 server running on top of the existing Android display server?
Bah, just an X server (or minimal reimplementation) running in an app, that then renders to its top-level surface.

What I would really like to see is an Android back end implementation for wlroots. Or alternatively, a small Android(/termux) app that just acts as a simple Wayland compositor, that compositors can then use as a back-end. I found an issue about this some time ago, but can't find it anymore.

Actually Termux:X11 /is/ a wayland compositor. But it is so minimal that the only working client is Xwayland.
Oh, that's interesting. My use-cases is running sway, I'm curious how much I would have to change it?