【Linux】使用systemctl命令报错

_

问题

Authorization not available. Check if polkit service is running or see debug message for more information.
Failed to execute operation: Connection timed out

解决方法

polkit(是linux系统中的一个身份认证管理工具 (Authorization Manager ) 没有运行,可能会导致其他一些服务也不能正常启动。

启动polkit

/usr/lib/polkit-1/polkitd --no-debug &   启动

ps aux |grep polkit          查看进程

【Windows】”引用的账户当前已锁定,且可能无法登录“解决方法 2025-07-24
【Linux】NTP时间服务器Chrony配置详解 2025-02-19

评论区