-
Notifications
You must be signed in to change notification settings - Fork 378
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
Firefox crashes from Ubuntu/ #1112
Comments
Have the same problem! Or had, rather. I created an Ubuntu filesystem and connected to it via vnc just as you did. The problem appears to be one of permissions. You have to launch Firefox as root. sudo won't work . . . you need something like gksu/gksudo. But the gksu package was deprecated as of Ubuntu 18.04. So what can you do? Note that I have not fully solved the problem, but I did take some steps to alleviate the issue of permissions. First, you can add the 17.10 repos which will give you access to the gksu package. To do this, create the file /etc/apt/sources.list.d/artful.list . You need the following lines in that file: deb http://old-releases.ubuntu.com/ubuntu/ artful main universe Then type: sudo apt-get update followed by sudo apt-get install gksu . With luck, you will have gksu and gksudo commands available at the command line. Be careful! The first time I installed gksu in my Ubuntu session, the session bombed out with numerous errors, and I could not relaunch it. The second time I tried it, I installed gksu first, then lxde, and it worked. Next try running Firefox from command line. Type: gksudo firefox . If you have the same problem I have, it will fail to launch, complaining of an RANDR/XRANDR problem. That is a red herring! XRandr is not causing the problem. Apparently there is something else preventing Firefox from launching under these circumstances. Will post again later with more info as I get it. |
Okay, here is the additional information I wished to post above: https://ubuntuforums.org/showthread.php?t=982114 Specifically, read the bottom post about trying to run Firefox over tightvncViewer. It looks like the poster who had the same problem using xrdp found a solution, but that solution does not appear to be applicable to those of us messing with UserLAnd. edit: like you, I am running Android 9, though my device is an ROG Phone II. |
Version 2.7.1 just released fixes Firefox. It should show up for upgrade in the next few hours. |
Describe the bug
After I start up the vnc client session, and run firefox from the command line, I get a segmentation fault with an error message, as follows:
WARNING: failed to open shm: Permission denied: file /build/firefox-JJy9z9/firefox-70.0.1+build1/ipc/chromium/src/base/shared_memory_posix.cc, line 250.
Segmentation fault.
Steps to reproduce the behavior:
Screenshots
N/A
Device Information
Samsung Galaxy Tab S4 256GB
Android Version: 9
UserLAnd Version: 2.6.5
Device is not rooted.
The text was updated successfully, but these errors were encountered: