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

what do to when mythtv locks the interface?
http://forums.linhes.org/viewtopic.php?f=6&t=317
Page 1 of 1

Author:  graysky [ Thu Dec 18, 2003 8:37 am ]
Post subject:  what do to when mythtv locks the interface?

What is the best way to restart the mythfront when it locksup?

Author:  Xsecrets [ Thu Dec 18, 2003 9:40 am ]
Post subject: 

well if it only locked the frontend you can ssh into the box and kill the frontend then go back and restart mythtv from the desktop, but if the whole machine is locked up and you can't ssh in then you just have to hit the power button.

Author:  graysky [ Thu Dec 18, 2003 10:22 am ]
Post subject: 

How does one restart the frontend server? I only know how to do the backend:

root /etc/init.d/mythtv-backend restart

Also, if I restart X... shouldn't that kill mythtv?

Thanks for the support :)

Author:  Xsecrets [ Thu Dec 18, 2003 10:30 am ]
Post subject: 

graysky wrote:
How does one restart the frontend server? I only know how to do the backend:

root /etc/init.d/mythtv-backend restart

well the frontend is not actually a server it's just a program and as such you can't really restart it. what you can do is get into the computer remotely using ssh and kill it. that will drop you back to the desktop then you click on it and click mythtv from the menu and you will get mythfrontend back.

Quote:
Also, if I restart X... shouldn't that kill mythtv?

Thanks for the support :)


yes if you restart X it will kill and restart mythtv, because mythfrontend is in the startup scripts for the window manager.

note that restarting X will not restart the backend.

Author:  graysky [ Thu Dec 18, 2003 3:51 pm ]
Post subject: 

I always control the box via SSH. Don't flame me for this rather newbie quesiton, but: how do I kill the front end? I do not see it running from top. Also, when i restart X, it doesn't go down.

Thanks again all!

Author:  Xsecrets [ Thu Dec 18, 2003 4:01 pm ]
Post subject: 

well I can assure you that when you restart X mythfrontend does go down. what you are seeing is that it comes right back up because the X startup scripts start it.

top only shows some of the processes. to see them all you do

ps -ae

or probably better ps -ae | more or ps -ae | less

because the output will be more than one screen long. once you see that a process is running you can kill it in one of two ways.

the process list will look something like this.
1171 ? 00:00:00 epiphany
1173 ? 00:00:00 epiphany

the number on the left is called the pid and the name on the right is the name of the process so you can either do

kill pid
or
killall processname

if it won't kill that way you can put a -9 in there. basically this means kill with extreame prejudice. or I don't care if it's doing something or will break the system go ahead and kill it, so use with caution.

as in

kill -9 1171 (from the example above)
or
killall -9 epiphany (from the example above)

Author:  cesman [ Thu Dec 18, 2003 4:32 pm ]
Post subject: 

In other words...
killall -9 mythfrontend

Author:  Xsecrets [ Thu Dec 18, 2003 4:56 pm ]
Post subject: 

yeah I just hate telling people to always do kill or killall -9 unless they know it could really screw things up if they use it on the wrong process.

Author:  graysky [ Thu Dec 18, 2003 7:14 pm ]
Post subject: 

Thanks for the infomation all.

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