Thursday, November 3, 2016

Thursday, August 11, 2016

Locked out of Raspberry Pi after changing locale or keyboard layout

Locked out of Raspberry Pi? It all settles down to the keyboard layout.
Most common probable is the locale change. After doing a first boot either through ssh or using an hdmi display and keyboard, most people start with setting up or configuring their raspberry pi.
When using raspi-config most people end up changing password first because in raspi-config tool password change is the top most option. A bad move since it would most likely end up with you being locked out after a locale change.
The default Raspbian images come with en_GB (Great Britain) locale pre-installed. First thing you need to do is change locale and keyboard layout. Install whatever language or locale you want and if you want International US keyboard layout QWERTY or DVORAK, install it first.
When you change the keyboard layout after the password change the characters you might have used in password sequence don't exist anymore after a keyboard layout change. Thus one end up entering wrong password each time.

So first things first change locale >> then change the keyboard layout. Most people outside Europe use International US. Whatever layout you use install it first.

Thursday, March 3, 2016