Permission denied Error:
use root to login Cockpit in fedora
First use command to look service's status:
systemctl status cockpit.service -l
vi /etc/security/limits.conf
then do remark :
#root hard nofile 65535 # Need these two lines because the wildcards (above)
#root soft nofile 65535 # are not applied to the root user as well.