システム構成を変更できません。

システム構成を変更できません。

vncをインストールしてpolkitを追加した後にユーザーを追加できないのはなぜですか? polkitを削除すると、コンソールからユーザーを追加できますが、rdpは機能しません。助けてください。

キャプチャした内容は次のとおりです。

ここに画像の説明を入力してください。

Windowsでは、Ubuntu 18.04、Mate Desktop、vnc Server RDPを使用しています。

これは私のポルケットです。

polkit.addRule(function(action, subject) {
if ((action.id == “org.freedesktop.color-manager.create-device” || action.id == 
“org.freedesktop.color-manager.create-profile” || action.id == “org.freedesktop.
color-manager.delete-device” || action.id == “org.freedesktop.color-manager.dele
te-profile” || action.id == “org.freedesktop.color-manager.modify-device” || act
ion.id == “org.freedesktop.color-manager.modify-profile”) && subject.isInGroup(“
sudo”))
{
return polkit.Result.YES;
}
});

ありがとう


@roaima とはどういう意味ですか?あなたの答えに感謝します

polkit.addRule(function(action, subject) { if ((action.id == "org.freedesktop.color-manager.create-device" || action.id == "org.freedesktop.color-manager.create-profile" || action.id == "org.freedesktop.color-manager.delete-device" || action.id == "org.freedesktop.color-manager.delete-profile" || action.id == "org.freedesktop.color-manager.modify-device" || action.id == "org.freedesktop.color-manager.modify-profile") && subject.isInGroup("{sudo}")) { return polkit.Result.YES; } });

ベストアンサー1

おすすめ記事