LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-30-2008, 07:27 PM   #1
kaelthas
Member
 
Registered: Jun 2007
Location: Troy, Michigan, USA
Distribution: Gentoo
Posts: 30

Rep: Reputation: 15
Process named -:0?


I noticed in htop there is a process running called -:0 does anyone know what this is? I'm running Gentoo. When I kill it, X restarts, and after logging back in from KDM it's back in the tree.
 
Old 04-30-2008, 07:46 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Using 'pgrep -lf -- '-:0'' you get the PID, then 'lsof -w -n -p $PID', or 'readlink -f /proc/$PID/exe' will give you clues (as should searching LQ, I vaguely remember this being asked before).
 
Old 04-30-2008, 08:17 PM   #3
kaelthas
Member
 
Registered: Jun 2007
Location: Troy, Michigan, USA
Distribution: Gentoo
Posts: 30

Original Poster
Rep: Reputation: 15
I did try to search, but the search wouldn't go through with -:0 in it, and taking that out just brought up lots of unrelated stuff which was no help Anyway, thank you very much for the tips, apparently it has something to do with KDM, although I'm not exactly sure what (but that would explain why X restarted when I killed it). It seems legit, which was my main concern. Thanks again

Quote:
Originally Posted by unSpawn View Post
Using 'pgrep -lf -- '-:0'' you get the PID, then 'lsof -w -n -p $PID', or 'readlink -f /proc/$PID/exe' will give you clues (as should searching LQ, I vaguely remember this being asked before).
 
Old 05-01-2008, 12:58 AM   #4
camelrider
Member
 
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 251

Rep: Reputation: 32
AFIK -:0 is the virtual console tied to your X session. If you want to run another X session you "startx -:1". I don't think virtual console is the correct term but that's about what it amounts to.

When you kill -:0 it takes X with it...
 
  


Reply



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
FC4 System Crash bcs chown -R named:named extend joangopan Fedora 1 09-09-2007 02:46 AM
chown -R named:named /var/named crash the system? joangopan Fedora 2 09-09-2007 02:46 AM
An extraneous process named "fun" misteryfly Linux - Security 3 02-21-2005 02:23 PM
cannot find named.conf and /var/named kaushikma Red Hat 1 02-07-2004 12:49 PM
Virtual Host type, named or IP via SSL? Named VH is not possible? piratebiter Linux - Security 3 08-20-2003 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:42 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
Open Source Consulting | Domain Registration