Chrome-sandbox error on using some applications on Cinnamon

Post here if you are a new Porteus member and you're looking for some help.
meet
Black ninja
Black ninja
Posts: 88
Joined: 31 Mar 2020, 04:37
Distribution: Porteus 4.0

Chrome-sandbox error on using some applications on Cinnamon

Post#1 by meet » 10 Apr 2020, 05:04

Hello,

I am using Porteus 4 with Cinnamon.

I was trying to use an application through directly running an executable file.

It shows me a --no-sandbox error.

However, when I use the same executable file on Porteus 4 with KDE, it runs properly without any chrome-sandbox error.

Pls help me solve this.

User avatar
Ed_P
Contributor
Contributor
Posts: 8363
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Chrome-sandbox error on using some applications on Cinnamon

Post#2 by Ed_P » 10 Apr 2020, 15:56

"an executable file"? A .xzm file? A .exe file? A .com file? A .bat file?

Run your executable file in a terminal window and post the errors that show.

Different DE's include different support files.
Ed

meet
Black ninja
Black ninja
Posts: 88
Joined: 31 Mar 2020, 04:37
Distribution: Porteus 4.0

Chrome-sandbox error on using some applications on Cinnamon

Post#3 by meet » 11 Apr 2020, 04:28

Ed_P wrote:
10 Apr 2020, 15:56
"an executable file"? A .xzm file? A .exe file? A .com file? A .bat file?

Run your executable file in a terminal window and post the errors that show.

Different DE's include different support files.
This is for Porteus 4 Cinnamon.

Type of file as shown by the Properties menu of the file: Unknown (application/x-sharedlib)
When run from file manager as root: No message or no pop-up. Nothing happens.
When run from terminal with root:

Code: Select all

root@porteus:/mnt/sdb1/folder/program# ./program_name
[3008:0411/095242.995262:FATAL:atom_main_delegate.cc(210)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Trace/breakpoint trap

User avatar
Ed_P
Contributor
Contributor
Posts: 8363
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Chrome-sandbox error on using some applications on Cinnamon

Post#4 by Ed_P » 11 Apr 2020, 04:53

What do you see running the app as guest?
Ed

meet
Black ninja
Black ninja
Posts: 88
Joined: 31 Mar 2020, 04:37
Distribution: Porteus 4.0

Chrome-sandbox error on using some applications on Cinnamon

Post#5 by meet » 11 Apr 2020, 05:42

Ed_P wrote:
11 Apr 2020, 04:53
What do you see running the app as guest?
It doesn't run. Says you don't have the permission to mark it as executable.

beny
Full of knowledge
Full of knowledge
Posts: 2093
Joined: 02 Jan 2011, 11:33
Location: italy

Chrome-sandbox error on using some applications on Cinnamon

Post#6 by beny » 11 Apr 2020, 14:31

hi meet ,there are a lot of applications that not allow you to run as root so if you run as root opera browser you have to add in terminal:bash-5.0# opera --no-sandbox chrome vlc and many other....in terminal you have to use the sh first if you have to run an executable or you have error ok maybe isn't this your problem a trick is you are root in terminal write: su guest password guest and run the chrome and let me know if work for you

meet
Black ninja
Black ninja
Posts: 88
Joined: 31 Mar 2020, 04:37
Distribution: Porteus 4.0

Chrome-sandbox error on using some applications on Cinnamon

Post#7 by meet » 12 Apr 2020, 16:18

beny wrote:
11 Apr 2020, 14:31
hi meet ,there are a lot of applications that not allow you to run as root so if you run as root opera browser you have to add in terminal:bash-5.0# opera --no-sandbox chrome vlc and many other....in terminal you have to use the sh first if you have to run an executable or you have error ok maybe isn't this your problem a trick is you are root in terminal write: su guest password guest and run the chrome and let me know if work for you
Hey benny.
Thanks for the reply.

However, I have started using the KDE version now. Although I liked Cinnamon better.
The issue is, I do not wish to run the application through terminal each time I wanna run it.
The UI should do that for me. And on the UI front neither it allows me to make the file executable from guest user, nor does it allow me to change the owner of the file to guest from root. Further, it doesn't open through root, probably due to the reason you explained.

KDE on the otherhand works with a simple double click. No setting or ownership transfer or terminal command required. So I am going ahead with it.
May be if things don't work out with KDE and I go back to Cinnamon, then I will try your suggestion.
Probably someone else might work on this if they have a similar issue, so thanks.

Post Reply