我已按照此处的说明进行安装并指定gnome-keyring
使用:git
https://stackoverflow.com/questions/13385690/how-to-use-git-with-gnome-keyring-integration。具体来说,我已经安装libgnome-keyring-dev
并执行sudo make
了/usr/share/doc/git/contrib/credential/gnome-keyring
。
但是,当我尝试推送到我的 repo 时出现以下错误:
~ (master) $ git push origin master
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** (process:6877): CRITICAL **: Error communicating with gnome-keyring-daemon
Username for 'https://github.com':
值得注意的是,在带有 KDE 的 Linux Mint 18.1 上一切运行正常,但现在无法在 Kubuntu 16.04 上运行。
答案1
解决方案是手动安装该gnome-keyring
包。
sudo apt install gnome-keyring