Active Scroll Lock key suspends shutdown
This document (7006323) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server
SUSE Linux Enterprise Desktop
A shutdown or reboot command issued from a remote login does not get performed completely. The keyboard attached to the machine has Scroll Lock set. When turning off Scroll Lock, the shutdown process proceeds.
It is recommended to not permanently attach a keyboard to a remotely administrated machine, pressing certain keys or key combinations may have the mentioned or other unwanted results.
Hitting the Scroll Lock key stops the output on the text or frame buffer console of a Linux system. The console is only capable to buffer further output up to a certain amount of characters and will stop the writing process afterwards to avoid loss of information. This is intended behavior, however may lead to the unwanted side effect that it affects the shutdown script as well. If a keyboard has to be connected to the machine all the time, the following workaround to disable the Scroll Lock key may help.
As user "root
- Create a file /usr/share/kbd/keymaps/include/compose.disablescrollock with the content
plain keycode 70 = VoidSymbol
- Add 'disablescrollock' to COMPOSETABLE in /etc/sysconfig/keyboard, for example:
COMPOSETABLE="clear latin1.add disablescrollock"
- Run "rckbd restart" to activate the change without rebooting the machine
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7006323
- Creation Date:
- Modified Date:05-Mar-2021
- SUSE Linux Enterprise Desktop
- SUSE Linux Enterprise Server
< Back to Support Search
For questions or concerns with the SUSE Knowledgebase please contact: firstname.lastname@example.org