我正在使用CentOS7运行服务器。我已经安装了git,libsecret和libsecret-dev。指向git使用libsecret credential.helper,但出现此错误:
CRITICAL **: could not connect to Secret Service: Cannot autolaunch D-Bus without X11 $DISPLAY
我没有找到任何有关此的有用文档。我没有安装D-Bus,甚至没有运行X11,因为这是服务器,并且完全通过ssh进行管理。
此后,我安装了dbus,但仍然无法正常工作。需要X11吗?这似乎很愚蠢,因为git不需要它,所以为什么要为此做一个凭据助手。
注意:我不能从https更改为ssh并使用密钥。