Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 5 down vote accepted

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

share|improve this answer
That worked, thanks :) – Nicola Peluchetti Jul 25 '12 at 0:19
@NicolaPeluchetti Why are you running a browser as root? Please read this: – Eric Carvalho Jul 25 '12 at 0:21
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 :) – Nicola Peluchetti Jul 25 '12 at 0:35

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|improve this answer

Kill chrome in system monitor and then try removing it.

share|improve this answer
I'm new to ubuntu, what is system monitor? – Nicola Peluchetti Jul 24 '12 at 23:53
Equivalent of Windows Task Manager. – Arup Roy Chowdhury Jul 25 '12 at 1:43
@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.) – Eliah Kagan Aug 14 '12 at 11:27

You can kill Chrome from the System Monitor: Launch it from the Unity ta sk bar (it's just called "System Monitor") or launch it from the terminal with gnome-system-manager -- you'll see all running processes under the "Processes" tab. You might have a few "Chrome" processes running (I had four just now) -- select the processes called chrome and use the "End Process" button to kill them.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.