Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Using Lubuntu and its Task Manager (LXTask) I noticed that some instances of Chromium are running as user root. I was kinda shocked because I am always reading only system relevant software should run with root privileges.

I have been googling like crazy about this but found nothing.Only some older stuff about people who wanted to run Chromium/Chrome as root !?

So I'm thinking this is the way it is supposed to be ? But why ? Firefox is running only one instance as the user who invoked it. (I get the reason for Chrome's multiple processes. I've read it on their site.)

Can anybody clear this up for me, it really bugs me and prevents me from using Chromium ? I would really appreciate it! Thanks in advance.

This is the output of ps -ef | grep -i chromium :

myname@xyxyxy:~$ ps -ef | grep -i chromium
myname       1785     1  0 23:03 ?        00:00:02 /usr/lib/chromium-browser/chromium-browser
myname       1788  1785  0 23:03 ?        00:00:00 /usr/lib/chromium-browser/chromium-browser
myname       1790     1  0 23:03 ?        00:00:00 /usr/lib/chromium-browser/chromium-browser --type=zygote
myname       1813  1790  0 23:03 ?        00:00:00 /usr/lib/chromium-browser/chromium-browser --type=renderer

Well,no root processes. I am more confused.

Here is a link to the LXTask screenshot LXTask Sorry for the smudge. I am a little paranoid, hence the fuzz :)

enter image description here

So, is it just LXTask showing the wrong thing ?


Sorry for the long stayaway but I had to sleep.Thank you fossfreedom for clearing this up. I am much calmer now. The 'ps -ef | grep ' did exactly what you said.I will try to report it as a bug. Thanks also @Lekensteyn. Oh, and also @CYREX for embedding the pic.

share|improve this question
    
very curious - I've just run ps -ef | grep -i chromium and all processes are running as the logged in user. Can you do the same and copy and paste the results into your question? –  fossfreedom Aug 12 '11 at 20:53
    
Use htop (press F5) to determine where the process came from. On my systems, no Chromium instance is running as root. –  Lekensteyn Aug 12 '11 at 20:54
    
Hi, thanks for the reply @all! –  omch Aug 12 '11 at 21:13
add comment

1 Answer 1

LXTask looks like it is showing the incorrect user.

Scroll to the right and you'll see two further columns - PID and PPID. These are the process ID and the parent process ID.

If you do a ps -ef | grep <PID> you'll see that the owner of the errant "root" processes is actually yourself.

I would file this as a bug on LaunchPad - ubuntu-bug lxtask

share|improve this answer
add comment

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.