News for hackers. Stuff that matters.
Re:Transform Your Android Device into a Linux Desktop by takantri on Tuesday August 01, 2023 @08:46PM (#36965433)
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

Re:Transform Your Android Device into a Linux Desktop by tetris11 on Wednesday August 02, 2023 @02:21AM (#36967628)
How do you get X11 to work though. Don't you need an X11 server running on top of the existing Android display server?
Re:Transform Your Android Device into a Linux Desktop by MayeulC on Wednesday August 02, 2023 @02:56AM (#36967850)
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.

Re:Transform Your Android Device into a Linux Desktop by phh on Wednesday August 02, 2023 @06:12AM (#36968958)
Actually Termux:X11 /is/ a wayland compositor. But it is so minimal that the only working client is Xwayland.
Re:Transform Your Android Device into a Linux Desktop by MayeulC on Wednesday August 02, 2023 @02:48PM (#36975218)
Oh, that's interesting. My use-cases is running sway, I'm curious how much I would have to change it?