LinHES Forums
http://forum.linhes.org/

R5D1 lockup restarts?
http://forum.linhes.org/viewtopic.php?f=11&t=12454
Page 1 of 1

Author:  uzik [ Sat Nov 04, 2006 10:49 am ]
Post subject:  R5D1 lockup restarts?

Good morning all,

I had a hard disk crash on my mythbox so I replaced the hard disk
and installed R5D1. (all the same hardware except the addition of a hard disk and a second hauppage pvr150).

Now I get an occasional lockup on the front end. I can connect to it
via SSH. What's the best way to restart the frontend on knoppmyth?
I can kill the X server but what do I restart to get control of the screen
back? ( startx resets the video hardware but doesn't get the frontend
to login on it... )

Thanks!

Author:  thornsoft [ Sat Nov 04, 2006 10:56 am ]
Post subject: 

I have a little script: /usr/local/bin/rfe.sh

Code:
#!/bin/sh
#rfe - reboot front end
#Purpose: restart the front-end when it's crashed.
#by Chris Thornton
#11/27/2005

/etc/init.d/gdm stop
echo Sleeping 4 secs...
sleep 4
/etc/init.d/gdm start
echo Done!


I can usually run it from a console window. i.e. Ctrl+Alt+F6, login as root, then execute rfe.sh

Author:  uzik [ Sat Nov 04, 2006 11:25 am ]
Post subject: 

Thanks! That should be a great help

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/