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

Exit Frontend?
http://forum.linhes.org/viewtopic.php?f=17&t=11822
Page 1 of 1

Author:  opel70 [ Mon Sep 25, 2006 1:47 pm ]
Post subject:  Exit Frontend?

Hello,

I'm sure this is pretty basic question, but is there a way to exit the frontend with no interface? I went into the schedule options for an upcoming recording and made some changes and saw the option to "Preview Schedule Changes". Well, I got an error message that the theme didn't have a schdiff section so the next page would be blank, but to press ESC to return to this screen. As the error message stated, the next screen was blank, but no keypress allowed me to return to the scheduling options screen. I was able to get a new frontend process running by pressing Alt-M, but I still have the "broken" one running in the background.

How can I exit that frontend without having to resort to rebooting the whole PC? I thought I'd be able to open a new terminal sessions ans kill the process, but I can't seem to figure out how to do that either. I also SSH'd into the PC, but PS only shows process for the SSH session.

As a side question, is there a list of windows that should be included in any theme? I have so far added the "scheduling_options" and now the "schdiff" windows to the sleek theme. Just wondering what other problems I may run into.

Thanks,

Tim

Author:  SilverBlade [ Mon Sep 25, 2006 2:05 pm ]
Post subject: 

First thing to come in mind would be killing the frontend with ctrl+c or ctrl+x. If that doesn't work, try changing the console with alt+F1 or alt+F2.

SSH is also a good option. The command you need to use is 'ps aux'. That will show all the processes running on the machine so you get the right pid.

Hope that helps.

Author:  opel70 [ Mon Sep 25, 2006 8:16 pm ]
Post subject: 

Yeah, I had tried Alt-F1, F2, etc. None of them ever switch to a new console. I'm running R5B7 if that makes a difference. The Alt commands to start and stop the backend process work, and Alt-M opens a new frontend process.

Thanks for the PS tip. Though, once I have the PID, shouldn't I just be able to run 'kill <PID>' and have that process stopped? Or do I need to do something different since the process is on a different TTY?

Author:  Greg Frost [ Mon Sep 25, 2006 8:28 pm ]
Post subject: 

ctrl-alt-f1 to switch from the windows screen to the first console. Once you have moved out of windows you can use alt-f1, alt-f2... to switch between consoles and alt-f7 to go back to windows. Also alt-x will give you an x-term console so that you can enter the command without switching out of x). You can also run the command "killall mythfrontend" rather than trying to work out the PID yourself.

Author:  opel70 [ Mon Sep 25, 2006 8:37 pm ]
Post subject: 

Thanks fr the Alt tips. 'killall mythfrontend' doesn't return any errors, but it also doesn't kill the frontend process. Guess I'll just need to find a good time to reboot the PC.

Author:  tjc [ Tue Sep 26, 2006 7:01 pm ]
Post subject: 

This ought to do it. If your process can't take a hint, use a bigger hammer.
Code:
pkill mythfrontend ; sleep 5 ; pkill -9 mythfrontend

Author:  mjl [ Tue Sep 26, 2006 7:11 pm ]
Post subject: 

Hi,

Or
Quote:
use a bigger hammer
to borrow some famous words, follow tjc's one liner after switching to su - Root has the ultimate control.

In the future, there is a menu setup/utilities that allows you to change the exit command to something other than esc. I personnally use ctrl esc so it isn't "oops, I hit the esc key to many times" It is about the 4 or 5th page in under General.

You can get a fresh restart with ctl alt backspace also, it simply restarts the xserver. Since mythfrontend is an x application, it also is restarted. You will find that a reboot will be something you just don't have to do very often :)

Mike

Author:  opel70 [ Wed Sep 27, 2006 9:26 am ]
Post subject: 

tjc wrote:
This ought to do it. If your process can't take a hint, use a bigger hammer.
Code:
pkill mythfrontend ; sleep 5 ; pkill -9 mythfrontend


Thanks, that did the trick. I always forget about ctrl-alt-bkspc.

Author:  Gnarl [ Wed Sep 27, 2006 9:41 am ]
Post subject: 

mjl wrote:
You can get a fresh restart with ctl alt backspace also, it simply restarts the xserver.

Doesn't this bring you back into x with a log in screen? To avoid that I usually just go to a terminal and restart gdm
Code:
/etc/init.d/gdm restart
I use the term "usually" loosely cuz I almost never have to do this.

Author:  mjl [ Wed Sep 27, 2006 5:37 pm ]
Post subject: 

Hi,
Just watch the timer, it will auto login ~30 seconds.
Mike

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