我使用的是ubuntu 20.04.1,并安装了驾驶舱从官方的支持。驾驶舱登录页面加载(即使我输入了错误的凭证,它显示错误的用户名或密码),但是当我输入正确的用户名和密码时,登录页面会重新加载自己。
下面是syslog
cockpit-ws[3405]: cockpit-ws: Failed to open certificate file /run/cockpit/tls/e3b0c44298fc1c149afbf4c8996bb92427ae41e4749b934ca495991b7852b855: No such file or directory
cockpit-session[3423]: **pam_ssh_add: Failed adding some keys**
cockpit-session[3423]: pam_unix(cockpit:session): session opened for user john by (uid=0)
systemd-logind[911]: New session 5 of user john.
systemd[1]: Started Session 5 of user john.
polkitd(authority=local)[900]: Registered Authentication Agent for unix-session:5 (system bus name :1.38 [cockpit-bridge], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
cockpit-ws[3405]: User john logged into session 5
cockpit-ws[3405]: cockpit-ws: Failed to open certificate file /run/cockpit/tls/e3b0c44298fc1c149afbf4c8996bb92427ae41e4749b934ca495991b7852b855: No such file or directory网络浏览器控制台显示,
(index):265 GET http://as400i.com:9090/cockpit/login **401 (Authentication failed)**发布于 2020-12-19 20:58:39
我也有同样的问题(即使是无效的psw ),使用Ubuntu18.04.5LTS。
起初,我认为这可能是因为我在使用http (还没有使用https)。为此,我创建了/etc/cockpit/cockpit.conf文件,其内容如下:
[WebService]
AllowUnencrypted = true但这还没有解决我的问题。我还必须执行以下命令:
sudo systemctl start cockpit.socket
sudo systemctl enable cockpit.socket在我发出这些命令之后,我就可以登录了。
https://askubuntu.com/questions/1283332
复制相似问题