termux / termux-x11

Termux X11 add-on application.
https://termux.dev
GNU General Public License v3.0
2.12k stars 314 forks source link

Works only at first run #176

Closed spiral009 closed 1 year ago

spiral009 commented 1 year ago

there's no notification after second run Android 12 Termux-x11 1.02.06

``` ~ $ termux-x11 :1 Loading shared library: /data/data/com.termux/files/usr/libexec/termux-x11/starter.apk!/lib/arm64-v8a/libx11-starter.so res = 0 Activity is started Got getWaylandFD {ParcelFileDescriptor: java.io.FileDescriptor@4bc58d4} Lorie requested fd Got getLogFD {ParcelFileDescriptor: java.io.FileDescriptor@f3a9a7d} Got finish request App sent finishing command Failed to connect to Termux:X11. Something went wrong. ```
``` ~ $ tsu .../files/home # ps aux | grep x11 u0_a279 18005 1.2 1.1 6623932 136112 ? Dl 09:27 0:01 com.termux.x11 root 18440 1.0 0.0 2125524 2996 pts/0 S+ 09:29 0:00 grep x11 .../files/home # kill -9 18005 .../files/home # exit ~ $ termux-x11 :1 Loading shared library: /data/data/com.termux/files/usr/libexec/termux-x11/starter.apk!/lib/arm64-v8a/libx11-starter.so res = 0 Activity is started Got getWaylandFD {ParcelFileDescriptor: java.io.FileDescriptor@7f00534} Lorie requested fd Got getLogFD {ParcelFileDescriptor: java.io.FileDescriptor@d003f5d} Got finish request App sent finishing command Failed to connect to Termux:X11. Something went wrong. ~ $ ```
twaik commented 1 year ago

It is known error. Temporary solution.

spiral009 commented 1 year ago

Another thing ,am i doing this correctly?

``` ~ $ export XDG_RUNTIME_DIR=$PWD/ubuntu64/tmp/ ~ $ termux-x11 :0 & [1] 20605 ~ $ Loading shared library: /data/data/com.termux/files/usr/libexec/termux-x11/starter.apk!/lib/arm64-v8a/libx11-starter.so res = 0 Activity is started Got getWaylandFD {ParcelFileDescriptor: java.io.FileDescriptor@210c8c9} Lorie requested fd Got getLogFD {ParcelFileDescriptor: java.io.FileDescriptor@2c8ebce} Got finish request App sent finishing command Starting Xwayland The XKEYBOARD keymap compiler (xkbcomp) reports: > Warning: Unsupported maximum keycode 569, clipping. > X11 cannot support keycodes above 255. Errors from xkbcomp are not fatal to the X server ~ $ ./xxx.sh bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) root@localhost:/# env DISPLAY=:0 glxgears Error: couldn't open display :0 root@localhost:/# ```
twaik commented 1 year ago
  1. termux-x11 does not work with Xwayland in chroot/proot. Changing XDG_RUNTIME_DIR for termux-x11 has no sense because Xwayland creates its sockets in $PREFIX/tmp.
  2. There is no GLX support. Glxgears will not work.
twaik commented 1 year ago

Any updates?

spiral009 commented 1 year ago

I can start x11 then it crashes and i can't open the termux-x11 app it keeps kicking me out unless i force stop it Version 1.02.06

``` ~ $ termux-x11 :1 Loading shared library: /data/data/com.termux/files/usr/libexec/termux-x11/starter.apk!/lib/arm64-v8a/libx11-starter.so $XDG_RUNTIME_DIR is unset. Exporting default value (/data/data/com.termux/files/usr/tmp). res = 0 Activity is started Got getWaylandFD {ParcelFileDescriptor: java.io.FileDescriptor@d177264} Lorie requested fd Got getLogFD {ParcelFileDescriptor: java.io.FileDescriptor@52e5ccd} Got finish request App sent finishing command Starting Xwayland (EE) failed to read Wayland events: Connection reset by peer ~ $ ```
``` dbus[16715]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/data/data/com.termux/files/usr/tmp" can be written by others (mode 047777) (xfwm4:16737): xfwm4-WARNING **: 17:48:03.356: Unsupported GL renderer (llvmpipe (LLVM 15.0.7, 128 bits)). ~ $ Failed to connect to session manager: Failed to connect to the session manager: Could not open network socket (xfdesktop:16780): GLib-GIO-CRITICAL **: 17:48:04.930: Error while sending AddMatch() message: The connection is closed (xfdesktop:16780): GLib-GIO-CRITICAL **: 17:48:04.930: Error while sending AddMatch() message: The connection is closed (xfdesktop:16780): GLib-GIO-CRITICAL **: 17:48:04.930: Error while sending AddMatch() message: The connection is closed (xfdesktop:16780): GLib-GObject-WARNING **: 17:48:04.931: invalid (NULL) pointer instance (xfdesktop:16780): GLib-GObject-CRITICAL **: 17:48:04.931: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (xfdesktop:16780): GLib-GIO-CRITICAL **: 17:48:04.931: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed (xfdesktop:16780): GLib-CRITICAL **: 17:48:04.931: g_propagate_error: assertion 'src != NULL' failed (xfdesktop:16780): GLib-GIO-CRITICAL **: 17:48:04.932: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed (xfdesktop:16780): GLib-CRITICAL **: 17:48:04.932: g_propagate_error: assertion 'src != NULL' failed (xfdesktop:16780): GLib-GIO-CRITICAL **: 17:48:04.932: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed (xfdesktop:16780): GLib-CRITICAL **: 17:48:04.932: g_propagate_error: assertion 'src != NULL' failed (xfdesktop:16780): GLib-GIO-CRITICAL **: 17:48:04.933: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed (xfdesktop:16780): GLib-CRITICAL **: 17:48:04.933: g_propagate_error: assertion 'src != NULL' failed (xfdesktop:16780): GLib-GIO-CRITICAL **: 17:48:04.933: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed (xfdesktop:16780): GLib-CRITICAL **: 17:48:04.933: g_propagate_error: assertion 'src != NULL' failed (xfdesktop:16780): GLib-GIO-CRITICAL **: 17:48:04.933: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed (xfdesktop:16780): GLib-CRITICAL **: 17:48:04.933: g_propagate_error: assertion 'src != NULL' failed (xfdesktop:16780): GLib-GIO-CRITICAL **: 17:48:04.933: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed (xfdesktop:16780): GLib-CRITICAL **: 17:48:04.933: g_propagate_error: assertion 'src != NULL' failed ```
twaik commented 1 year ago

Can you post a video?

spiral009 commented 1 year ago
https://user-images.githubusercontent.com/39057208/216383753-e864aad2-c826-47bc-b0a8-3526a13daabc.mp4

Now it does that

twaik commented 1 year ago

Ok, I'll try to fix that. It must be a renderer...

spiral009 commented 1 year ago

My device is rooted if you want logs and stuff

spiral009 commented 1 year ago

Now the cursor is off to the right ,the kill button doesn't do anything at first run and the task notification disappear second run And this "Not connected" window

![Screenshot_٢٠٢٣-٠٢-٠٣-١٨-٠١-٤٨-٦٥_00df01c412509efb9bd6450c382822af](https://user-images.githubusercontent.com/39057208/216636579-fb139612-156a-41f0-90ee-ce17d8e143de.jpg)
twaik commented 1 year ago

That is pretty weird, both "Not connected" and cursor should not appear in this build... I am not sure why you can see them...

spiral009 commented 1 year ago

Version 0.118.0

twaik commented 1 year ago

Version 0.118.0

That is version of termux-app, not of termux-x11. Currently termux-x11 does not have versions, it is still in alpha stage.

spiral009 commented 1 year ago

Opss my mistake it's this build I'm using https://github.com/termux/termux-x11/actions/runs/4084923811

https://user-images.githubusercontent.com/39057208/216653218-101091f7-5a4d-4ca6-8612-d01b49db82f3.mp4
twaik commented 1 year ago

It is more weird I thought... I'll fix this later.

twaik commented 1 year ago

Can you please check if it is relevant for latest build?

spiral009 commented 1 year ago

Notification gone after some exitin

https://user-images.githubusercontent.com/39057208/216800985-819732fe-b8c0-48f0-8a22-60e01a8fd8f9.mp4
spiral009 commented 1 year ago

and this annoying not connected window still there

twaik commented 1 year ago

It shows that there is no active connection to Xwayland and disappears when you start connection from termux... Did you notice something else?

spiral009 commented 1 year ago

The mouse cursor is small and only moves in the right side of the screen

twaik commented 1 year ago

Can you please post here termux-info output?

spiral009 commented 1 year ago
``` Termux Variables: TERMUX_API_VERSION=0.50.1 TERMUX_APK_RELEASE=GITHUB TERMUX_APP_PACKAGE_MANAGER=apt TERMUX_APP_PID=10555 TERMUX_IS_DEBUGGABLE_BUILD=1 TERMUX_MAIN_PACKAGE_FORMAT=debian TERMUX_VERSION=0.118.0 Packages CPU architecture: aarch64 Subscribed repositories: # sources.list deb https://packages-cf.termux.dev/apt/termux-main/ stable main # root-repo (sources.list.d/root.list) deb https://packages-cf.termux.dev/apt/termux-root/ root stable # x11-repo (sources.list.d/x11.list) deb https://packages-cf.termux.dev/apt/termux-x11/ x11 main # tur-repo (sources.list.d/tur.list) deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous Updatable packages: c-ares/stable 1.19.0 aarch64 [upgradable from: 1.18.1-1] command-not-found/stable 2.1.0-8 aarch64 [upgradable from: 2.1.0-7] fontconfig/stable 2.14.2 aarch64 [upgradable from: 2.14.1-1] gtk-update-icon-cache/x11 3.24.36-1 aarch64 [upgradable from: 3.24.36] gtk3/x11 3.24.36-1 aarch64 [upgradable from: 3.24.36] imagemagick/stable 7.1.0.60 aarch64 [upgradable from: 7.1.0.58] libc++/stable 25c aarch64 [upgradable from: 25b] libde265/stable 1.0.11 aarch64 [upgradable from: 1.0.9] libdrm/stable 2.4.114-1 aarch64 [upgradable from: 2.4.114] libjpeg-turbo/stable 2.1.5 aarch64 [upgradable from: 2.1.4] libxshmfence/stable 1.3.2-1 aarch64 [upgradable from: 1.3.2] libxxf86vm/stable 1.1.5-1 aarch64 [upgradable from: 1.1.5] mpv/stable 0.35.1 aarch64 [upgradable from: 0.35.0] ndk-sysroot/stable 25c aarch64 [upgradable from: 25b-3] python-pip/stable 23.0 all [upgradable from: 22.3.1-3] termux-tools version: 1.36.1 Android version: 12 Kernel build information: Linux localhost 4.19.157-Spiral+ #31 SMP PREEMPT Thu Nov 3 10:51:42 UTC 2022 aarch64 Android Device manufacturer: realme Device model: RMX3370 ```

Another thing why I can't launch x applications from chroot?

twaik commented 1 year ago

Another thing why I can't launch x applications from chroot?

I am not sure. What do they print?

The mouse cursor is small and only moves in the right side of the screen

Check latest build.

spiral009 commented 1 year ago
``` root@localhost:~# xeyes Invalid MIT-MAGIC-COOKIE-1 keyError: Can't open display: :1 root@localhost:~# glxgears Invalid MIT-MAGIC-COOKIE-1 keyError: couldn't open display :1 root@localhost:~# xeyes Invalid MIT-MAGIC-COOKIE-1 keyError: Can't open display: :1 root@localhost:~# ```
twaik commented 1 year ago

Do you start proot like this?

spiral009 commented 1 year ago

It's chroot so i did mount ../usr/tmp/ Ubuntu/tmp/

twaik commented 1 year ago

It's chroot

Yeah, sorry, my fault.

Try mount --bind

spiral009 commented 1 year ago

Mouse cursor is fixed but it's hard to click on anything

``` ~ $ termux-x11 :1 & [1] 14561 ~ $ Loading shared library: /data/data/com.termux/files/usr/libexec/termux-x11/starter.apk!/lib/arm64-v8a/libx11-starter.so $XDG_RUNTIME_DIR is unset. Exporting default value (/data/data/com.termux/files/usr/tmp). res = 0 Activity is started Got getWaylandFD {ParcelFileDescriptor: java.io.FileDescriptor@b09d225} Lorie requested fd Got getLogFD {ParcelFileDescriptor: java.io.FileDescriptor@ed3effa} Got finish request App sent finishing command Starting Xwayland ~ $ tsu .../files/home # umount Ubuntu/^C .../files/home # mount --bind ../usr/tmp/ Ubuntu/tmp/ .../files/home # exit ~ $ ./Sr bash: ./Sr: No such file or directory ~ $ ./Start_Ubuntu.sh Mounting.... Starting.... root@localhost:~# export DISPLAY=:1 root@localhost:~# glxgears Invalid MIT-MAGIC-COOKIE-1 keyError: couldn't open display :1 root@localhost:~# ```
twaik commented 1 year ago

I am not sure if I really can help here. Try this.

twaik commented 1 year ago

@ulist Can you please check if it happens with latest build here?

spiral009 commented 1 year ago
``` ~ $ termux-x11 Starting Xwayland error in client communication (pid 31133) (EE) Fatal server error: (EE) wl_display@1: error 0: invalid object 10 (EE) Xwayland died, no need to go on... ~ $ ```
twaik commented 1 year ago

Is that latest build? Can you please do WAYLAND_DEBUG=1 termux-x11?

spiral009 commented 1 year ago

Yes latest build

``` ~ $ WAYLAND_DEBUG=1 termux-x11 Starting Xwayland [2994995.679] -> wl_display@1.get_registry(new id wl_registry@2) [2994995.719] -> wl_display@1.sync(new id wl_callback@3) [2994995.795] wl_display@1.get_registry(new id wl_registry@2) [2994995.829] -> wl_registry@2.global(1, "wl_compositor", 5) [2994995.854] -> wl_registry@2.global(2, "wl_seat", 8) [2994995.864] -> wl_registry@2.global(3, "wl_output", 4) [2994995.868] -> wl_registry@2.global(4, "wl_shell", 1) [2994995.872] -> wl_registry@2.global(5, "xdg_wm_base", 5) [2994995.890] -> wl_registry@2.global(6, "wl_shm", 1) [2994995.895] wl_display@1.sync(new id wl_callback@3) [2994995.899] -> wl_callback@3.done(0) [2994995.902] -> wl_display@1.delete_id(3) [2994995.943] wl_display@1.delete_id(3) [2994995.963] wl_registry@2.global(1, "wl_compositor", 5) [2994995.976] -> wl_registry@2.bind(1, "wl_compositor", 1, new id [unknown]@4) [2994995.997] wl_registry@2.global(2, "wl_seat", 8) [2994996.004] wl_registry@2.global(3, "wl_output", 4) [2994996.009] -> wl_registry@2.bind(3, "wl_output", 2, new id [unknown]@5) [2994996.030] wl_registry@2.global(4, "wl_shell", 1) [2994996.040] -> wl_registry@2.bind(4, "wl_shell", 1, new id [unknown]@6) [2994996.048] wl_registry@2.global(5, "xdg_wm_base", 5) [2994996.054] wl_registry@2.global(6, "wl_shm", 1) [2994996.064] -> wl_registry@2.bind(6, "wl_shm", 1, new id [unknown]@7) [2994996.086] wl_callback@3.done(0) [2994996.191] -> wl_display@1.sync(new id wl_callback@3) [2994996.270] wl_registry@2.bind(1, "wl_compositor", 1, new id [unknown]@4) [2994996.318] wl_registry@2.bind(3, "wl_output", 2, new id [unknown]@5) [2994996.348] -> wl_output@5.geometry(0, 0, 211, 158, 0, "Lorie", "none", 0) [2994996.370] -> wl_output@5.scale(1) [2994996.374] -> wl_output@5.mode(3, 800, 600, 60000) [2994996.378] -> wl_output@5.done() [2994996.388] wl_registry@2.bind(4, "wl_shell", 1, new id [unknown]@6) [2994996.404] wl_registry@2.bind(6, "wl_shm", 1, new id [unknown]@7) [2994996.409] -> wl_shm@7.format(0) [2994996.425] -> wl_shm@7.format(1) [2994996.428] wl_display@1.sync(new id wl_callback@3) [2994996.432] -> wl_callback@3.done(0) [2994996.436] -> wl_display@1.delete_id(3) [2994996.490] wl_display@1.delete_id(3) [2994996.516] wl_output@5.geometry(0, 0, 211, 158, 0, "Lorie", "none", 0) [2994996.530] wl_output@5.scale(1) [2994996.532] wl_output@5.mode(3, 800, 600, 60000) [2994996.538] wl_output@5.done() [2994996.554] wl_callback@3.done(0) [2995028.261] -> wl_shm@7.create_pool(new id wl_shm_pool@3, fd 9, 1920000) [2995028.292] -> wl_shm_pool@3.create_buffer(new id wl_buffer@8, 0, 800, 600, 3200, 1) [2995028.305] -> wl_shm_pool@3.destroy() [2995029.878] -> wl_compositor@4.create_surface(new id wl_surface@9) [2995029.902] -> wl_shell@6.get_shell_surface(new id wl_shell_surface@10, wl_surface@9) [2995029.914] -> wl_shell_surface@10.set_toplevel() [2995029.917] -> wl_compositor@4.create_region(new id wl_region@11) [2995029.921] -> wl_region@11.add(0, 0, 800, 600) [2995029.927] -> wl_surface@9.set_opaque_region(wl_region@11) [2995029.931] -> wl_region@11.destroy() [2995029.994] wl_shm@7.create_pool(new id wl_shm_pool@3, fd 62, 1920000) [2995030.110] wl_shm_pool@3.create_buffer(new id wl_buffer@8, 0, 800, 600, 3200, 1) [2995030.131] wl_shm_pool@3.destroy() [2995030.142] -> wl_display@1.delete_id(3) [2995030.149] wl_compositor@4.create_surface(new id [unknown]@9) [2995030.167] wl_shell@6.get_shell_surface(new id [unknown]@10, wl_surface@9) [2995030.173] -> wl_display@1.error(wl_display@1, 0, "invalid object 10") error in client communication (pid 32004) [2995053.425] -> wl_shm@7.create_pool(new id wl_shm_pool@12, fd 9, 1024) [2995053.463] -> wl_shm_pool@12.create_buffer(new id wl_buffer@13, 0, 16, 16, 64, 0) [2995053.478] -> wl_shm_pool@12.destroy() [2995054.590] -> wl_display@1.get_registry(new id wl_registry@14) [2995054.627] -> wl_display@1.sync(new id wl_callback@15) [2995054.659] wl_display@1.delete_id(3) [2995054.674] wl_display@1.error(wl_display@1, 0, "invalid object 10") (EE) Fatal server error: (EE) wl_display@1: error 0: invalid object 10 (EE) Xwayland died, no need to go on... ~ $ ```
twaik commented 1 year ago

Did you update Xwayland? It looks like I broke wl_shell. Try latest build.

twaik commented 1 year ago

@ulist?

spiral009 commented 1 year ago

I'm using xwayland/x11 22.1.8 aarch64 [upgradable from: 1.20.5-16] Wayland X11 server I'll upgrade it and try but with version 1.20.5-16 it's frozen

``` ~ $ WAYLAND_DEBUG=1 termux-x11 Starting Xwayland [110786.333] -> wl_display@1.get_registry(new id wl_registry@2) [110786.388] -> wl_display@1.sync(new id wl_callback@3) [ 110786.593] wl_display@1.get_registry(new id wl_registry@2) [ 110786.615] -> wl_registry@2.global(1, "wl_compositor", 5) [ 110786.626] -> wl_registry@2.global(2, "wl_seat", 8) [ 110786.631] -> wl_registry@2.global(3, "wl_output", 4) [ 110786.635] -> wl_registry@2.global(4, "wl_shell", 1) [ 110786.639] -> wl_registry@2.global(5, "xdg_wm_base", 5) [ 110786.642] -> wl_registry@2.global(6, "wl_shm", 1) [ 110786.646] wl_display@1.sync(new id wl_callback@3) [ 110786.650] -> wl_callback@3.done(0) [ 110786.654] -> wl_display@1.delete_id(3) [110786.694] wl_display@1.delete_id(3) [110786.754] wl_registry@2.global(1, "wl_compositor", 5) [110786.764] -> wl_registry@2.bind(1, "wl_compositor", 1, new id [unknown]@4) [110786.775] wl_registry@2.global(2, "wl_seat", 8) [110786.781] wl_registry@2.global(3, "wl_output", 4) [110786.786] -> wl_registry@2.bind(3, "wl_output", 2, new id [unknown]@5) [110786.814] wl_registry@2.global(4, "wl_shell", 1) [110786.823] -> wl_registry@2.bind(4, "wl_shell", 1, new id [unknown]@6) [110786.832] wl_registry@2.global(5, "xdg_wm_base", 5) [110786.839] wl_registry@2.global(6, "wl_shm", 1) [110786.844] -> wl_registry@2.bind(6, "wl_shm", 1, new id [unknown]@7) [110786.850] wl_callback@3.done(0) [110786.952] -> wl_display@1.sync(new id wl_callback@3) [ 110787.022] wl_registry@2.bind(1, "wl_compositor", 1, new id [unknown]@4) [ 110787.058] wl_registry@2.bind(3, "wl_output", 2, new id [unknown]@5) [ 110787.078] -> wl_output@5.geometry(0, 0, 211, 158, 0, "Lorie", "none", 0) [ 110787.094] -> wl_output@5.scale(1) [ 110787.098] -> wl_output@5.mode(3, 800, 600, 60000) [ 110787.113] -> wl_output@5.done() [ 110787.125] wl_registry@2.bind(4, "wl_shell", 1, new id [unknown]@6) [ 110787.141] wl_registry@2.bind(6, "wl_shm", 1, new id [unknown]@7) [ 110787.152] -> wl_shm@7.format(0) [ 110787.155] -> wl_shm@7.format(1) [ 110787.158] wl_display@1.sync(new id wl_callback@3) [ 110787.161] -> wl_callback@3.done(0) [ 110787.165] -> wl_display@1.delete_id(3) [110787.191] wl_display@1.delete_id(3) [110787.199] wl_output@5.geometry(0, 0, 211, 158, 0, "Lorie", "none", 0) [110787.211] wl_output@5.scale(1) [110787.214] wl_output@5.mode(3, 800, 600, 60000) [110787.220] wl_output@5.done() [110787.233] wl_callback@3.done(0) [110804.253] -> wl_shm@7.create_pool(new id wl_shm_pool@3, fd 9, 1920000) [110804.279] -> wl_shm_pool@3.create_buffer(new id wl_buffer@8, 0, 800, 600, 3200, 1) [110804.293] -> wl_shm_pool@3.destroy() [110804.604] -> wl_compositor@4.create_surface(new id wl_surface@9) [110804.616] -> wl_shell@6.get_shell_surface(new id wl_shell_surface@10, wl_surface@9) [110804.620] -> wl_shell_surface@10.set_toplevel() [110804.626] -> wl_compositor@4.create_region(new id wl_region@11) [110804.629] -> wl_region@11.add(0, 0, 800, 600) [110804.634] -> wl_surface@9.set_opaque_region(wl_region@11) [110804.637] -> wl_region@11.destroy() [ 110804.718] wl_shm@7.create_pool(new id wl_shm_pool@3, fd 62, 1920000) [ 110804.821] wl_shm_pool@3.create_buffer(new id wl_buffer@8, 0, 800, 600, 3200, 1) [ 110804.865] wl_shm_pool@3.destroy() [ 110804.895] -> wl_display@1.delete_id(3) [ 110804.909] wl_compositor@4.create_surface(new id [unknown]@9) [ 110804.945] wl_shell@6.get_shell_surface(new id [unknown]@10, wl_surface@9) [ 110804.977] wl_shell_surface@10.set_toplevel() [ 110804.997] wl_compositor@4.create_region(new id [unknown]@11) [ 110805.030] wl_region@11.add(0, 0, 800, 600) [ 110805.054] wl_surface@9.set_opaque_region(wl_region@11) [ 110805.064] wl_region@11.destroy() [ 110805.077] -> wl_display@1.delete_id(11) [110841.410] -> wl_shm@7.create_pool(new id wl_shm_pool@12, fd 9, 1024) [110841.449] -> wl_shm_pool@12.create_buffer(new id wl_buffer@13, 0, 16, 16, 64, 0) [110841.463] -> wl_shm_pool@12.destroy() [110842.406] -> wl_display@1.get_registry(new id wl_registry@14) [110842.434] -> wl_display@1.sync(new id wl_callback@15) [ 110842.511] wl_shm@7.create_pool(new id wl_shm_pool@12, fd 62, 1024) [ 110842.564] wl_shm_pool@12.create_buffer(new id wl_buffer@13, 0, 16, 16, 64, 0) [ 110842.579] wl_shm_pool@12.destroy() [ 110842.585] -> wl_display@1.delete_id(12) [ 110842.590] wl_display@1.get_registry(new id wl_registry@14) [ 110842.595] -> wl_registry@14.global(1, "wl_compositor", 5) [ 110842.601] -> wl_registry@14.global(2, "wl_seat", 8) [ 110842.605] -> wl_registry@14.global(3, "wl_output", 4) [ 110842.609] -> wl_registry@14.global(4, "wl_shell", 1) [ 110842.613] -> wl_registry@14.global(5, "xdg_wm_base", 5) [ 110842.617] -> wl_registry@14.global(6, "wl_shm", 1) [ 110842.627] wl_display@1.sync(new id wl_callback@15) [ 110842.644] -> wl_callback@15.done(0) [ 110842.661] -> wl_display@1.delete_id(15) [110842.697] wl_display@1.delete_id(3) [110842.749] wl_display@1.delete_id(11) [110842.753] wl_display@1.delete_id(12) [110842.761] wl_display@1.delete_id(15) [110842.764] wl_registry@14.global(1, "wl_compositor", 5) [110842.783] wl_registry@14.global(2, "wl_seat", 8) [110842.791] -> wl_registry@2.bind(2, "wl_seat", 5, new id [unknown]@12) [110842.811] -> wl_compositor@4.create_surface(new id wl_surface@11) [110842.828] wl_registry@14.global(3, "wl_output", 4) [110842.833] wl_registry@14.global(4, "wl_shell", 1) [110842.839] wl_registry@14.global(5, "xdg_wm_base", 5) [110842.844] wl_registry@14.global(6, "wl_shm", 1) [110842.877] wl_callback@15.done(0) [110842.894] -> wl_display@1.sync(new id wl_callback@15) [ 110842.919] wl_registry@2.bind(2, "wl_seat", 5, new id [unknown]@12) [ 110842.941] -> wl_seat@12.capabilities(3) [ 110842.961] -> wl_seat@12.name("default") [ 110842.977] wl_compositor@4.create_surface(new id [unknown]@11) [ 110842.994] wl_display@1.sync(new id wl_callback@15) [ 110843.011] -> wl_callback@15.done(0) [ 110843.014] -> wl_display@1.delete_id(15) [110843.032] wl_display@1.delete_id(15) [110843.039] wl_seat@12.capabilities(3) [110843.043] -> wl_seat@12.get_pointer(new id wl_pointer@3) [110843.047] -> wl_pointer@3.set_cursor(0, nil, 0, 0) [110843.170] -> wl_seat@12.get_keyboard(new id wl_keyboard@16) [110843.277] wl_seat@12.name("default") [110843.287] wl_callback@15.done(0) [110843.389] -> wl_surface@9.attach(wl_buffer@8, 0, 0) [110843.401] -> wl_surface@9.damage(0, 0, 800, 600) [110843.407] -> wl_surface@9.frame(new id wl_callback@15) [110843.414] -> wl_surface@9.commit() [ 110843.435] wl_seat@12.get_pointer(new id [unknown]@3) [ 110843.449] wl_pointer@3.set_cursor(0, nil, 0, 0) [ 110843.461] wl_seat@12.get_keyboard(new id [unknown]@16) [ 110843.582] -> wl_keyboard@16.keymap(1, fd 63, 0) [ 110843.598] wl_surface@9.attach(wl_buffer@8, 0, 0) [ 110843.604] -> wl_buffer@8.release() [ 110843.610] wl_surface@9.damage(0, 0, 800, 600) [ 110843.614] wl_surface@9.frame(new id [unknown]@15) [ 110843.616] wl_surface@9.commit() [110843.638] wl_keyboard@16.keymap(1, fd 6, 0) ```
twaik commented 1 year ago

It looks nice, you can launch Android app. In latest builds it is not launched automatically.

spiral009 commented 1 year ago

If i launch xfce4 nothing appears in termux-x11 but the cursor

![Screenshot_٢٠٢٣-٠٣-٠٢-٠٢-٣٤-٢٢-٩٧_00df01c412509efb9bd6450c382822af](https://user-images.githubusercontent.com/39057208/222291100-4c1ac763-0386-461f-80c9-7fe2a09cf87c.jpg)
twaik commented 1 year ago

Can you get logcat with adb?

spiral009 commented 1 year ago

This is the logcat of com.termux-x11 pid

``` .../files/home # logcat --pid=12378 --------- beginning of main 03-02 02:40:43.934 12378 12378 E LorieX11Client: Surface: got new surface 0xf67a5ab51010 03-02 02:40:43.934 12378 12638 E LorieX11Client: Surface: changing surface 0x0 to 0xf67a5ab51010 03-02 02:40:43.935 12378 12638 E LorieX11Client: Refreshing screen failed: Error getting shm image through MIT-SHM extension 03-02 02:40:43.935 12378 12638 E LorieX11Client: XCB Error of failed request: Shm::BadSeg 03-02 02:40:43.935 12378 12638 E LorieX11Client: Major opcode of failed request: 130 (Shm) 03-02 02:40:43.935 12378 12638 E LorieX11Client: Minor opcode of failed request: 4 (GetImage) 03-02 02:40:43.935 12378 12638 E LorieX11Client: Serial number of failed request: 81 03-02 02:40:43.935 12378 12638 E LorieX11Client: Current serial number in output stream: 81 03-02 02:40:43.938 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:43.938 12378 12378 E LorieX11Client: Cursor: got new surface 0xf67a5abf8010 03-02 02:40:43.945 12378 12393 D SurfaceComposerClient: VRR [FRTC] client handle [bufferId:18446744073709551615 framenumber:0] [ffffffff, ffffffff] 03-02 02:40:43.945 12378 12654 D SurfaceComposerClient: VRR [FRTC] client handle [bufferId:18446744073709551615 framenumber:0] [ffffffff, ffffffff] 03-02 02:40:44.222 12378 12378 V AutofillManager: requestHideFillUi(null): anchor = null 03-02 02:40:44.270 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.278 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.286 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.294 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.303 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.311 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.320 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.328 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.336 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.345 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.354 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.362 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.371 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.378 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.387 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.395 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.403 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.412 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.420 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.438 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.504 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.521 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.538 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.579 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.603 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.612 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.629 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.644 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.662 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.679 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.695 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.712 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.729 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.745 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.762 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.779 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.795 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.812 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.829 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.845 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.862 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.879 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.895 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.912 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.929 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.945 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.962 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.979 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:44.995 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:45.062 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:45.077 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:45.458 12378 12378 E LorieX11Client: Surface: got new surface 0x0 03-02 02:40:45.458 12378 12638 E LorieX11Client: Surface: changing surface 0xf67a5ab51010 to 0x0 03-02 02:40:45.458 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:40:45.459 12378 12378 E LorieX11Client: Cursor: got new surface 0x0 03-02 02:40:45.459 12378 12378 E BLASTBufferQueue: BLASTBufferItemConsumer::onDisconnect() 03-02 02:40:45.464 12378 12636 E BLASTBufferQueue: BLASTBufferItemConsumer::onDisconnect() 03-02 02:42:37.449 12378 12378 E LorieX11Client: Surface: got new surface 0xf67a5ab48010 03-02 02:42:37.450 12378 12638 E LorieX11Client: Surface: changing surface 0x0 to 0xf67a5ab48010 03-02 02:42:37.451 12378 12638 E LorieX11Client: Refreshing screen failed: Error getting shm image through MIT-SHM extension 03-02 02:42:37.451 12378 12638 E LorieX11Client: XCB Error of failed request: Shm::BadSeg 03-02 02:42:37.451 12378 12638 E LorieX11Client: Major opcode of failed request: 130 (Shm) 03-02 02:42:37.451 12378 12638 E LorieX11Client: Minor opcode of failed request: 4 (GetImage) 03-02 02:42:37.451 12378 12638 E LorieX11Client: Serial number of failed request: 134 03-02 02:42:37.451 12378 12638 E LorieX11Client: Current serial number in output stream: 134 03-02 02:42:37.452 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:37.453 12378 12378 E LorieX11Client: Cursor: got new surface 0xf67a5abcd010 03-02 02:42:37.458 12378 14229 D SurfaceComposerClient: VRR [FRTC] client handle [bufferId:18446744073709551615 framenumber:0] [ffffffff, ffffffff] 03-02 02:42:37.467 12378 14229 D SurfaceComposerClient: VRR [FRTC] client handle [bufferId:18446744073709551615 framenumber:0] [ffffffff, ffffffff] 03-02 02:42:38.095 12378 12378 V AutofillManager: requestHideFillUi(null): anchor = null 03-02 02:42:38.182 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:38.199 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:38.216 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:38.233 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:38.250 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:38.266 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:38.283 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:38.299 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:38.315 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:38.332 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:38.349 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:38.366 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:38.382 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:38.399 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:38.416 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:38.431 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:38.511 12378 12378 V AutofillManager: requestHideFillUi(null): anchor = null 03-02 02:42:38.641 12378 12378 V AutofillManager: requestHideFillUi(null): anchor = null 03-02 02:42:39.009 12378 12378 V AutofillManager: requestHideFillUi(null): anchor = null 03-02 02:42:39.061 12378 12378 E KEY : KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_DPAD_LEFT, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=0, downTime=0, deviceId=-1, source=0x0, displayId=0 } false false false false 03-02 02:42:39.061 12378 12378 E KEY : Virtual 03-02 02:42:39.062 12378 12378 E KEY : KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_LEFT, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=0, downTime=0, deviceId=-1, source=0x0, displayId=0 } false false false false 03-02 02:42:39.062 12378 12378 E KEY : Virtual 03-02 02:42:39.062 12378 12378 E KEY : Up or multiple 03-02 02:42:39.062 12378 12378 E KEY : other key 03-02 02:42:39.062 12378 12638 V LorieX11Client: Sending keysym Left 03-02 02:42:39.062 12378 12638 E LorieX11Client: Code for keysym 0xFF51 (Left) not found... 03-02 02:42:39.482 12378 12378 E LorieX11Client: Surface: got new surface 0x0 03-02 02:42:39.482 12378 12378 D ViewRootImplExtImpl: showSurfaceViewBackground subLayer:-2, name:com.termux.x11/com.termux.x11.MainActivity 03-02 02:42:39.483 12378 12638 E LorieX11Client: Surface: changing surface 0xf67a5ab48010 to 0x0 03-02 02:42:39.483 12378 12378 E LorieX11Client: Cursor: got new surface 0x0 03-02 02:42:39.484 12378 12378 E BLASTBufferQueue: BLASTBufferItemConsumer::onDisconnect() 03-02 02:42:39.487 12378 12636 E BLASTBufferQueue: BLASTBufferItemConsumer::onDisconnect() ```
twaik commented 1 year ago

Are you using proot or chroot?

spiral009 commented 1 year ago

Right now I'm trying to run xfce4 on termux no chroot however i tried chroot i still get Invalid MAGIC error

twaik commented 1 year ago

killall Xwayland and try again.

spiral009 commented 1 year ago

Same nothing appears except the cursor ![Uploading Screenshot_٢٠٢٣-٠٣-٠٢-٠٢-٥٣-١١-٧٧_84d3000e3f4017145260f7618db1d683.jpg…]()

twaik commented 1 year ago

Uploading file failed...

spiral009 commented 1 year ago
![Screenshot_٢٠٢٣-٠٣-٠٢-٠٢-٥٣-١١-٧٧_84d3000e3f4017145260f7618db1d683](https://user-images.githubusercontent.com/39057208/222294142-c94e9ebe-cabc-4489-bfbb-d6a898044101.jpg)
twaik commented 1 year ago

And I need logcat of your try to launch termux-x11 with termux's Xwayland. Not chroot, and not proot. This screenshot seems to be ok.

spiral009 commented 1 year ago

like a logcat |grep com.termux.x11?

twaik commented 1 year ago

Yeah. With no grep would be better because it can strip some important messages...

spiral009 commented 1 year ago

I don't understand how you gonna find it in this mess .. logcat2.txt