Restarting Xserver from cli

Mario Vukelic mario.vukelic at
Wed Mar 18 19:44:43 UTC 2009

On Wed, 2009-03-18 at 15:32 -0400, Bart Silverstrim wrote:
> Mario Vukelic wrote:
> > On Wed, 2009-03-18 at 16:24 +0000, R Kimber wrote:
> >> But doesn't your objection apply to any method of restarting X that
> >> doesn't also warn about shutting down apps?
> > 
> > Are you comparing the likelihood of accidentally switching to a terminal
> > and typing "sudo /etc/init.d/gdm stop" to accidentally hitting Ctrl+Alt
> > +Bsp when you reached for Ctrl+Alt+Del out of Windows habit?

> That's the point...

Well, it was not the point of what R Kimber wrote as far as  can tell.

> I *couldn't* switch to a terminal.
> X wouldn't let me.
> Screen was garbled, and static. Not moving. Except for my pointer. I was 
> reduced to waving me pointer about the screen. So unless you want to 
> kill X by holding middle button + mouse gesture, that doesn't work.

Yeah, I know that this can happen. I'm just saying that this is no
reason to implement a braindead kill switch by default, but that it
should be handled gracefully.

More information about the ubuntu-users mailing list