[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X locks also my machine



From: "Frank Trenkamp" <ftrenkam@rz.uni-osnabrueck.de>

> > during starting X (xdm, startx,X,...)
> > the screen turns black. and the machine don't accepts any commands.
> > no alt+f1 no cntrl+alt+delete no nothing.
>
> try Ctrl+Alt+F[1-6] to switch to a virtual console. Or try
> Ctrl+Alt+BackSpace to shutdown the X server (this can be turned on/off
> in /etc/X11/XF86Config, though).
>
My Dell has a similar problem.  Probably three out of four times, when I start
up X locks it fails to find my synaptics touchpad.  When this happens, it
doesn't permit any keyboard input, so neither of Frank's solutions work. Setting
"AllowMouseOpenFail" to either true or false has no effect.  I modified the kdm
script to wait 10 seconds, check the log then try to kill X if it finds the
error message at the end of the log:

 tail /var/log/kdm.log | grep "no synaptics" && start-stop-daemon --stop --name
X --retry 10

This seems to work about half the time and kdm will restart X and the mouse is
always found on the next try, the rest of the time start-stop-daemon doesn't
manage to kill X and I end up having to reboot unless I'm on a network where I
can ssh into my laptop to kill X.  One of these days I'll figure it out
correctly...

derek



Reply to: