Created
March 21, 2020 11:29
-
-
Save secure-77/1bcfa23c3b12f9b44aac82f1f6f2c543 to your computer and use it in GitHub Desktop.
Kalilinux xrdp polkit fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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("vglusers")) { | |
return polkit.Result.YES; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment