Our great sponsors
-
The other error message is about SDL2, which is a commonly-used library that handles window creation etc. in a platform-agnostic way. There should be an apt package for it, but I'm not sure what it's called. I'd recommend searching Ubuntu's repositories for that and installing it to fix your issue.
-
XDG_RUNTIME_DIR is normally set by pam_systemd(8) on systemd-based systems (or pam_elogind(8) on non-systemd-based systems that nevertheless use elogind). Checking the Termux installation on my own phone, there are no man pages for either pam_systemd nor pam_elogind, so i assume neither is available by default. But OP talks of Ubuntu, so i assume they're running Ubuntu in a PRoot - OP, is that the case? If so, you might need to ask Termux-knowledgable people what the best thing to do is in this case. (When i was running Void Linux i just set XDG_RUNTIME_DIR via shell script on console login.)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.