無法開啟CentOS 6系統管理面板中任何需要root密碼的工具

無法開啟CentOS 6系統管理面板中任何需要root密碼的工具

當我嘗試打開任何需要 root 密碼的圖形工具時,輸入密碼後它不會啟動。例如,我嘗試過“身份驗證”和“日期和時間”應用程式。當我嘗試透過鍵入從命令列啟動應用程式時system-config-authentication,它顯示:

No protocol specified
Unable to initialize graphical environment. Most likely cause of failure
is that the tool was not run using a graphical environment. Please either
start your graphical user interface or set your DISPLAY variable.

無論我使用 Gnome 還是 KDE,都會發生這種情況。這是在 CentOS 6.5 上。

編輯:我在筆記型電腦中安裝了 CentOS 作為與 Windows 7 的雙重引導 + 我沒有使用 SSH,是的,當我運行命令時,我處於圖形環境中。

相關內容