SUSE Support

Here When You Need Us

Active Scroll Lock key suspends shutdown

This document (7006323) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server
SUSE Linux Enterprise Desktop
 

Situation

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.

Resolution

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.

Additional Information

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" run:
  1. Create a file /usr/share/kbd/keymaps/include/compose.disablescrollock with the content
      plain keycode 70 = VoidSymbol
  2. Add 'disablescrollock' to COMPOSETABLE in /etc/sysconfig/keyboard, for example:
      COMPOSETABLE="clear latin1.add disablescrollock"
  3. Run "rckbd restart" to activate the change without rebooting the machine

Disclaimer

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: 22-Jun-2010
  • 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: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.