How do I remove google chrome which is not starting anymore?

8,971

Solution 1

Run the following command as root: apt-get purge google-chrome-stable.

Solution 2

Go to /usr/bin, edit google-chrome. I did it with Kate.

At the end of exec -a "$0" "$HERE/chrome" "$@", add --user-data-dir, so it looks like this: exec -a "$0" "$HERE/chrome" "$@" --user-data-dir.

Share:
8,971

Related videos on Youtube

Nicola Peluchetti
Author by

Nicola Peluchetti

I've 10 years of full stack development experience: 6 with important agencies ( 10up, Webscience, Politecnico ), 3 with a startup and 1 freelancing. In the last year I worked on a huge migration from a static/PHP site to WordPress, on a React Native App ( yes, a social network, 2018), on a React search page backed by Elastic Search, on a WP REST api for a React Back End and more. My main expertise is in the WordPress environment ( Woocommerce and WordPress VIP experience too ), but I also have production experience with React, React Native, Java, node.js, Elastic Search, Zend Framework, Drupal 8, SQL, Saas, Less, Backbone, Webpack, MQL4 and Grunt. I'm a fast learner and prefer to work in places where you can code in multiple languages. I'm looking for remote contract work in the US Eastern timezone. I've been in the top 100 on StackOverflow twice: number 63 on the site in July 2011 and number 73 in March 2012 http://stackexchange.com/leagues/1/month/stackoverflow/2012-03-01/397861?sort=reputationchange#397861

Updated on September 18, 2022

Comments

  • Nicola Peluchetti
    Nicola Peluchetti almost 2 years

    I have tried to make google chrome run as root using this tutorial but now simply Google Chrome won't start.

    If I try from terminal with google-chrome I get:

    root@ubuntu:~# google-chrome 
    Segmentation fault (core dumped)
    

    If I try to uninstall from the software center, it simply hangs when I click on installed software. I tried apt-get purge but with no success. What do you suggest?

  • Nicola Peluchetti
    Nicola Peluchetti almost 12 years
    I'm new to ubuntu, what is system monitor?
  • Eric Carvalho
    Eric Carvalho almost 12 years
    @NicolaPeluchetti Why are you running a browser as root? Please read this: askubuntu.com/questions/16178/why-is-it-bad-to-run-as-root
  • Nicola Peluchetti
    Nicola Peluchetti almost 12 years
    Because i'm lazy and i don't want to type sudo. It's a VM i have to install to develop on node + redis because doing that on windows it's a real pain, i don't see any security issue in doing this. If someone can access my windows user / passowrd i would have problems anyway :)
  • Arup Roy Chowdhury
    Arup Roy Chowdhury almost 12 years
    Equivalent of Windows Task Manager.
  • Eliah Kagan
    Eliah Kagan almost 12 years
    @ArupRoyChowdhury This answer would be improved if you were to add instructions for opening the System Monitor and/or a screenshot showing how. (I would edit this in myself, but I am currently on a Lubuntu system, which uses a different utility, launched differently.)