diff --git a/qubes-rpc-policy/qubes.LockScreen.policy b/qubes-rpc-policy/qubes.LockScreen.policy new file mode 100644 index 000000000..15c5e4b3a --- /dev/null +++ b/qubes-rpc-policy/qubes.LockScreen.policy @@ -0,0 +1,11 @@ +## Note that policy parsing stops at the first match, +## so adding anything below "$anyvm $anyvm action" line will have no effect + +## Please use a single # to start your custom comments + +# WARNING: The qubes.ConnectTCP service is dangerous and allows any +# qube to access any other qube TCP port. It should be restricted +# only to restricted qubes. This is why the default policy is 'deny' + +# Example of policy: mytcp-client @default allow,target=mytcp-server +sys-usb dom0 allow diff --git a/qubes-rpc/qubes.LockScreen b/qubes-rpc/qubes.LockScreen new file mode 100755 index 000000000..fe602b3a7 --- /dev/null +++ b/qubes-rpc/qubes.LockScreen @@ -0,0 +1,2 @@ +#!/bin/bash +DISPLAY=:0 xscreensaver-command -lock