proot icon indicating copy to clipboard operation
proot copied to clipboard

x11 apps do not work while running Termux on Android subsystem for Chromebook

Open JanuszChmiel opened this issue 1 year ago • 2 comments

Problem description

It is impossible to use X11 apps on Android subsystem for Chromebook. Process always hang when some app is executed. Even if user uses Xvnc in Prooted Linux distribution. I have executed The mate-session

proot info: vpid 5: sysenter start: openat(0xffffff9c, 0x7d042e6b46a0, 0x80000, 0x0, 0x7fff33011517, 0x0) = 0xffffffffffffffda [0x7fff33011468, 0] proot info: vpid 5: translate("/" + "/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0") proot info: vpid 5: -> "/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/debian/usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0.5000.12" proot info: vpid 5: sysenter end: openat(0xffffff9c, 0x7fff33011363, 0x80000, 0x0, 0x7fff33011517, 0x0) = 0xffffffffffffffda [0x7fff33011363, 0] proot info: vpid 9: seccomp SIGSYS: epoll_wait(0x3, 0x7ffc488ca050, 0x40, 0xffffffff, 0x0, 0x0) = 0xe8 [0x7ffc488ca048, 0] proot info: Setting result after SIGSYS to 0xffffffffffffffda

Steps to reproduce

termux-x11 :1 & proot-distro login --user janusz debian --shared-tmp export DISPLAY=:1 mate-session & The screen contain many output related to The following error warn] epoll_wait: Function not implemented Expected behavior

Mate-session should start The mate desktop environment like while using it on standard Android devices. Screen should contain output of which modules have been loaded and screen should contain The mate desktop.

Additional information

~ $ termux-info
Termux Variables:
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=21395
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
TERMUX__USER_ID=0
Packages CPU architecture:
x86_64
Subscribed repositories:
# sources.list
deb https://md.mirrors.hacktegic.com/termux/termux-main stable main
# x11-repo (sources.list.d/x11.list)
deb https://packages-cf.termux.dev/apt/termux-x11/ x11 main
Updatable packages:
All packages up to date
termux-tools version:
1.42.1
Android version:
11
Kernel build information:
Linux localhost 5.10.213-24493-g89d8d41804c3 #1 SMP PREEMPT Sat, 16 Mar 2024 18:41:57 +0000 x86_64 Android
Device manufacturer:
Google
Device model:
grunt
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.x11 versionCode:14
~ $

JanuszChmiel avatar May 27 '24 15:05 JanuszChmiel