Ubuntu16.04 install Chrome browser and solve the problem that root cannot open, ubuntu16.04chrome

Source: Internet
Author: User

Ubuntu16.04 install Chrome browser and solve the problem that root cannot open, ubuntu16.04chrome

1. Install the desktop (emmm, do not know whether to execute the second command)

# apt-get install gonme
# apt-get install ubuntu-desktop

2. Install Chrome

# wget http://www.linuxidc.com/files/repo/google-chrome.list -P /etc/apt/sources.list.d/# wget -q -O - https://dl.google.com/linux/linux_signing_key.pub  | sudo apt-key add -# apt-get update# apt-get install google-chrome-stable

3. Start Chrome

# google-chrome

An error is reported:

[31560: 31560: 0207/085601. 085852: ERROR: zygote_host_impl_linux.cc (90)] Running as root without -- no-sandbox is not supported. See https://crbug.com/638180.

# google-chrome --no-sandbox

An error will still be reported:

Root @ node00 :~ #[0207/085735. 495265: ERROR: nacl_helper_linux.cc (310)] NaCl helper process running without a sandbox!

Most likely you need to configure your SUID sandbox correctly

I tried a bunch of methods on the Internet .. Restart

And then try again

# google-chrome --no-sandbox

Despite a bunch of errors, it was finally opened !!

[31568: 31664: 0207/085622. 436523: ERROR: bus. cc (394)] Failed to connect to the bus: cocould not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix ")

[31568: 31568: 0207/085624. 050190: ERROR: gpu_process_transport_factory.cc (1009)] Lost UI shared context.

(Google-chrome: 31568): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Unknown or unsupported transport 'Disabled 'for address 'Disabled :'

Root @ node00 :~ #[0207/085735. 495265: ERROR: nacl_helper_linux.cc (310)] NaCl helper process running without a sandbox!

Most likely you need to configure your SUID sandbox correctly

 # whereis google-chromegoogle-chrome: /usr/bin/google-chrome /usr/share/man/man1/google-chrome.1.gz# vim /usr/bin/google-chrome

Change exec-a "$0" "$ HERE/chrome" $ @"

Exec-a "$0" "$ HERE/chrome" "$ @" -- user-data-dir -- no-sandbox

In the future, google-chrome can be used to open Chrome.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.