python -c 'import keyring; keyring.core.load_config()' : Normal user: Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/site-packages/keyring/__init__.py", line 12, in <module> from .core import (set_keyring, get_keyring, set_password, get_password, File "/usr/lib/python2.7/site-packages/keyring/core.py", line 158, in <module> init_backend() File "/usr/lib/python2.7/site-packages/keyring/core.py", line 58, in init_backend set_keyring(load_config() or _get_best_keyring()) File "/usr/lib/python2.7/site-packages/keyring/core.py", line 113, in load_config return load_keyring(keyring_name) File "/usr/lib/python2.7/site-packages/keyring/core.py", line 81, in load_keyring class_ = getattr(module, class_name) AttributeError: 'module' object has no attribute 'DBusKeyring' But with root user it returns nothing and $? is zero.