You are not logged in.

#1 2015-12-18 09:26:11

rnikhil275
Member
Registered: 2015-12-18
Posts: 13

[SOLVED]Chromium Not starting

I installed Arch linux on my HP-Pavillion DV6 7040Tx a day ago and I am still in the process of setting things up. I wanted to install google-chrome(stable) on it but the AUR did not have a tarball to download. It had .deb pre compiled package instead which I was a little reluctant to install using dpkg. Instead I installed chromium using "pacman -S chromium". It went ahead but I could not open it. I have Gnome-3 installed.

Here is the error I get when I try running "sudo chromium":

[1218/143833:FATAL:setuid_sandbox_client.cc(126)] Check failed: IsFileSystemAccessDenied(). 
#0 0x5574496b577e <unknown>
#1 0x55744969180e <unknown>
#2 0x557449721aae <unknown>
#3 0x557449683dfb <unknown>
#4 0x557449681cfd <unknown>
#5 0x7f1ac9aaa610 <unknown>
#6 0x557449683249 <unknown>[/ins]

[ins][1:1:1218/143833:ERROR:nacl_fork_delegate_linux.cc(314)] Bad NaCl helper startup ack (0 bytes)
[1:1:1218/143833:FATAL:setuid_sandbox_client.cc(126)] Check failed: IsFileSystemAccessDenied(). 
#0 0x560fa6cc778e <unknown>
#1 0x560fa6ce104e <unknown>
#2 0x560fa98138fe <unknown>
#3 0x560fa94b7c9f <unknown>
#4 0x560fa6c82660 <unknown>
#5 0x560fa6c82d54 <unknown>
#6 0x560fa6c817b1 <unknown>
#7 0x560fa679ffda ChromeMain
#8 0x7f3b4f9aa610 __libc_start_main
#9 0x560fa679fe89 _start[/ins]

[ins]Received signal 6
#0 0x560fa6cc778e <unknown>
#1 0x560fa6cc7869 <unknown>
#2 0x7f3b517c2d60 <unknown>
#3 0x7f3b4f9bd5f8 __GI_raise
#4 0x7f3b4f9bea7a __GI_abort
#5 0x560fa6cc70f5 <unknown>
#6 0x560fa6ce1175 <unknown>
#7 0x560fa98138fe <unknown>
#8 0x560fa94b7c9f <unknown>
#9 0x560fa6c82660 <unknown>
#10 0x560fa6c82d54 <unknown>
#11 0x560fa6c817b1 <unknown>
#12 0x560fa679ffda ChromeMain
#13 0x7f3b4f9aa610 __libc_start_main
#14 0x560fa679fe89 _start
  r8: ffffbad8d7d812b0  r9: ffffbad8d7d812a0 r10: 0000000000000008 r11: 0000000000000202
 r12: 00007ffc1e36fa98 r13: 00007ffc1e36f630 r14: 0000000000000000 r15: 00003ad4f60a3190
  di: 0000000000000001  si: 0000000000000001  bp: 00007ffc1e36f3f0  bx: 00007ffc1e36fa90
  dx: 0000000000000006  ax: 0000000000000000  cx: 00007f3b4f9bd5f8  sp: 00007ffc1e36f298
  ip: 00007f3b4f9bd5f8 efl: 0000000000000202 cgf: 000d000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
^C

I also ran "df -h" to check whether I have any memory problems, here is the output

Filesystem      Size  Used Avail Use% Mounted on
dev             2.9G     0  2.9G   0% /dev
run             2.9G  1.1M  2.9G   1% /run
/dev/sda1        40G  4.8G   33G  13% /
tmpfs           2.9G  332K  2.9G   1% /dev/shm
tmpfs           2.9G     0  2.9G   0% /sys/fs/cgroup
tmpfs           2.9G   52K  2.9G   1% /tmp
/dev/sda3       651M   37M  614M   6% /boot
/dev/sda2       648G   70M  615G   1% /home
tmpfs           587M  8.0K  587M   1% /run/user/120
tmpfs           587M   20K  587M   1% /run/user/0

I also want to know how to go ahead in general installing .deb packages in a safe manner without breaking anything else.
Incase I need to provide any other logs, please also let me know on how to find them (total beginner here).

Last edited by rnikhil275 (2015-12-18 11:10:37)

Offline

#2 2015-12-18 09:30:46

LCvanDinteren
Member
From: Netherlands
Registered: 2015-10-27
Posts: 153

Re: [SOLVED]Chromium Not starting

I don't think you're supposed to run it as root. Have you also tried it without sudo?

As for the .deb-package, I wouldn't go there. I think the way to go is write an arch package installer.

Offline

#3 2015-12-18 09:32:52

rnikhil275
Member
Registered: 2015-12-18
Posts: 13

Re: [SOLVED]Chromium Not starting

Of course I tried it without sudo also. The main reason I tried it with sudo is because I saw something like FileSystemAccessDenied on the first line of the error.
Here is the output without sudo

[1218/145927:FATAL:setuid_sandbox_client.cc(126)] Check failed: IsFileSystemAccessDenied(). 
#0 0x55c3856a277e <unknown>
#1 0x55c38567e80e <unknown>
#2 0x55c38570eaae <unknown>
#3 0x55c385670dfb <unknown>
#4 0x55c38566ecfd <unknown>
#5 0x7fb13b870610 <unknown>
#6 0x55c385670249 <unknown>

[1:1:1218/145928:ERROR:nacl_fork_delegate_linux.cc(314)] Bad NaCl helper startup ack (0 bytes)
[1:1:1218/145928:FATAL:setuid_sandbox_client.cc(126)] Check failed: IsFileSystemAccessDenied(). 
#0 0x564e9ffc978e <unknown>
#1 0x564e9ffe304e <unknown>
#2 0x564ea2b158fe <unknown>
#3 0x564ea27b9c9f <unknown>
#4 0x564e9ff84660 <unknown>
#5 0x564e9ff84d54 <unknown>
#6 0x564e9ff837b1 <unknown>
#7 0x564e9faa1fda ChromeMain
#8 0x7fb85d2e1610 __libc_start_main
#9 0x564e9faa1e89 _start

Received signal 6
#0 0x564e9ffc978e <unknown>
#1 0x564e9ffc9869 <unknown>
#2 0x7fb85f0f9d60 <unknown>
#3 0x7fb85d2f45f8 __GI_raise
#4 0x7fb85d2f5a7a __GI_abort
#5 0x564e9ffc90f5 <unknown>
#6 0x564e9ffe3175 <unknown>
#7 0x564ea2b158fe <unknown>
#8 0x564ea27b9c9f <unknown>
#9 0x564e9ff84660 <unknown>
#10 0x564e9ff84d54 <unknown>
#11 0x564e9ff837b1 <unknown>
#12 0x564e9faa1fda ChromeMain
#13 0x7fb85d2e1610 __libc_start_main
#14 0x564e9faa1e89 _start
  r8: ffffb3bcc029b720  r9: ffffb3bcc029b710 r10: 0000000000000008 r11: 0000000000000202
 r12: 00007fffd8da1628 r13: 00007fffd8da11c0 r14: 0000000000000000 r15: 000033bc98fef190
  di: 0000000000000001  si: 0000000000000001  bp: 00007fffd8da0f80  bx: 00007fffd8da1620
  dx: 0000000000000006  ax: 0000000000000000  cx: 00007fb85d2f45f8  sp: 00007fffd8da0e28
  ip: 00007fb85d2f45f8 efl: 0000000000000202 cgf: 0000000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]

Offline

#4 2015-12-18 09:39:11

LCvanDinteren
Member
From: Netherlands
Registered: 2015-10-27
Posts: 153

Re: [SOLVED]Chromium Not starting

rnikhil275 wrote:

Of course I tried it without sudo also.

We can not know what you don't tell us.
It's bad habit to execute graphical programs as sudo which is why I mentioned it.

Can you try running chromium with `--no-sandbox' option?

Edit: Try this as well.

chromium --no-sandbox --user-data-dir

Last edited by LCvanDinteren (2015-12-18 09:45:40)

Offline

#5 2015-12-18 09:45:23

rnikhil275
Member
Registered: 2015-12-18
Posts: 13

Re: [SOLVED]Chromium Not starting

Sorry. I did not know that.
I tried running chromium with --no-sandbox. Here is the output:

ERROR:browser_main_loop.cc(203)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[1904:1904:1218/151027:ERROR:desktop_window_tree_host_x11.cc(889)] Not implemented reached in virtual void views::DesktopWindowTreeHostX11::InitModalType(ui::ModalType)
[root@localhost ~]# [1218/151034:ERROR:nacl_helper_linux.cc(309)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly

I also got a popup saying that chromium cannot be run as root. This is when I realised that I have been logged in as root and there are no other user accounts on the system.
Should I try creating a new account and trying the same ?Also, can you explain what the --no-sandbox option does ?
Firefox worked without any problems !!

Last edited by rnikhil275 (2015-12-18 09:47:06)

Offline

#6 2015-12-18 09:48:11

LCvanDinteren
Member
From: Netherlands
Registered: 2015-10-27
Posts: 153

Re: [SOLVED]Chromium Not starting

You just answered my next question, I have done some googling and it indeed seems you are running everything as root. Chromium will not start as root to protect you.
Not knowing you are always root can be quite dangerous.. There are people that choose to always be root, but I strongly recommend to create a normal user with sudo privileges.

Offline

#7 2015-12-18 09:55:29

rnikhil275
Member
Registered: 2015-12-18
Posts: 13

Re: [SOLVED]Chromium Not starting

I posting this from chromium and I did make another normal account.

Thank You

Offline

#8 2015-12-18 10:01:29

LCvanDinteren
Member
From: Netherlands
Registered: 2015-10-27
Posts: 153

Re: [SOLVED]Chromium Not starting

The --no-sandbox, along with --user-data-dir should allow you to run chromium as root. I don't know exactly what it does, but I tested on the ubuntu I am on right now and figured it could do no harm, other than running it as root.

Info mainly coming from this thread: https://bbs.archlinux.org/viewtopic.php?id=196353

My guess is that chromium normally runs in a sandbox, so any harm it can do, can only be done within the sandbox. A root user would breach the sandbox, so you need to specify that you don't want to be in the sandbox to let chromium know that you want to run without a sandbox.


Edit:
Good to hear you have things sorted, please edit your first post and prepend [SOLVED] to the title. This way other users with the same problem can see that your issue is resolved and may find their solution as well.

Last edited by LCvanDinteren (2015-12-18 10:03:20)

Offline

#9 2015-12-18 10:05:02

rnikhil275
Member
Registered: 2015-12-18
Posts: 13

Re: [SOLVED]Chromium Not starting

Thanks for the info. Any pointers on how to install google-chrome (stable). The AUR has only the .deb package.
Should I use some third party scripts like debtap or should I install dpkg ?
I could not find the tarball for the latest release so that I could install it like mentioned here: https://wiki.archlinux.org/index.php/Ar … g_packages

Offline

#10 2015-12-18 10:09:42

LCvanDinteren
Member
From: Netherlands
Registered: 2015-10-27
Posts: 153

Re: [SOLVED]Chromium Not starting

git clone https://aur.archlinux.org/google-chrome.git
cd google-chrome
makepkg -sri

This should install the stable version.
When installing from AUR, always check the files in the repository, if you don't trust anything you read, don't install it.
Remember: anyone can upload to AUR.

As I mentioned: I am on an ubuntu system right now, only have Arch at home, so I can not test it for you right now.

Offline

#11 2015-12-18 10:26:06

rnikhil275
Member
Registered: 2015-12-18
Posts: 13

Re: [SOLVED]Chromium Not starting

It worked perfectly although I did face some errors while executing the makepkg command. My newly created user account was not in the sudoers group. Had to edit a file to change that. Thanks a lot.

Offline

#12 2015-12-18 10:31:25

LCvanDinteren
Member
From: Netherlands
Registered: 2015-10-27
Posts: 153

Re: [SOLVED]Chromium Not starting

No problem smile

Don't forget to mark your thread as [SOLVED]

Offline

Board footer

Powered by FluxBB