[NTLUG:Discuss] XFree86

MadHat madhat at unspecific.com
Tue Apr 15 09:27:44 CDT 2003


On Tue, 2003-04-15 at 04:43, Vaidya, Harshal (Cognizant) wrote:
> This is a round about way of doing the thing you mentioned. Of course,
> this is not the best solution.
> 
> I never boot into runlevel 5 (from your mail below, it looks like you
> do). I always boot into runlevel 3 and login on a command prompt.
> Immediately after login I run a custom made bash script which starts X
> for me. 
> So, if I want to stop X, I log out which takes me back to the command
> prompt and fire startx again. This would re-load the config file. 
> 

On my notebook, I don't boot GUI, but this is for my tablet, and not
booting GUI is not the direction I want to go.  One Option that I have
seen, is to use different boot levels, 2, 3, 4, and 5 to run scripts to
change the X config and other things, which each one being labeled as
Docked, Not Docket, Docked Dual Headed, etc...  but that means rebooting
to use that, and I don't want to reboot to do things, otherwise I would
stick with windows.  Right now, I have stuck with a script and logging
off and back on, restarting X in the process.

> Harshal.
> 
> 
> -----Original Message-----
> From: MadHat [mailto:madhat at unspecific.com] 
> Sent: Monday, April 14, 2003 11:49 PM
> To: NTLUG Discussion List
> Subject: Re: [NTLUG:Discuss] XFree86
> 
> On Mon, 2003-04-14 at 12:57, Greg Edwards wrote:
> > MadHat wrote:
> > > Is there a way to restart X, more specifically reload the config,
> > > without logging out and back in.  In other words, if I am using an
> XDM
> > > to log in, usually if X dies (or I hit Ctrl-Alt-Bcksp, do a 'kill
> -1' or
> > > in anyway make X hickup), it goes back to the login screen.  If I
> want
> > > to just have X stop and restart, but not log me out, is there a way
> to
> > > do that?  I want to be able to change which Config I am using
> without
> > > logging out, restarting X and logginf back in.
> > > 
> > > I have read this is in the works for XFree86 5.0.  Dynamically
> change
> > > color depth, resolution and rotation on the fly.
> > > 
> > > 
> > 
> > As far as I've every been able to find is that X is an all or nothing 
> > config.  It only reads the config file on startup.  However, you can
> run 
> > multiple sessions ie display:0 and display:1.
> 
> I understand that, and don't mind actually restarting X, its that with
> an XDM, when you log in it starts X with an auth agent and a set of
> credentials.   So I was wondering if anyone knew if it would be possible
> to restart X without losing the credentials.
> 
> Thanks and I'll let you know if I figure something out before 5.0 is
> released ;)
-- 
MadHat at Unspecific.com
`But I don't want to go among mad people,' Alice remarked.
`Oh, you can't help that,' said the Cat: `we're all mad here...'
   -- Lewis Carroll - _Alice's_Adventures_in_Wonderland_




More information about the Discuss mailing list