Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
startx
. However occasionally the X server doesn't
start. Apparently it has problems finding the mouse device.
Ctrl-Alt-< Function key >
while X is
already running. When switching back to graphics mode the mouse doesn't react anymore.
While starting or switching back to X the mouse device is blocked by another application. The X server therefore is not able to access the mouse and you get a message like
Fatal server error:
Cannot open mouse (Device or resource busy)
This behaviour may be triggered by textbased programs that make use
of the mouse. The most commonly used application (and therefore most of the time
the reason for the mentioned behaviour) seems to be gpm
.
Please enter the following line in the Section "ServerFlags"
in /etc/XF86Config
:
AllowMouseOpenFailThe mouse may still be blocked by gpm. However if this happens the X server doesn't interpret this as "fatal error" but continues loading. It will emit the following message:
Cannot open mouse (Device or resource busy) - Continuing...
The server will start anyway. Please be aware that you will not be able to use the mouse as it is still blocked by another application. It is therefore necessary to switch back to the text console and then back to graphics mode immediately. With programs like gpm (that don't use the mouse all of the time), it should be possible to use the mouse as usual, when you're back in graphics mode. If you still can't use the mouse, then the only cure of the problem is to terminate the program on the console, that blocks the mouse device.
Keywords: MOUSE, XSERVER, XWINDOW, POINTER
Categories:
X Applications
, X Window System
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch