LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Google chrome exception (https://www.linuxquestions.org/questions/linux-newbie-8/google-chrome-exception-4175633405/)

reddyvenkateshg.devops 07-06-2018 05:46 AM

Google chrome exception
 
How can i open google chrome in centos7.when i am trying to open as sudo user i am getting some error like [2279:2279:0706/211303.166039:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

How to solve it.please help me. I am using centos minimal Image.

teckk 07-06-2018 06:27 AM

Stop trying to run a web browser as root. Do you have a user on that machine? Open a web browser as limited user. If you want more help then post more info and the errors that you are getting.

TB0ne 07-06-2018 07:02 AM

Quote:

Originally Posted by reddyvenkateshg.devops (Post 5876202)
How can i open google chrome in centos7.when i am trying to open as sudo user i am getting some error like [2279:2279:0706/211303.166039:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

How to solve it.please help me. I am using centos minimal Image.

Your user ID mentions "devops"...if you are a developer, it's hard to see why you didn't understand the bolded part of the message above (bolded form emphasis only). It's VERY plainly telling you that running as root isn't supported. Don't run it as root. Simple.

AwesomeMachine 07-06-2018 07:03 AM

Just a footnote: using a web browser as root is like running around in Harlem, New York, naked at 3:00 am screaming, "I have $3,000.00 cash on me!"

X-LFS-2010 07-07-2018 05:18 PM

yea you could get hacked.

but really if run web browser as root your issue with be crashing the kernel. which isn't the problem it used to be since linus decided that by default root doesn't have access to write to cerain areas (unless developer options are enabled when making the kernel)

the "real root" can write directly to any device or memory (doing any kind of good or possibly permanently killing the pc). the "root" your using cannot.

people run things as root (like X11) temporarily all the time. infact the xorg your using probably runs as run and then su's the user: which x11 specifically spells out in documentation NOT to do, but that's what foreign hack linux OS distros did (opposite of the manual, which was not unusual for them)

not a problem

especially in the old days (see Linus comment above), you only ran "stable software" as root. back then you wouldn't even run bash if you were root. you'd literally only run super stable software like login(1) - the minimal necessary - except for maintenance admin apps which were required to do. (some would still say not to run a shell as root, but almost everyone does).


All times are GMT -5. The time now is 05:55 PM.