View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Oct 21, 2008 8:43 pm 
Offline
Joined: Wed Feb 28, 2007 2:06 pm
Posts: 9
Hello,

I am quite new to knoppmyth, and am therefore having to do a lot of experiments to learn how to use all teh functions.

At the moment, i have a tv connected (TVout) and also a vga monitor (LCD - not DVI). My TV is away from the keyboard so when i want to make changes which require me to type a lot, i have to switch the graphical output to monitor by changing my xorg.conf file and rebooting.

I would like a simple way to stop the x server, change the xorg.conf and then restart the server, without having to reboot. I look at all the processes running and it is quite unclear which one i would have to stop and then which one to restart as the command is complicated, not just a simple "startx".

I have tried clone mode for xorg.conf but it doesn't work. It only shows terminal 7 (graphics) on the TV, but will switch to monitor when i go to terminal 1 (ctrl sft F1).

Can anyone offer some advice on how to do this easier?

Thanks,


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 21, 2008 9:57 pm 
Offline
Joined: Tue Jul 19, 2005 7:52 pm
Posts: 44
Location: Perth, Western Australia
Make your changes to Xorg.conf whilte the X server is running, then press ctrl-alt-backspace.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 21, 2008 10:37 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
You can also "pkill xinit"

Marc


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 22, 2008 6:34 am 
Offline
Joined: Mon May 02, 2005 9:00 am
Posts: 172
If X fails to restart with the C7 error how do you restart it without rebooting or waiting the 5 minutes for it to auto restart?


Top
 Profile  
 
PostPosted: Wed Oct 22, 2008 2:21 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
smkranz0506 wrote:
Can anyone offer some advice on how to do this easier?


Do you have another PC on your network? If you do, this whole issue can be avoided if you ssh into your mythtv box from the other machine. If you're running Windows I'd suggest downloading the freeware PuTTY ssh client.

If you need to be in X to manipulate something, you can enable vnc on your mythbox and connect remotely (edit your ~/.fluxbox/apps file and uncomment the line about vnc by simply removing the # in front of it, then issue a $ pkill xinit to restart X and vnc will be running). TightVNC is a great freeware VNC client for Windows and they may have a MacOS port if you run that on your other machine.

Anyway, either of the two solutions mentioned above are way better than what you're describing in my opinion.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 22, 2008 2:27 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
chunter2 wrote:
If X fails to restart with the C7 error how do you restart it without rebooting or waiting the 5 minutes for it to auto restart?


Does this happen to you if you issue a $pkill xinit or does your machine boot into this state? See tjc's R5.5 hints/tips thread which is a sticky in the hints/tips section of the forums. It means you have problems with your driver that should be independent of you restarting X.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 22, 2008 4:52 pm 
Offline
Joined: Mon May 02, 2005 9:00 am
Posts: 172
graysky wrote:
Does this happen to you if you issue a $pkill xinit or does your machine boot into this state? See tjc's R5.5 hints/tips thread which is a sticky in the hints/tips section of the forums. It means you have problems with your driver that should be independent of you restarting X.

My question was more for testing an xorg.conf file. I've run into the C7 error testing a specific resolution for an LCD TV and trying to get TV-Out to work with some video cards. If you do something wrong and X fails to start you'll get the C7 error. If you switch back to a good xorg.conf I'm looking for a way to restart X without having to wait or reboot. This is just to save time.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 22, 2008 5:06 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
@chunter2 - Okay... if you add messing with the xorg.conf into the mix, that's totally different. I don't how to restart in that case :oops:

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 22, 2008 7:49 pm 
Offline
Joined: Mon May 02, 2005 9:00 am
Posts: 172
graysky wrote:
@chunter2 - Okay... if you add messing with the xorg.conf into the mix, that's totally different. I don't how to restart in that case :oops:

I guess killing the 5 minute timer and starting X manually would work. I just don't know how to do either under knoppmyth. :)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 23, 2008 5:43 pm 
Offline
Joined: Wed Feb 28, 2007 2:06 pm
Posts: 9
Hello Arnie,

Sorry for my delays to reply.

Yes, thanks! The ctrl alt backspace works for me to do what i ask.

I don't have C7 errors, as both xorg.conf files i use start successful, i just want to swap between having the frontend graphics show on my tv out and on my small LCD monitor.

Graysky, your proposal sounds interesting using tightvnc, i will investigate. Yes i already actively use Putty to control my linux computers, so tightvnc might be another tool in my toolbox.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 24, 2008 1:03 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
smkranz0506 wrote:
Graysky, your proposal sounds interesting using tightvnc, i will investigate. Yes i already actively use Putty to control my linux computers, so tightvnc might be another tool in my toolbox.


I'm sure you'll be happy with vnc, it rocks.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

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