Bug#527118: xserver-xorg-core: autoadded input devices kill X server
2009/5/5 Julien Cristau <firstname.lastname@example.org>:
> On Tue, May 5, 2009 at 19:51:41 +0200, Michal Suchanek wrote:
>> When running from xinit (as opposed to running just X) the X server gets hal to auto-add devices. This kills the X server.
> How so?
As I understand it the standard startx script runs xinit internally.
This method of starting the X server fails.
> xinit vs startx doesn't change anything regarding input devices. What
> changes is that .xinitrc or .xsession is run. What do you run there?
I run them manually by doing
DISPALY=:0 /etc/X11/Xsession xmonad
so there is no problem with that.
I thought disabling automatic adding of devices would resolve the
problem but the events are still generated and the X server dies.
I see a few problems here:
1) The hal stuff works when X is started from startx (xinit) but no
hal events are generated when only the X wrapper is started
2) The wacom driver crashes the X server on unloading which is
probably a bug in that driver
3) it is not possible to prevent the hal events from being generated