-
-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to get Termux:X11 working in a proot-distro #299
Comments
In your log file:
Does it work if you do |
After removing permissions for others, the same warning appears but it complains about the new permissions.
I then tried All of the other warnings still appear about failing to launch various XFCE4 related programs:
|
Read this. |
Maybe it is some error in dbus-launch, try to run |
Thanks everyone for all the hints. Here's everything new I've tested so far based on the latest suggestions:
I also tried a few things that did end up working:
I can only come to the conclusion that either (A) there's a bug in Arch Linux or (B) I'm missing other dependencies in Arch Linux. I've cross-checked many Termux:X11 guides about Arch Linux and installed everything that should be needed. Here are all of the packages I have installed in Arch Linux:
I don't think a display manager such as LightDM is necessary since we are manually starting a session via the CLI but it was listed in one of the guides I as following. For reference, here are all of the guides I've been reading over:
|
I think it is not termux-x11 issue.. same issue with me.. Even vnc also not working.. you can better understand.. |
Agreed. We can rule out Termux:X11 as being the issue because (1) individual X11 apps do work with Arch Linux and (2) the XFCE4 desktop environment does work with Debian. I'll go ahead and close this issue. Thanks everyone for your help and insight! I'll report back if I can ever get Arch Linux to fully work. |
I have the same issue and would like to add my five cents. Looks like the problem is related to Samsung. |
No i checked.. it is actually our vendor issue.. Don't have any issues with miui device |
I also have two devices available and the problem only occurs on Samsung |
Gki kernel? Kernel version 5.4 or 5.10 ? |
Same on Samsung Galaxy Tab S7 FE, using ArchLinux proot, following the steps of Quite puzzled... Is there anything different between One UI and other Android based Operate systems? |
It is caused by glib2. You need to disable close range related code blocks in glib/gspawn.c |
There is something different on 5.4 gki android kernel but I don't know what exactly |
I made a patched package here https://github.com/mio-19/aur-patches-aarch64/tree/3049fa6c9ecfe008aa58cbdf5dce69389088b69b/_kernel5_4/glib2-no-close-range |
Have you ever tried using Debian? I tried using it following the steps on ivonblog, expecting it to work as many other issues mentioned that would work just fine, but I failed... Is there anything that website didn't mention? Infact I am quite unfamiliar with Linux... I could hardly deal with such problems by simply reading archwiki... |
It is a issue specific to a version of android kernel and isn't documented on archwiki. If you installed an older version of Debian such as Debian 11 it should work fine. The issue was introduced by newer versions of glibc and glib. |
@szw0407 Just to confirm, was the error message |
Can you fell back to Android 12 ? In Android 12 with kernel 5.4 newer Ubuntu & Debian working.. |
Yes, along with some other warnings. I opened a discussion under that blog, with all errors, and the x11 app has only black screen and a cursor: Similar things happen in Debian 12, and I am unable to deal with it. |
Perhaps not. Samsung devices cannot be downgraded unless being rooted, but that would destroy Knox. Unfortunately I am not yet ready for that. |
Yes all recent glibc versions have problems with close range which 5.4 gki android kernel doesn't have. Glibc incorrectly thinks that the program doesn't have the permission instead of the kernel not having this feature. Glib will use a fallback method on kernels without this feature, but glib received the wrong message from glibc. |
yeah, and I managed to install xfce4 on Debian 11, everything seemed fine so far... Thanks for your support. Wish the issue you mentioned be fixed soon in a new release. |
I Fix Glibc in All Latest Proot Distro Using Better Desktop Environment, Go My Issues And You See, It's KDE Plasma (or Kubuntu Desktop If You Are Ubuntu), Everything Fine with All Latest Proot Distro, Do You Accept My Issues? |
Will check.. |
Sure, That KDE Plasma And Kubuntu Desktop is Better.... |
Did you use a translator or something? |
That guy is wreaking havoc all over the repo. Today, I woke up to 27 unintelligible emails, just because I responded to a different issue from him. |
I have just found something curious, when I just removed systemd using a package manager, though with lots of components of xfce removed, the startxfce4 command successfully launched the GUI environment. I've tested that on openSUSE in proot. |
Using Termux:X11 works perfectly when using Termux itself.
termux.log
When using a proot-distro, nothing happens in Termux:X11. It shows a black screen with the signature Xorg "X" cursor which means that the
termux-x11
process is running and working. Apparently the proot-distro is not able to utilize that Xwayland environment. I do see all of the related Xorg files in/tmp
in the Arch Linux proot, too.proot-distro-archlinux.log
I have attached the standard output and error of running the
xfce4-session
command in both Termux and in the proot-distro for comparison. Thank you in advance for any help you can provide!The text was updated successfully, but these errors were encountered: