termux/termux-x11

[Bug]: os_same_file_description couldn't determine if two DRM fids reference the same file description. (no such file or directory). Let's just assume that file descriptors for the same file probably share the file description instead. This may cause problems when that is not the case.

Marietto2008 opened this issue · 4 comments

Problem description

Hello.

I'm using termux,installed through F-droid on Android 14 installed on the Raspberry Pi 4. This is what I did to have xfce4 running with X11 :

$ pkg install x11-repo termux-x11-nightly xwayland xfce4-session xfce4 xfce4-goodies
$ pkg upgrade

installed app-arm64-v8a-debug.apk from here :

https://github.com/termux/termux-x11/releases/download/nightly/app-arm64-v8a-debug.apk

and then from a termux terminal I did :

$ termux-x11 -xstartup xfce4-session

but also :

$ termux-x11 :1 -xstartup "dbus-launch --exit-with-session xfce4-session"
or
$ termux-x11 :1 -xstartup "xfce4-session"

but I've got the following errors :

os_same_file_description couldn't determine if two DRM fids reference the same file description. (no such file or directory) Let's just assume that file descriptors for the same file probably share the file description instead. This may cause problems when that is not the case.

no SSH authentication agent found Unsupported GL renderer (llvmpipe (LLVM 18.1.6, 128 bits))

Failed to get system bus : could not connect : no such file or directory 

Xlib : extension "DPMS" missing on display ":0.0"

What steps will reproduce the bug?

$ pkg install x11-repo termux-x11-nightly xwayland xfce4-session xfce4 xfce4-goodies
$ pkg upgrade

installed app-arm64-v8a-debug.apk from here :

https://github.com/termux/termux-x11/releases/download/nightly/app-arm64-v8a-debug.apk

and then from a termux terminal I did :

$ termux-x11 -xstartup xfce4-session

but also :

$ termux-x11 :1 -xstartup "dbus-launch --exit-with-session xfce4-session"
or
$ termux-x11 :1 -xstartup "xfce4-session"

What is the expected behavior?

That it is able to launch xfce with X11.

xfce4 + X11 here works with the following command,despite the errors it gives :

$ termux-x11 :1 -xstartup "dbus-launch --exit-with-session xfce4-session"

and nano /data/data/com.termux/files/home/.xinitrc

xterm&

I can not reproduce the issue with termux-x11 -xstartup xfce4-session command.

Probably firmware related quirk. Termux:X11 does not use any non-standard or 3rd party components related to DRM, this error is EGL/GLES implementation related.

Also "Android 14 installed on the Raspberry Pi 4" does not seem official or stable system.