等保
关闭 X11 6000 端口
sudo systemctl status display-manager.service
sudo systemctl stop display-manager.service
sudo systemctl disable display-manager.service
后续发现重启服务器后,还是被启用了。使用 iptables 屏蔽入站请求:
sudo iptables -A INPUT -p tcp --dport 6000 -j REJECT
polkit(未完成)
Authorization not available. Check if polkit service is running or see debug message for more information.
# 查看
sudo systemctl status polkit
systemctl is-enabled polkit
# 设置超时时间
vim /usr/lib/systemd/system/polkit.service
# 添加 TimeoutStartSec=120s
sudo systemctl daemon-reload # 重新加载配置
sudo systemctl start polkit # 测试无效
journalctl -u polkit # 查看报错,返回空实体