Skip to content
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

Add shared memory support to Proot #89

Closed
JanuszChmiel opened this issue Jan 15, 2020 · 4 comments
Closed

Add shared memory support to Proot #89

JanuszChmiel opened this issue Jan 15, 2020 · 4 comments

Comments

@JanuszChmiel
Copy link

May be, that this issue have been created previously. What do you think about adding shared memory support directly to Proot? Currently there is no easy technique, which would allow Termux Proot users to add this shared memory supported to various Linux distributions, which are being executed by Proot.
Namely, the following could be implemented to work.
(shmget, shmat, shmdt and shmctl)
Original library for Termux which solves this is available here:

https://github.com/termux/libandroid-shmem
Sure, I Am ready to intensively test and if working on my phone remotely will be required, no problem, I will ive you access by using tmate SSH client.
What do you think. Would be too complex to achieve this goal? If it would be too complex to create it for many Linux distributions, would be possible to create this support for Debian Buster ARM 64 Bit?
Thank you very much for yours analysis and for yours thinkink about my plea.

@ZhymabekRoman
Copy link

ZhymabekRoman commented Nov 17, 2020

Hello, @JanuszChmiel !
Now proot supports shm, you can use shm via adding --sysvipc flag, when starting proot.

@JanuszChmiel
Copy link
Author

Thank you very much for yours complex programmers work. It had to be difficult. Do you think, that thanks to yours Proot extension to support shared memory, Pcmanfm and GTK3 library will finally stop do display warning shmget function not implemented?

Thanks to yours Proot extension, it is next very important Linux distribution support miracle. Because there are some Linux apps which really dependent on shared memory support. I will test it on some simple Linux distribution install script, where /dev/shm is not created to avoid some conflicts between various shared memory support approaches. Very well done and thank you, that you have used yours perfect programmers knowledge.

@JanuszChmiel
Copy link
Author

JanuszChmiel commented Nov 25, 2020 via email

@ghost
Copy link

ghost commented Nov 25, 2020

error: failed to update core (no servers configured for repository)

Then configure a mirror. It is not being set.

Look for files /etc/pacman.conf and /etc/pacman.d/mirrorlist.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants