Could not set X locale modifiers
A lightweight and easy-to-use password manager
Brought to you by:
dreichl
I ran a fresh installation of keepass 2.38 (installed via Ubuntu repositories) on a fresh installation of Ubuntu 18.04.3. It crashed when I tried to open a database. I'm not sure why, and I doubt we'll be able to figure that out. However, when I tried to run keepass again, I get this on the terminal output:
$> keepass2
Could not set X locale modifiers
Keepass did not open.
The issue was resolved by running this:
$> rm -Rf ~/.config/.mono
Apparently, this message is generated when the call to Xlib's XSetLocaleModifiers fails.
This is clearly a bug in Mono which is affecting KeePass users.
$> keepass2 --version
KeePass 2.38
Copyright © 2003-2018 Dominik Reichl
$> lsb_release -d
Description: Ubuntu 18.04.3 LTS
$> mono --version
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1ubuntu1)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
Associated Mono bug is at https://github.com/mono/mono/issues/18238