proot-me / proot

chroot, mount --bind, and binfmt_misc without privilege/setup for Linux
https://proot-me.github.io
GNU General Public License v2.0
1.96k stars 369 forks source link

Proot do not work on Android subsystem for Chromebooks as on standard android operating system #371

Open JanuszChmiel opened 5 months ago

JanuszChmiel commented 5 months ago

Expected Behavior

Proot should work by The same way like on normal Android devices.

Actual Behavior

Proot do not allow me to use Xvnc on chrooted Linux distributions on Android on Chromebooks. I Am getting many errors related to The fact, that ffunction not implemented. Proot do not allow me to run Linux distribution by sharing TMP between Termux and Chrooted Linux distribution. It is also impossible to simply set The DISPLAY variable to export DISPLAY=:0 In this case, for example, Xvnc will never allow The Mate desktop environment to be executed. it simply halt without error messages.

Steps to Reproduce the Problem

Compile Proot me in Termux Install The proot distro from Termux by typing apk install proot-distro Try to execute some Linux distribution with shared TMP option for example by typing proot-distro login --user janusz ubuntu-lts --shared-tmp Install some even light veight desktop environment such as Lxde. Install Tigervnc in Ubuntu. You can choose also other supported distros by The proot-distro script. type export DISPLAY=:0 on chrooted Ubuntu distro executed by Proot me. type Xvnc :0 -SecurityTypes None & Observe how many error messages related to The fact, that some function not implemented will appear on The terminal. Try to start Lxde desktop environment.

1. 2. 3.

Specifications

Command Output

Inline log

-OR-

[Attached log]() Thank you vor your help. I Am visually impaired user with no sight atall. And I do not know, why Proot can not work by The same way on Chromebooks Android subsystem like with standard Android. Thank you very very much for AN explanation. Because there are very probably elite C language experts here so I AM kindly pleasing you for An programmers explanation. if is it technically possible to implement all needed functions. Thank you very very much for your answer.

JanuszChmiel commented 3 months ago

I have found out, that warn] epoll_wait function is not implemented while running X11 apps on Android subsystem for Chromebook. Please, is it possible to implement this missing function?