PROBLEM
When I try to login to cockpit
on CentOS 7 using URL https://localhost:9090
using the root
credentials, I get Authentication failed: Timeout error. Have searched the web for solution but not able to troubleshoot the problem.
STEPS USED TO INSTALL COCKPIT
# yum install cockpit cockpit-dashboard
# systemctl enable --now cockpit.socket
# firewall-cmd --permanent --zone=public --add-service=cockpit
# firewall-cmd --reload
OUTPUTS
firewall-cmd --list-all
target: default
icmp-block-inversion: no
interfaces: em1
sources:
services: cockpit dhcpv6-client nfs rpc-bind ssh
ports: 5901/tcp 944/tcp 944/udp 945/tcp 945/udp 946/udp 9090/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
/var/log/message output
Mar 1 23:22:20 srv01 systemd: Starting Cockpit Web Service...
Mar 1 23:22:20 srv01 systemd: Started Cockpit Web Service.
Mar 1 23:22:20 srv01 cockpit-ws: Using certificate: /etc/cockpit/ws-certs.d/0-self-signed.cert
Mar 1 23:22:40 srv01 cockpit-session: pam_ssh_add: Identity added: /root/.ssh/id_rsa (/root/.ssh/id_rsa)
Mar 1 23:22:40 srv01 systemd: Created slice User Slice of root.
Mar 1 23:22:40 srv01 systemd-logind: New session 6 of user root.
Mar 1 23:22:40 srv01 systemd: Started Session 6 of user root.
Mar 1 23:22:41 srv01 journal: clutter_actor_set_size: assertion 'CLUTTER_IS_ACTOR (self)' failed
Mar 1 23:22:41 srv01 journal: clutter_actor_show: assertion 'CLUTTER_IS_ACTOR (self)' failed
Mar 1 23:23:10 srv01 cockpit-ws: cockpit-session: session timed out during authentication
Mar 1 23:23:10 srv01 org.gtk.vfs.Daemon: A connection to the bus can't be made
Mar 1 23:23:10 srv01 cockpit-ws: cockpit-session: authentication timed out
Mar 1 23:23:10 srv01 systemd-logind: Removed session 6.
Mar 1 23:23:10 srv01 systemd: Removed slice User Slice of root.
Mar 1 23:23:11 srv01 journal: clutter_actor_set_size: assertion 'CLUTTER_IS_ACTOR (self)' failed
Mar 1 23:23:11 srv01 journal: clutter_actor_show: assertion 'CLUTTER_IS_ACTOR (self)' failed
journalctl -f output
Mar 01 23:22:20 srv01.vlsi.silicon.ac.in systemd[1]: Starting Cockpit Web Service...
Mar 01 23:22:20 srv01.vlsi.silicon.ac.in systemd[1]: Started Cockpit Web Service.
Mar 01 23:22:20 srv01.vlsi.silicon.ac.in cockpit-ws[6374]: Using certificate: /etc/cockpit/ws-certs.d/0-self-signed.cert
Mar 01 23:22:21 srv01.vlsi.silicon.ac.in rtkit-daemon[1123]: Supervising 1 threads of 1 processes of 1 users.
Mar 01 23:22:21 srv01.vlsi.silicon.ac.in rtkit-daemon[1123]: Supervising 1 threads of 1 processes of 1 users.
Mar 01 23:22:40 srv01.vlsi.silicon.ac.in cockpit-session[6430]: pam_ssh_add: Identity added: /root/.ssh/id_rsa (/root/.ssh/id_rsa)
Mar 01 23:22:40 srv01.vlsi.silicon.ac.in systemd[1]: Created slice User Slice of root.
Mar 01 23:22:40 srv01.vlsi.silicon.ac.in systemd-logind[1129]: New session 6 of user root.
Mar 01 23:22:40 srv01.vlsi.silicon.ac.in systemd[1]: Started Session 6 of user root.
Mar 01 23:22:40 srv01.vlsi.silicon.ac.in cockpit-session[6430]: pam_unix(cockpit:session): session opened for user root by (uid=0)
Mar 01 23:22:41 srv01.vlsi.silicon.ac.in gnome-shell[2736]: clutter_actor_set_size: assertion 'CLUTTER_IS_ACTOR (self)' failed
Mar 01 23:22:41 srv01.vlsi.silicon.ac.in gnome-shell[2736]: clutter_actor_show: assertion 'CLUTTER_IS_ACTOR (self)' failed
Mar 01 23:23:10 srv01.vlsi.silicon.ac.in cockpit-ws[6374]: cockpit-session: session timed out during authentication
Mar 01 23:23:10 srv01.vlsi.silicon.ac.in org.gtk.vfs.Daemon[6465]: A connection to the bus can't be made
Mar 01 23:23:10 srv01.vlsi.silicon.ac.in cockpit-session[6430]: pam_unix(cockpit:session): session closed for user root
Mar 01 23:23:10 srv01.vlsi.silicon.ac.in cockpit-ws[6374]: cockpit-session: authentication timed out
Mar 01 23:23:10 srv01.vlsi.silicon.ac.in systemd-logind[1129]: Removed session 6.
Mar 01 23:23:10 srv01.vlsi.silicon.ac.in systemd[1]: Removed slice User Slice of root.
Mar 01 23:23:11 srv01.vlsi.silicon.ac.in gnome-shell[2736]: clutter_actor_set_size: assertion 'CLUTTER_IS_ACTOR (self)' failed
Cockpit Login using Firefox
Cockpit login failed