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

Libreoffice do not work because /proc can not be accessed #60

Closed
JanuszChmiel opened this issue May 28, 2020 · 5 comments
Closed

Libreoffice do not work because /proc can not be accessed #60

JanuszChmiel opened this issue May 28, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@JanuszChmiel
Copy link

Dear MR Rasuty and others,
On Android 8 and newer, /proc folder can not be accessed. Work around which is being used by yours script can help to run Marco window managgger and many other apps, which need to access /proc folder. But unfortunately Libreoffice uses other access to /proc. do you think, that there is some way how to make Libreoffice work? I Am presenting yours script on various places and forums. It is really The best available solution to run Linux. Termux and its Proot variant is so robust and stable, that it is really possible to run Linux for several days including graphical desktop without instability. If there is no other work around, how complex would be to reprogram Libreoffice so it will access its sub modules in Ram by not using /proc folder?
Thank you very much for yours thinkink and sure, I Am ready to test.
VLC media player and many other QT apps are even fully accessible with Orca. I have even built Lazarus latest version successfully for AARch64 Bit edition. I Am finding very big potential while using yours script. I Am convinced, thaat if there is any solution, you will know about it MR Rausty.

@SDRausty
Copy link
Owner

/proc can not be accessed

Is this still current @JanuszChmiel?

@petkar
Copy link

petkar commented Aug 3, 2020

Here's a workaround to get libreoffice working.

You can edit file /usr/lib/libreoffice/program/oosplash with any HEX editor (bless for example; use `pacman -S bless` and launch it from a graphical environment). 
Use the search option to find the text "/proc/version" (LibreOffice checks this file) and change it to for example "/prod/version". 
NOTE: make sure you run `mkdir /prod` and `touch /prod/version` (to create fake empty "/prod/version" file in the filesystem). 
After this Office starts and works well (source code says /proc is very important but I can't find any issue, maybe because /proc partially accessible since it is "mounted" with proot to the guest system).
Not very fine method but now is the only one without root.

@JanuszChmiel
Copy link
Author

JanuszChmiel commented Aug 3, 2020 via email

@SDRausty
Copy link
Owner

SDRausty commented Aug 6, 2020

@SDRausty SDRausty closed this as completed Aug 6, 2020
@SDRausty
Copy link
Owner

SDRausty commented Sep 11, 2020

Retesting the install feature is requested as, "Issues with Libreoffice #252" is open. Should device space be an issue with your device smartphone, wearable, smartwatch and more, please run this command:

bash setupTermuxArch re

This command should refresh the installation to the newest version for development, testing and the ux (user experience). Should space on device NOT be an issue please use the alternate directory install feature; setupTermuxArch h has more information about the alt directory install feature if device space is unlimited for this project; Cocurrent Linux versions on smartphone and more with the setupTermuxArch i option are possible. Please see option setupTermuxArch h for more information.

@SDRausty SDRausty pinned this issue Jul 30, 2021
@SDRausty SDRausty added the enhancement New feature or request label Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants