Run microsoft-edge-stable with non-root priviledges

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
cumaron
Posts: 15
Joined: Fri Jun 07, 2024 3:13 pm
Has thanked: 5 times

Run microsoft-edge-stable with non-root priviledges

Post by cumaron »

Hello,
I found out how to run apps as a non-root user with 'run-as-spot', for example

# run-as-spot lxterminal

and then in the new window:

# whoami
spot

Unfortunately, it does not work for 'microsoft-edge-stable'

# run-as-spot microsoft-edge-stable
[7969:7969:0630/092229.477312:ERROR:zygote_host_impl_linux.cc(99)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

How to run microsoft-edge-stable as spot user?
-----------------------
Operating System:
Distro Name fossapup64 9.6 (x86_64)
Woof-CE Build testing;cd5dcd04f;2023-01-21 15:35:41 +0200
Woof Version 9
Binary Base ubuntu
Distro Base focal
Distro Date Mar 2023
User Session x11
Window Manager JWM v2.4.3
Desktop Start xwin jwm

pupmaster
Posts: 1
Joined: Sat Jun 29, 2024 2:46 am

Re: Run microsoft-edge-stable with non-root priviledges

Post by pupmaster »

You should be able to run it by adding no `--no-sandbox` argument.
You could try this command:

Code: Select all

run-as-spot microsoft-edge-stable --no-sandbox

Let me know if it works

User avatar
bigpup
Moderator
Posts: 6993
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 911 times
Been thanked: 1528 times

Re: Run microsoft-edge-stable with non-root priviledges

Post by bigpup »

See this topic:
viewtopic.php?t=10163

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
bigpup
Moderator
Posts: 6993
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 911 times
Been thanked: 1528 times

Re: Run microsoft-edge-stable with non-root priviledges

Post by bigpup »

About your Puppy version info.

The best thing to give us is the exact full name of the Puppy version ISO.

Example:
F96-CE_4

If it is F96-CE_4.iso

Reason is there may be many modified versions of the basic version and they may or may not have changed the operating system info.

But for sure the exact name of the ISO will have to be different.

This also tells us for sure if you have an older or the latest version release.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

cumaron
Posts: 15
Joined: Fri Jun 07, 2024 3:13 pm
Has thanked: 5 times

Re: Run microsoft-edge-stable with non-root priviledges

Post by cumaron »

Many thanks for all your help. After trying everything, it appears that the Edge browser does not run without root privileges and I have to live with the security concern of the --no-sandbox option.

Regarding my Puppy ISO version, I am not sure how to find that out. I am using PupSysInfo, and that is all it provides about the distro I am using. I am running from a hard disk frugal install.

thinkpadfreak
Posts: 265
Joined: Thu Jul 16, 2020 6:37 am
Has thanked: 7 times
Been thanked: 57 times

Re: Run microsoft-edge-stable with non-root priviledges

Post by thinkpadfreak »

cumaron wrote: Sat Jul 06, 2024 4:58 pm

it appears that the Edge browser does not run without root privileges

Strange.
I run Edge as spot. It runs without the --no-sandbox option.

How did you install Edge? Where did you get the software package from?

cumaron
Posts: 15
Joined: Fri Jun 07, 2024 3:13 pm
Has thanked: 5 times

Re: Run microsoft-edge-stable with non-root priviledges

Post by cumaron »

@thinkpadfreak: I followed this info: viewtopic.php?t=10163
viewtopic.php?t=10163

thinkpadfreak
Posts: 265
Joined: Thu Jul 16, 2020 6:37 am
Has thanked: 7 times
Been thanked: 57 times

Re: Run microsoft-edge-stable with non-root priviledges

Post by thinkpadfreak »

I tried running Edge as spot on fossapup64 9.6 (F96-CE).
I started it in the terminal like this:
# run-as-spot microsoft-edge-stable

I used an sfs package of Edge.

edge-stable_126.0.2592.56-1_x64.sfs

md5sum 18122a876e5ab288c4696a43dd6ca389

The sfs above has been made from a deb package available from the MS official site. So there should be no difference from the Edge installed by way of a deb package.

If you would like to load the sfs, be sure to uninstall or unload the version of Edge installed before.

Post Reply

Return to “Beginners Help”