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

Chromium browser,, #525

Open
ankushlohiya001 opened this issue Jan 15, 2019 · 15 comments
Open

Chromium browser,, #525

ankushlohiya001 opened this issue Jan 15, 2019 · 15 comments

Comments

@ankushlohiya001
Copy link

I've installed ubuntu with mate desktop environement, i'm using a lot of apps in it, almost all works well, but chromium browser only works with --no-sandbox command,,
And firefox browser shows black screen only,,,

@Marcus0086
Copy link

Apt remove firefox-esr and then use this link
wget https://mirrors.ocf.berkeley.edu/kali/pool/main/f/firefox-esr/firefox-esr_52.6.0esr-2+b1_arm64.deb && apt install ./firefox-esr_52.6.0esr-2+b1_arm64.deb

@Marcus0086
Copy link

Marcus0086 commented Jan 15, 2019

Can u tell in brief how you started mate de from terminal. Is that startmate command.

@ankushlohiya001
Copy link
Author

I use mate-session for starting mate

@HansLanger
Copy link

How did you get chromium working ??

What version of chromium are you using?

This is what i did, using UserLAnd /debian ssh (headless):

I installed chromium version 65.0.3325.181 (the only one that allow me to install):

> wget https://launchpad.net/~canonical-chromium-builds/+archive/ubuntu/stage/+build/14482955/+files/chromium-codecs-ffmpeg_65.0.3325.181-0ubuntu0.14.04.1_armhf.deb; sudo dpkg -i chromium-codecs-ffmpeg_65.0.3325.181-0ubuntu0.14.04.1_armhf.deb
> wget https://launchpad.net/~canonical-chromium-builds/+archive/ubuntu/stage/+build/14482955/+files/chromium-browser_65.0.3325.181-0ubuntu0.14.04.1_armhf.deb; sudo dpkg -i chromium-browser_65.0.3325.181-0ubuntu0.14.04.1_armhf.deb
> sudo apt --fix-broken install

I run chromium-browser headless mode to take a screenshot of a site, and i get Segmentation Fault. If i use "sudo" is doesnt show any message and doesnt do anything.

> chromium-browser --headless --disable-gpu --screenshot https://www.chromestatus.com/
Segmentation Fault

When I debug Chromium if says something about code 182, I've google and didnt find any result.

> chromium-browser --debug
Reading symbols from /usr/lib/chromium-browser/chromium-browser...(no debugging symbols found)...done.
(gdb) run
"Starting program: /usr/lib/chromium-browser/chromium-browser --enable-pinch
During startup program exited with code 182.
(gdb) quit

I think the Segmentation Fault is something related with how UserLAnd works. there is a permission issue there.

Any idea?

@ankushlohiya001
Copy link
Author

i started chromium without sandbox,,by command..
chromium --no-sandbox

@ankushlohiya001
Copy link
Author

Sir, I installed chromium using Synaptic package manager,,,

@carbonatedcaffeine
Copy link
Contributor

this firefox issue has been around for a while. But will hopefully be fixed soon.

@HansLanger
Copy link

Sir, I installed chromium using Synaptic package manager,,,

Could you please run this on a terminal and post it?, It will show the version of your chromium.

apt-cache policy chromium-browser

and then:

chromium-browser --version

@ankushlohiya001
Copy link
Author

ankushlohiya001 commented Jan 21, 2019

I deleted ubuntu repo, now installed debian,,
Here's your screenshot:
@HansLanger ,,
screenshot_2019-01-21-22-50-34-362_tech ula
screenshot_2019-01-21-23-04-43-524_x org server

@HansLanger
Copy link

@ankushlohiya001 thank very much for your time!
Why when you login into userLAnd there is no "Welcome to Debian in UserLAnd" message? mine always shows it.

I have installed the same version of chromium that you have, and when i run "chromium --version" still have the same "Segmentation Fault" error that I had with Chromium-browser. I don't use any desktop app, i just run everything from terminal.

I need to figure out what is the difference between your device and mine. Is your phone rooted?, its arm or arm64 ? please check your device config with this app https://play.google.com/store/apps/details?id=com.inkwired.droidinfo&hl=en_US

I have an old Alcatel Phone model A577VL, ARM architecture, non-rooted, with android 7.1.1.
I wonder if the issue its because of the phone or userLAnd.

@HansLanger
Copy link

Ok, I have tried in a phone ARM64 and I get the same results as you, chromium ask me to run it --no-sandbox but it works.
So basically, chromium doesnt work on userLAnd under ARM architecture, because I made it work on Raspberry PI 3 (ARM) with raspbian

@0xba1a
Copy link

0xba1a commented Jul 12, 2020

I'm facing the same problem. I have two phones Honor-9-lite and Moto-G5. Honor is an aarch64 platform where chromium is running fine. But in Moto-G5 which is a armv7l, chromium throws Illegal Instruction or Segfault. It happens at very beginning that can't use any debugging method.

By the way I'm running arch Linux.

@SpaceSaver
Copy link

SpaceSaver commented Feb 5, 2021

I'm facing the same problem. I have two phones Honor-9-lite and Moto-G5. Honor is an aarch64 platform where chromium is running fine. But in Moto-G5 which is a armv7l, chromium throws Illegal Instruction or Segfault. It happens at very beginning that can't use any debugging method.

By the way I'm running arch Linux.

Have you tried running Chromium from the terminal with the command chromium --no-sandbox? It would appear as if the Chromium sandbox installs to a location where real root access is required to install it, so it fails to install the sandbox. If this works, you can then either modify the .desktop file and add the --no-sandbox flag or just put a .sh file on your desktop with chromium --no-sandbox in it and just open chromium that way. If you chose the .sh file don't forget to add execution permission!

@cunhaandre1979
Copy link

I'm facing the same problem. I have two phones Honor-9-lite and Moto-G5. Honor is an aarch64 platform where chromium is running fine. But in Moto-G5 which is a armv7l, chromium throws Illegal Instruction or Segfault. It happens at very beginning that can't use any debugging method.
By the way I'm running arch Linux.

Have you tried running Chromium from the terminal with the command chromium --no-sandbox? It would appear as if the Chromium sandbox installs to a location where real root access is required to install it, so it fails to install the sandbox. If this works, you can then either modify the .desktop file and add the --no-sandbox flag or just put a .sh file on your desktop with chromium --no-sandbox in it and just open chromium that way. If you chose the .sh file don't forget to add execution permission!

Hello,
How do I make that '.sh' file and with execution permission?

@kotenok2000
Copy link

chmod +x file.sh

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

8 participants