(Solved) Chromium fails to launch as guest

Post here if you are a new Porteus member and you're looking for some help.
User avatar
Sagittarius
Black ninja
Black ninja
Posts: 46
Joined: 18 Jul 2012, 18:31
Distribution: LXDE 3.0/MATE 3.1/XFCE 3.1
Location: Spain
Contact:

(Solved) Chromium fails to launch as guest

Post#1 by Sagittarius » 07 Mar 2013, 19:47

I made a frugal install to HD of Porteus XFCE v2.0 32-bit, downloaded chromium-25.0.1323.1-i686-1sl.xzm via the PPM to folder Porteus-XFCE-v2.0/porteus/optional and added extramod cheatcode pointing to that folder. The module loads at bootup and is in the menu but fails to execute. I am not saving changes, apart from that it's a clean install, and I'm running Porteus as guest. FYI the title in menu.lst is:

title Porteus-XFCE-v2.0
kernel (hd0,0)/Porteus-XFCE-v2.0/boot/syslinux/vmlinuz from=/Linux_ISO/Porteus-XFCE-v2.0-i486.iso noswap kmap=es extramod=/mnt/sda1/Porteus-XFCE-v2.0/porteus/optional
initrd=(hd0,0)/Porteus-XFCE-v2.0/boot/syslinux/initrd.xz
boot

Any idea why it fails to launch?
Last edited by Sagittarius on 10 Mar 2013, 23:34, edited 1 time in total.

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Chromium fails to launch as guest

Post#2 by Hamza » 07 Mar 2013, 20:01

That is due to sandbox security that block the launch in case of incorrect permissions assigned to Google Chrome files placed in /opt/google/chrome.
NjVFQzY2Rg==

User avatar
Sagittarius
Black ninja
Black ninja
Posts: 46
Joined: 18 Jul 2012, 18:31
Distribution: LXDE 3.0/MATE 3.1/XFCE 3.1
Location: Spain
Contact:

Re: Chromium fails to launch as guest

Post#3 by Sagittarius » 07 Mar 2013, 20:35

Hamza wrote:That is due to sandbox security that block the launch in case of incorrect permissions assigned to Google Chrome files placed in /opt/google/chrome.
So, is there an easy fix for this module or do I content myself with Firefox?

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Chromium fails to launch as guest

Post#4 by brokenman » 09 Mar 2013, 00:43

From root console:

Code: Select all

chmod 4755 /usr/lib/chromium/chromium_sandbox
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Sagittarius
Black ninja
Black ninja
Posts: 46
Joined: 18 Jul 2012, 18:31
Distribution: LXDE 3.0/MATE 3.1/XFCE 3.1
Location: Spain
Contact:

Re: Chromium fails to launch as guest

Post#5 by Sagittarius » 09 Mar 2013, 20:19

brokenman wrote:From root console:

Code: Select all

chmod 4755 /usr/lib/chromium/chromium_sandbox
Thanks for the reply but it didn't launch from the root console either with that command!

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Chromium fails to launch as guest

Post#6 by brokenman » 09 Mar 2013, 20:57

Thanks for the reply but it didn't launch from the root console either with that command!
Just run the command from a root console, then close the console and try to open chromium via the menu again. Works here. It is a permissions problem as seen when initially trying to launch chromium via console.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Sagittarius
Black ninja
Black ninja
Posts: 46
Joined: 18 Jul 2012, 18:31
Distribution: LXDE 3.0/MATE 3.1/XFCE 3.1
Location: Spain
Contact:

Re: Chromium fails to launch as guest

Post#7 by Sagittarius » 10 Mar 2013, 23:34

You're right! It works now. Thanks very much Brokenman. :D

Post Reply