View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Stupid Question
PostPosted: Fri Sep 14, 2007 12:17 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
Okay, this is probably a stupid question. but why does "pkill xinit" restart the frontend? Doesn't that just kill a process? What starts it back up?

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 1:05 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
xinit is a child process of teh startx process.

killing xinit causes startx to .... well 'Start X' :)

Code:
mythtv    3830  3826  0 Sep13 ?        00:00:00 /bin/sh /usr/bin/startx
mythtv    3851  3830  0 Sep13 ?        00:00:00 xinit /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc -auth /home/mythtv/.serverauth.3830

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 2:02 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
Cool, thx.

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject: Re: Stupid Question
PostPosted: Sun Sep 16, 2007 1:53 am 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
kmkittre wrote:
why does "pkill xinit" restart the frontend?


Processes have children. xinit starts some stuff, which in turn starts mythfontend.

When you kill the parent process, its children and grandchildren are killed too.

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu