View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 10 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Exit Frontend?
PostPosted: Mon Sep 25, 2006 1:47 pm 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 25, 2006 2:05 pm 
Offline
Joined: Sat Oct 08, 2005 4:20 pm
Posts: 5
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.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 25, 2006 8:16 pm 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
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?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 25, 2006 8:28 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
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.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 25, 2006 8:37 pm 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 26, 2006 7:01 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 26, 2006 7:11 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 27, 2006 9:26 am 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 27, 2006 9:41 am 
Offline
Joined: Mon Feb 16, 2004 7:06 pm
Posts: 309
Location: Toronto
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.

_________________
KnoppMyth Folding@home
How to setup F@H
F@H Stats Page


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 27, 2006 5:37 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
Just watch the timer, it will auto login ~30 seconds.
Mike


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 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