Page 1 of 1

Run microsoft-edge-stable with non-root priviledges

Posted: Sun Jun 30, 2024 8:38 am
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


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

Posted: Sun Jun 30, 2024 1:31 pm
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


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

Posted: Sun Jun 30, 2024 11:29 pm
by bigpup

See this topic:
viewtopic.php?t=10163


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

Posted: Sun Jun 30, 2024 11:44 pm
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.


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

Posted: Sat Jul 06, 2024 4:58 pm
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.


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

Posted: Sun Jul 07, 2024 5:36 am
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?


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

Posted: Sun Jul 07, 2024 1:32 pm
by cumaron

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


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

Posted: Sun Jul 07, 2024 2:23 pm
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.