LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-15-2003, 09:46 AM   #1
Scythe
LQ Newbie
 
Registered: Jun 2003
Location: Brooklyn, NY
Distribution: Slackware
Posts: 18

Rep: Reputation: 0
Talking Best: Question about X and top


I started using slackware in about June. I was reading recently and I noticed that when I run the top command, no matter what user I am logged in as and using X, top says X is always being run by root instead of my current username. Is there a reason for this ? Secondly, how is it that root runs X when I am not logged in as root? I'm really confused about that part of it.

thx for the help in advance
 
Old 10-15-2003, 11:29 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Do you boot in a graphical mode at boot time? That would determine why its being run as root instead of you as a user. If you use startx, should be running as your username, etc.
 
Old 10-15-2003, 11:44 AM   #3
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
The Xfree86 binary is suid, so on execution it switches to the owner, which is root. That's the answer for your second question I think.
 
Old 10-15-2003, 12:05 PM   #4
Scythe
LQ Newbie
 
Registered: Jun 2003
Location: Brooklyn, NY
Distribution: Slackware
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks

Yeah I use the startx command to start my gui. That's why I found it weird. THx for the replies, I appreciate it
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bloddy Newbie Question: How to install Bash + top ? fluppi AIX 3 12-16-2005 11:00 AM
question re output of "top" slackist Linux - Newbie 2 04-12-2004 09:13 AM
Question re: 'top' and mem usage... pistonhonda Linux - Newbie 6 11-16-2003 03:12 AM
"top" command memory question chanys Linux - General 4 03-14-2003 09:01 PM
top question anoop_chandran Linux - General 5 12-31-2001 11:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration