Issue when sending a SIGKILL to X while on the current display

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue when sending a SIGKILL to X while on the current display

marsil_b
Hello x11@,

How to reproduce
1- launch a WM, let's say, fvwm
2- spawn a terminal
3- find the pid for /usr/X11R6/bin/X (ps -x ..)
4- execute kill from the spawned terminal with the -KILL switch and
the pid of X

CTR+ALT+F* keys won't work after that and the user is stuck with
a static display. The only thing to do then, is to shutdown by hand.

Tested on a current system (OpenBSD 4.8 GENERIC.MP#296 i386),
with the default configuration, that is with startx using
/etc/X11/xinit/xinitrc.

Although killing X this way is not a good practice, I think this deserve
a fix.

bye,

benjamin

Reply | Threaded
Open this post in threaded view
|

Re: Issue when sending a SIGKILL to X while on the current display

Theo de Raadt
> Hello x11@,
>
> How to reproduce
> 1- launch a WM, let's say, fvwm
> 2- spawn a terminal
> 3- find the pid for /usr/X11R6/bin/X (ps -x ..)
> 4- execute kill from the spawned terminal with the -KILL switch and
> the pid of X
>
> CTR+ALT+F* keys won't work after that and the user is stuck with
> a static display. The only thing to do then, is to shutdown by hand.
>
> Tested on a current system (OpenBSD 4.8 GENERIC.MP#296 i386),
> with the default configuration, that is with startx using
> /etc/X11/xinit/xinitrc.
>
> Although killing X this way is not a good practice, I think this deserve
> a fix.

We'll be waiting for your fix then.