The time now is Fri 22 Jan 2021, 15:08
All times are UTC - 4 |
Page 18 of 23 [345 Posts] |
Goto page: Previous 1, 2, 3, ..., 16, 17, 18, 19, 20, 21, 22, 23 Next |
Author |
Message |
Ether
Joined: 21 Aug 2013 Posts: 262
|
Posted: Wed 26 Feb 2020, 23:10 Post subject:
run Chromium as puppy |
|
.
Can anyone tell me how to run Chromium as puppy ?
Quote: | puppy@live:~$ chromium
[10235:10235:0226/220615.555747:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /usr/lib/chromium/chrome-sandbox is owned by root and has mode 4755. |
.
|
Back to top
|
|
 |
enrique
Joined: 09 Nov 2019 Posts: 601 Location: Planet Earth
|
Posted: Thu 27 Feb 2020, 01:13 Post subject:
|
|
fredx181 wrote: | For those having trouble booting with kernel 4.9, here's alternative (32 bit only), not ofiicial Debian though.
Extract This archive: kernel-4.4.87-i386.squashfs.tar.gz in the frugal installed 'live' directory.
Contents are vmlinuz1 (should be replaced) and kernel-4.4.87.squashfs
And it should boot with with kernel 4.4.87
Taken from OscarTalks's D-pup-Stretch (thanks!).
Fred |
fredx181
kernel-4.4.87-i386.squashfs.tar.gz in 4th post seems to be what I been looking for.
And more important you are pointing out for a good puppy to try
fredx181 wrote: | ...Taken from OscarTalks's D-pup-Stretch (thanks!). |
I am hopping to get closer to my solution in stretch. Sadly after hours building from source gcc-5! I got it working fot Target: i686-pc-linux-gnu. Hope I can port gcc-5 to Buster64, that will be a home run hit.
|
Back to top
|
|
 |
dancytron
Joined: 18 Jul 2012 Posts: 1555
|
Posted: Thu 27 Feb 2020, 02:01 Post subject:
Re: run Chromium as puppy |
|
Ether wrote: | .
Can anyone tell me how to run Chromium as puppy ?
Quote: | puppy@live:~$ chromium
[10235:10235:0226/220615.555747:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /usr/lib/chromium/chrome-sandbox is owned by root and has mode 4755. |
. |
Below is the script for running Chrome with su and a commented out version for gsku (which probably needs to be installed).
You should be able to change the paths to point to your chromium and make it run.
I think part of the issue you are having is that you need to set the user profile and caches to be in a place owned by the right user.
Quote: | #!/bin/sh
xhost +local:puppy
su puppy -c "/usr/bin/google-chrome-stable "$@" --user-data-dir=/home/puppy/chrome/user --disk-cache-dir=/home/puppy/chrome/cache --disk-cache-size=10000000 --media-cache-size=10000000"
#gksu -u puppy "/usr/bin/google-chrome-stable --user-data-dir=/home/puppy/chrome/user --disk-cache-dir=/home/puppy/chrome/cache --disk-cache-size=10000000 --media-cache-size=10000000"
|
|
Back to top
|
|
 |
fredx181

Joined: 11 Dec 2013 Posts: 4481 Location: holland
|
Posted: Thu 27 Feb 2020, 10:24 Post subject:
|
|
Ether wrote: | I changed "root" to "puppy" in that line, rebooted, and got the attached error message, and things stopped at that point.
....
Can anyone tell me how to run Chromium as puppy ?
Quote:
puppy@live:~$ chromium
[10235:10235:0226/220615.555747:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /usr/lib/chromium/chrome-sandbox is owned by root and has mode 4755. |
I've tried to reproduce both issues, but cannot, sorry, it looks like a permissions problem, is /home/puppy (and content) owned by puppy ?
(could be because of something you did (save backup or something else ?) if it's owned by root, change to puppy again (recursive), as root :
chown -R puppy:puppy /home/puppy
EDIT: and reinstalling chromium may help
Maybe best is to run chromium logged in as root like dancytron suggested, with su puppy
Fred
_________________ Dog Linux website
Tinylinux blog by wiak
Last edited by fredx181 on Thu 27 Feb 2020, 10:33; edited 4 times in total
|
Back to top
|
|
 |
fredx181

Joined: 11 Dec 2013 Posts: 4481 Location: holland
|
Posted: Thu 27 Feb 2020, 10:27 Post subject:
|
|
enrique wrote: | fredx181
kernel-4.4.87-i386.squashfs.tar.gz in 4th post seems to be what I been looking for. |
Ah, yes forgot about that one.
Works for me (just tested)
Good luck with your experiments !
Fred
_________________ Dog Linux website
Tinylinux blog by wiak
|
Back to top
|
|
 |
enrique
Joined: 09 Nov 2019 Posts: 601 Location: Planet Earth
|
Posted: Thu 27 Feb 2020, 17:29 Post subject:
|
|
fredx181
Getting closer.
*Have fglrx working on JessieDog, but hope to upgrade to at least StretchDog.
*Learn to create my own gcc-5 from sources to be use in the future in BusterDog.
*DDUP is a wonderful source for BusterDog compatible OLD kernels. Nice
*At the moment I am able to compile fglrx drivers, but drivers are not functioning properly.
They rely on Debian deprecated XFree86: XFree86-Mesa-libGL & XFree86-libs
Hopping to interchange some how with:
Code: | libgl1-mesa-dev libgl1-mesa-dri mesa-utils libgl1-mesa-glx |
or
Code: | libxxf86vm-dev libxxf86vm1 x11proto-xf86vidmode-dev xserver-xorg-video-vesa |
Fred
Can you tell me how to install xorgwizard on StretchDog? I need it to be able to recover from failing Xorg server will testing. As always Thanks ahead,
Will figure it out.
|
Back to top
|
|
 |
mikeslr

Joined: 16 Jun 2008 Posts: 3913 Location: 500 seconds from Sol
|
Posted: Thu 27 Feb 2020, 20:26 Post subject:
about xorgwizard |
|
Hi enrique,
It goes without saying that Fred and many others may have more accurate advice. But before leaving this thread for some other on the forum, I thought that bringing to your attention mistfire's recent work might be helpful. http://www.murga-linux.com/puppy/viewtopic.php?p=1050639#1050639
|
Back to top
|
|
 |
enrique
Joined: 09 Nov 2019 Posts: 601 Location: Planet Earth
|
Posted: Thu 27 Feb 2020, 20:52 Post subject:
|
|
mikeslr you are 100% correct. I am no neglecting any other good people advice. All help is very welcome.
It just happens that I new fredx181 and even my good friend rcrsn51 could have the answer I was looking for. And in fact I did found fredx181 answered long time ago:
Posted: Wed 11 Oct 2017, 05:56
http://murga-linux.com/puppy/viewtopic.php?p=970530#970530
That post have save me 1 or 2 week of continuously building old kernels for DebianDog stretch. Now instead I can reuse old kernels from Dpup-Stretch store in here
Code: | https://archive.org/details/Puppy_Linux_Stretch
http://smokey01.com/radky/Woof/kernel-4.1.48-stretch/ |
mikeslr, that post you just gave me, I hope to save me a few days too. I need a way to recover after a failure from xorg. THANKS
|
Back to top
|
|
 |
enrique
Joined: 09 Nov 2019 Posts: 601 Location: Planet Earth
|
Posted: Sat 29 Feb 2020, 23:15 Post subject:
|
|
fredx181
I do not regret going back to Stretch and also impress with your old Jessie. I did not new XFCE. But for my like, I just have to add PcManFm and Lxterminal and I am in business. And the threads have so much information. Wao. Good work.
|
Back to top
|
|
 |
Ether
Joined: 21 Aug 2013 Posts: 262
|
Posted: Sun 01 Mar 2020, 16:06 Post subject:
Re: run Chromium as puppy |
|
dancytron wrote: | Ether wrote: | .
Can anyone tell me how to run Chromium as puppy ?
Quote: | puppy@live:~$ chromium
[10235:10235:0226/220615.555747:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /usr/lib/chromium/chrome-sandbox is owned by root and has mode 4755. |
. |
Below is the script for running Chrome with su and a commented out version for gsku (which probably needs to be installed).
You should be able to change the paths to point to your chromium and make it run.
I think part of the issue you are having is that you need to set the user profile and caches to be in a place owned by the right user.
Quote: | #!/bin/sh
xhost +local:puppy
su puppy -c "/usr/bin/google-chrome-stable "$@" --user-data-dir=/home/puppy/chrome/user --disk-cache-dir=/home/puppy/chrome/cache --disk-cache-size=10000000 --media-cache-size=10000000"
#gksu -u puppy "/usr/bin/google-chrome-stable --user-data-dir=/home/puppy/chrome/user --disk-cache-dir=/home/puppy/chrome/cache --disk-cache-size=10000000 --media-cache-size=10000000"
|
|
I have Chromium, not Chrome. Does that make a difference?
I found the Chromium "launcher" in /usr/bin/chromium. I opened that up with Geany text editor and this is it:
Code: | #!/bin/sh
# Chromium launcher
# Authors:
# Fabien Tassin <fta@sofaraway.org>
# License: GPLv2 or later
APPNAME=chromium
GDB=/usr/bin/gdb
LIBDIR=/usr/lib/$APPNAME
BUILD_DIST="9.8"
usage () {
echo "$APPNAME [-h|--help] [-g|--debug] [--temp-profile] [options] [URL]"
echo
echo " -g or --debug Start within $GDB"
echo " -h or --help This help screen"
echo " --temp-profile Start with a new and temporary profile"
echo " --enable-remote-extensions Allow extensions from remote sites"
echo
echo " Other supported options are:"
MANWIDTH=80 man chromium | sed -e '1,/OPTIONS/d; /ENVIRONMENT/,$d'
echo " See 'man chromium' for more details"
}
nosse2="\
The hardware on this system lacks support for the sse2 instruction set.
The upstream chromium project no longer supports this configuration.
For more information, please read and possibly provide input to their
bug tracking system at http://crbug.com/348761."
case `uname -m` in
i386|i586|i686|x86_64)
# Check whether this system supports sse2
if ! grep -q sse2 /proc/cpuinfo; then
xmessage "$nosse2"
exit 1
fi
;;
esac
# Source additional settings
for file in /etc/chromium.d/*; do
test $file = /etc/chromium.d/README || expr $file : .*\.dpkg > /dev/null || . $file
done
# Use the /usr/bin helper script for generated launchers
if test -z "$CHROME_WRAPPER"; then
export CHROME_WRAPPER="/usr/bin/$APPNAME"
fi
# Set the correct file name for the desktop file
export CHROME_DESKTOP="chromium.desktop"
# Set CHROME_VERSION_EXTRA text, which is displayed in the About dialog
DIST=`cat /etc/debian_version`
export CHROME_VERSION_EXTRA="built on Debian $BUILD_DIST, running on Debian $DIST"
want_debug=0
want_temp_profile=0
while [ $# -gt 0 ]; do
case "$1" in
-h | --help | -help )
usage
exit 0 ;;
-g | --debug )
want_debug=1
shift ;;
--temp-profile )
want_temp_profile=1
shift ;;
--enable-remote-extensions )
CHROMIUM_FLAGS="$CHROMIUM_FLAGS --enable-remote-extensions"
shift ;;
-- ) # Stop option prcessing
shift
break ;;
* )
break ;;
esac
done
# Whitelist installed extensions that are specified via --load-extension
if [ -z "$(echo $CHROMIUM_FLAGS | grep \\-\\-enable-remote-extensions)" ]; then
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --disable-background-networking"
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --disable-extensions-except=$(echo $CHROMIUM_FLAGS | tr ' ' \\n | grep \\-\\-load-extension | cut -d= -f2 | tr \\n ,)"
fi
if [ $want_temp_profile -eq 1 ] ; then
TEMP_PROFILE=`mktemp -d`
CHROMIUM_FLAGS="$CHROMIUM_FLAGS --user-data-dir=$TEMP_PROFILE"
fi
if [ $want_debug -eq 1 ] ; then
if [ ! -x $GDB ] ; then
echo "Sorry, can't find usable $GDB. Please install it."
exit 1
fi
tmpfile=`mktemp /tmp/chromiumargs.XXXXXX` || { echo "Cannot create temporary file" >&2; exit 1; }
trap " [ -f \"$tmpfile\" ] && /bin/rm -f -- \"$tmpfile\"" 0 1 2 3 13 15
echo "set args $CHROMIUM_FLAGS --single-process ${1+"$@"}" > $tmpfile
echo "# Env:"
echo "# LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
echo "# PATH=$PATH"
echo "# GTK_PATH=$GTK_PATH"
echo "# CHROMIUM_FLAGS=$CHROMIUM_FLAGS"
echo "$GDB $LIBDIR/$APPNAME -x $tmpfile"
$GDB "$LIBDIR/$APPNAME" -x $tmpfile
if [ $want_temp_profile -eq 1 ] ; then
rm -rf $TEMP_PROFILE
fi
exit $?
else
if [ $want_temp_profile -eq 0 ] ; then
exec $LIBDIR/$APPNAME $CHROMIUM_FLAGS "$@"
else
# we can't exec here as we need to clean-up the temporary profile
$LIBDIR/$APPNAME $CHROMIUM_FLAGS "$@"
rm -rf $TEMP_PROFILE
fi
fi |
Do I need to edit the above "Chromium launcher" ?
.
|
Back to top
|
|
 |
Ether
Joined: 21 Aug 2013 Posts: 262
|
Posted: Sun 01 Mar 2020, 16:24 Post subject:
|
|
fredx181 wrote: | Ether wrote: | I changed "root" to "puppy" in that line, rebooted, and got the attached error message, and things stopped at that point.
....
Can anyone tell me how to run Chromium as puppy ?
Quote:
puppy@live:~$ chromium
[10235:10235:0226/220615.555747:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /usr/lib/chromium/chrome-sandbox is owned by root and has mode 4755. |
I've tried to reproduce both issues, but cannot, sorry, it looks like a permissions problem, is /home/puppy (and content) owned by puppy ?
(could be because of something you did (save backup or something else ?) if it's owned by root, change to puppy again (recursive), as root :
chown -R puppy:puppy /home/puppy
EDIT: and reinstalling chromium may help
Maybe best is to run chromium logged in as root like dancytron suggested, with su puppy
Fred |
/home and /home/puppy see attachments
looks like they are owned by "root" ?. AFAIK, that's the way they were when I installed StretchDog32. or at least, I never made any conscious attempt to change it.
Will it suffice to change just /home/puppy ownership to puppy? Or would I need to also change /home ownership to Puppy ? If the latter, won't that potentially break other stuff in /home that I run as root?
Chromium won't run as root. Gives message that you have to use "--no-sandbox" to run as root, then tells you not to do that because it is unstable and not secure. That's why I'm trying to run it as puppy.
.
Description |
|
Filesize |
34.63 KB |
Viewed |
94 Time(s) |

|
Description |
|
Filesize |
34.25 KB |
Viewed |
94 Time(s) |

|
|
Back to top
|
|
 |
Ether
Joined: 21 Aug 2013 Posts: 262
|
Posted: Sun 01 Mar 2020, 16:30 Post subject:
Chromium root & puppy |
|
.
To summarize.
If I try to run Chromium as root, it refuses to load, and gives error message that the switch " --no-sandbox " must be used to run as root.
But if I run Chromium as root with " --no-sandbox " switch, Chromium gives warning that it is unstable and insecure.
So I go to a terminal and login as puppy. Then try to run Chromium, and get error message posted previously.
If I use "su puppy" I get the following error mss:
Quote: | root@live:~# su puppy
puppy@live:/root$ chromium
[7625:7625:0301/153233.578854:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /usr/lib/chromium/chrome-sandbox is owned by root and has mode 4755. |
.
|
Back to top
|
|
 |
dancytron
Joined: 18 Jul 2012 Posts: 1555
|
Posted: Sun 01 Mar 2020, 17:32 Post subject:
|
|
Have you tried adapting the 2 scripts I gave you. Each will work.
Quote: |
#!/bin/sh
xhost +local:puppy
su puppy -c "/usr/bin/google-chrome-stable "$@" --user-data-dir=/home/puppy/chrome/user --disk-cache-dir=/home/puppy/chrome/cache --disk-cache-size=10000000 --media-cache-size=10000000"
#gksu -u puppy "/usr/bin/google-chrome-stable --user-data-dir=/home/puppy/chrome/user --disk-cache-dir=/home/puppy/chrome/cache --disk-cache-size=10000000 --media-cache-size=10000000" |
|
Back to top
|
|
 |
Ether
Joined: 21 Aug 2013 Posts: 262
|
Posted: Sun 01 Mar 2020, 17:36 Post subject:
|
|
dancytron wrote: | Have you tried adapting the 2 scripts I gave you. Each will work. |
Not yet. But I will. Thanks.
.
|
Back to top
|
|
 |
Ether
Joined: 21 Aug 2013 Posts: 262
|
Posted: Sun 01 Mar 2020, 17:40 Post subject:
|
|
dancytron wrote: | Have you tried adapting the 2 scripts I gave you. Each will work.
|
I've never created a Linux script.
I know how to cut&paste your script into a text editor, but is there a special way and recommended place (ie folder) to save it so it can be executed?
PS I used to be a highly proficient command line script guru back in the 70's writing DCL scripts for the department's DEC VAX/VMS computer. And I could do amazing things with DOS BAT files in the 80's. But I've never had the time or need to learn bash scripts. I guess the time has now come.
.
|
Back to top
|
|
 |
|
Page 18 of 23 [345 Posts] |
Goto page: Previous 1, 2, 3, ..., 16, 17, 18, 19, 20, 21, 22, 23 Next |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|