Termux-Desktops icon indicating copy to clipboard operation
Termux-Desktops copied to clipboard

Debian Proot using XFCE4 black screens after installing hardware acceleration packages

Open zhedye opened this issue 4 months ago • 0 comments

I get a black screen for xfce4 after installing these packages to termux:

pkg install mesa-zink virglrenderer-mesa-zink vulkan-loader-android virglrenderer-android

To fix this, in startxfce4_debian.sh I had to add this environment variable LIBGL_ALWAYS_SOFTWARE=1 before startxfce4:

proot-distro login debian --shared-tmp -- /bin/bash -c  'export PULSE_SERVER=127.0.0.1 && export XDG_RUNTIME_DIR=${TMPDIR} && su - droidmaster -c "env DISPLAY=:0 LIBGL_ALWAYS_SOFTWARE=1 startxfce4"'

zhedye avatar Aug 27 '25 04:08 zhedye