View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Oct 14, 2009 1:38 pm 
Offline
Joined: Thu Mar 02, 2006 5:42 pm
Posts: 410
Location: middleton wi usa atsc
I can only use "pkill xinit" 3 times in R6, on the forth use, something hangs up and x no longer restarts. I have to reboot to get into x!

Is there a more graceful way to restart x? I have some scripts that restart x (with pkill xinit) using various xorg.conf files to switch between the DVI, VGA and svideo connectors on my FX5200.

They work fine in R5.5 but in R6 I can only run it 3 times and on the forth try x no longer starts.

If someone would like to test this on their R6 install (preferably with an FX5200) and let me know if they can reproduce the problem, then I'll know it's not specific to just my install (or an Nvidia FX5200) somehow.

You can do this from the keyboard at the machine:
after R6 is fully up and running hit alt-x to get a terminal
type "pkill xinit" without the quotes.
wait for x to restart and display the LinHES menu again
then hit alt-x to get a terminal and
type "pkill xinit" again.
On my machine after 4 tries, x no longer restarts. I then do a cntl-alt-del which does a graceful reboot and all is well for four more tries.

********************************************
A little off topic, I'm very green at Linux, so I'm not sure why x should start at all after "pkill xinit". "pkill" kills a process but why does it restart again?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 14, 2009 5:13 pm 
Offline
Joined: Sat Feb 03, 2007 12:52 am
Posts: 187
Location: Manitoba, Canada
I have noticed that some times pkill xinit will lock my system. I don't do it often enough to know that it happens every 4th try but it has happened to me a couple times. I'm running a MX4000 video card.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 14, 2009 5:54 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
yeah, every 4th here too. But I've found that I just restart the frontend and I get another 4! sv restart frontend iirc


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 15, 2009 11:58 am 
Offline
Joined: Thu Mar 02, 2006 5:42 pm
Posts: 410
Location: middleton wi usa atsc
Too Many Secrets wrote:
yeah, every 4th here too. But I've found that I just restart the frontend and I get another 4! sv restart frontend iirc


Thanks for the tip, TMS. That works fine from the console after a crash, so I tried putting it in my script along with the "pkill xinit", thinking that if I restart the frontend every time I kill x it would proactively reset the 4 times counter. No dice. It made no difference. I still have to do the restart from the console.

In fact if I "pkill xinit" 2 times from the console and then sv restart frontend from the console, It still hangs after 2 more "pkill xinit"s. Running sv restart frontend only works right after the hang occurs. Running it after 2 pkills doesn't reset everything to give you 4 more tries, you only get 2 more, just like if you didn't run sv restart frontend at all.

My scripts are activated by a button on the remote from another room, so I'm going to keep digging into this.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 15, 2009 3:38 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
Maybe try just using:
Code:
pkill x

instead. Does that help? I'm not in front of my box ATM.

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 16, 2009 5:08 pm 
Offline
Joined: Thu Mar 02, 2006 5:42 pm
Posts: 410
Location: middleton wi usa atsc
mihanson wrote:
Maybe try just using:
Code:
pkill x

instead. Does that help? I'm not in front of my box ATM.

Same result with pkill x.

The offending file seems to be /etc/sv/frontend/finish
I have opened a Flayspray Ticket:
http://linhes.org/flyspray/index.php?do ... &project=2


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 15 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu