Edit file /etc/alternatives/x-session-manager
add a hash (ie. comment) as shown at the beginning of the following line 51:
# (sleep 3; /usr/bin/keyboardstatus) &
To edit the file: