Can not see mouse pointer

Laurentiu-Cristian Duca laurentiu.duca at gmail.com
Tue Jun 18 15:16:09 UTC 2019


Hello Xorg community,

  The following happens for a simple GTK based application and also
for a simple "-lXaw -lX11 -lXt" linked (athena) application
which consists in a small button who exits the application when pressed.
I use buildroot and Xorg on raspberry pi
to test the app and it works fine when /etc/X11/xinit/xinitrc
ends with:
/root/athena &
exec xterm -geometry 80x50+494+51
  But when I remove the last line (the one with exec xterm) and call
only "/root/athena" (with or without exec)
when I run startx, the mouse pointer is not visible anymore. The
athena application
appears on the screen but I can not press the button because it is no
mouse on the screen.

  The /var/log/Xorg.0.log after I kill the X server in both cases is:
...
[   749.732] (II) Using input driver 'mouse' for '<default pointer>'
[   749.732] (**) Option "CorePointer" "on"
[   749.732] (**) <default pointer>: always reports core events
[   749.733] (WW) <default pointer>: No Device specified, looking for one...
[   749.800] (II) <default pointer>: Setting Device option to "/dev/input/mice"
[   749.800] (--) <default pointer>: Device: "/dev/input/mice"
[   749.800] (==) <default pointer>: Protocol: "Auto"
[   749.800] (**) <default pointer>: always reports core events
[   749.800] (**) Option "Device" "/dev/input/mice"
[   749.870] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
[   749.870] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
[   749.870] (**) <default pointer>: Buttons: 9
[   749.871] (II) XINPUT: Adding extended input device "<default
pointer>" (type: MOUSE, id 6)
[   749.872] (**) <default pointer>: (accel) keeping acceleration scheme 1
[   749.872] (**) <default pointer>: (accel) acceleration profile 0
[   749.872] (**) <default pointer>: (accel) acceleration factor: 2.000
[   749.872] (**) <default pointer>: (accel) acceleration threshold: 4
[   749.940] (II) <default pointer>: Setting mouse protocol to "ExplorerPS/2"
[   750.233] (II) <default pointer>: ps2EnableDataReporting: succeeded
[   750.234] (II) Using input driver 'kbd' for '<default keyboard>'
[   750.234] (**) Option "CoreKeyboard" "on"
[   750.234] (**) <default keyboard>: always reports core events
[   750.234] (**) <default keyboard>: always reports core events
[   750.235] (**) Option "Protocol" "standard"
[   750.235] (**) Option "XkbRules" "base"
[   750.235] (**) Option "XkbModel" "pc105"
[   750.235] (**) Option "XkbLayout" "us"
[   750.236] (II) XINPUT: Adding extended input device "<default
keyboard>" (type: KEYBOARD, id 7)
[   763.139] (II) UnloadModule: "kbd"
[   763.140] (II) UnloadModule: "mouse"
[   763.173] (II) Server terminated successfully (0). Closing log file.


  Any ideas on how to get mouse on the screen without calling xterm ?

Thank you
L-C Duca


More information about the xorg mailing list