Table of Contents
< All Topics
Print

[aCloud] Ubuntu system virtual machine console keyboard layout is chaotic.

Problem Description

There is a virtual machine running on the platform with an Ubuntu system. When operating the console, the keyboard layout is chaotic, and many keys are not accurate or cannot be typed, such as the double quotation mark key becoming the letter "I", etc.

Effective Troubleshooting Steps

  1. After roughly knowing the keyboard layout, enter the command "dpkg-reconfigure keyboard-configuration" in the command line (with root privileges).
  2. A pseudo-graphical interface will pop up, select the option for 105-key PC. After entering, select the US English keyboard layout, and leave the rest as default without any adjustments needed.
  3. After saving the configuration, the keyboard operation is back to normal.

Root Cause

  1. The keyboard layout configuration is abnormal, find a way to reconfigure it and it will be OK.

Original Link

https://support.sangfor.com.cn/cases/list?product_id=33&type=1&category_id=17534&isOpen=true