Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

3 Answers

up vote 4 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
4  
@NicolaPeluchetti Why are you running a browser as root? Please read this: askubuntu.com/questions/16178/why-is-it-bad-to-run-as-root – 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
1  
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

Your Answer

 
discard

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.