Restarting Xserver from cli

Mario Vukelic mario.vukelic at
Wed Mar 18 19:15:48 UTC 2009

On Wed, 2009-03-18 at 15:06 -0400, Bart Silverstrim wrote:
> Why in hades would you be reaching for control-alt-del and expect data 
> intact or no harm to occur, but complain if you miss and hit 
> control-alt-back?

Ever used Windows? Other people have.

> And the reason you're killing the session is because the session is 
> screwed up to begin with. 

Not when you accidentally kill it because you did not know about the key
combo and missed Del.

> How the hell does it prompt or warn when my 
> screen consists of a pointer and lots of wavy, stepped jitters? That's 
> assuming that the server is still in a state to even respond to a prompt 
> in the first place!

Intercept it by the kernel, restart the graphics driver. You know, the
thing even Windows does.

> All this bitching over an obscure key combination when far more of my 
> users kick the damn power cable out "accidentally" or rest their foot on 
> the switch on the power bar. Why not complain about removing that hazard 
> for awhile on the list?

The complaints come from those who whine because they have to run a
command (or, in the future, check a box) to enable the old behavior.

As far as the power cable goes: you know, if a user new to Ubuntu trips
over his power cable and shuts down the machine, do you think they will
blame Ubuntu? 
Now, what if they press some key combo by accident (probably without
even knowing - happens to me all the time when I write fast) that takes
down their session? Who do you think they will blame?

More information about the ubuntu-users mailing list