How to run Chrome as root in FossaPup64 9.5?

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
linuxunix
Posts: 100
Joined: Fri Aug 14, 2020 4:34 am
Has thanked: 3 times
Been thanked: 2 times

How to run Chrome as root in FossaPup64 9.5?

Post by linuxunix »

You can run Chrome directly, but can't run root? How can I change it to be the same as FossaPup64 9.5?
Not just chrome, but similar software. How do you want to modify it?
It is hoped that the software of the Electron class can run directly

User avatar
mikewalsh
Moderator
Posts: 6115
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 781 times
Been thanked: 1952 times

Re: FossaPup64 9.5 can run Chrome

Post by mikewalsh »

@linuxunix :-

Uhh----o-kay. What exactly is it you want to do here?

Do I understand that you want to run Chrome as 'root' rather than 'spot'? If so, yes; it CAN be done.....but you lose all the sandboxing, hence you've immediately lost Chrome's security advantages.

Unfortunately, you can't 'run-as-root' WITH full sandboxing, because Google won't let you, I'm afraid. Simple as that.

Mike. ;)

linuxunix
Posts: 100
Joined: Fri Aug 14, 2020 4:34 am
Has thanked: 3 times
Been thanked: 2 times

Re: FossaPup64 9.5 can run Chrome

Post by linuxunix »

mikewalsh wrote: Wed Dec 07, 2022 10:51 am

@linuxunix :-

Uhh----o-kay. What exactly is it you want to do here?

Do I understand that you want to run Chrome as 'root' rather than 'spot'? If so, yes; it CAN be done.....but you lose all the sandboxing, hence you've immediately lost Chrome's security advantages.

Unfortunately, you can't 'run-as-root' WITH full sandboxing, because Google won't let you, I'm afraid. Simple as that.

Mike. ;)

FossaPup64 is root or spot by default?
How does FossaPup64 default to root and then run chrome software directly?
I just want to change to FossaPup64. What should I do?

User avatar
user1234
Posts: 414
Joined: Sat Feb 26, 2022 5:48 am
Location: Somewhere on earth
Has thanked: 155 times
Been thanked: 90 times

Re: FossaPup64 9.5 can run Chrome

Post by user1234 »

linuxunix wrote: Wed Dec 07, 2022 11:09 am
mikewalsh wrote: Wed Dec 07, 2022 10:51 am

@linuxunix :-

Uhh----o-kay. What exactly is it you want to do here?

Do I understand that you want to run Chrome as 'root' rather than 'spot'? If so, yes; it CAN be done.....but you lose all the sandboxing, hence you've immediately lost Chrome's security advantages.

Unfortunately, you can't 'run-as-root' WITH full sandboxing, because Google won't let you, I'm afraid. Simple as that.

Mike. ;)

FossaPup64 is root or spot by default?
How does FossaPup64 default to root and then run chrome software directly?
I just want to change to FossaPup64. What should I do?

All puppies are root by default. To run an electron app you'd need to run either of these commands (first one runs as root without sandboxing and the second one as spot with sandboxing):-

Code: Select all

electron-app --no-sandboxing

Code: Select all

run-as-spot electron-app

If you want to not care about doing manual stuff with chrome, @mikewalsh has built a portable exactly for that.

Here is the link:- viewtopic.php?p=479.

PuppyLinux 🐾 gives new life to old computers ✨

Post Reply

Return to “Beginners Help”