Hi all,

I struggle to get something that's working in Q3.2 also in Qubes4:

- I need to display message from AppVm on the screen (via notify-send in dom0) 
and do it via qubes-rpc executed in AppVm "storage". rpc procedure is named 
'storage.log'
- allow policy in dom0:
  > cat /etc/qubes-rpc/policy/storage.log:
  > storage dom0 allow
  > $anyvm $anyvm deny
- procedure:
  > cat /etc/qubes-rpc/storage.log
  > #!/usr/bin/bash
  > 
  > read message
  > /usr/bin/notify-send "$message"

RPC is called this way in appvm 'storage':
  > echo 'message from vm'|qrexec-client-vm dom0 storage.log

What happens:
- In Q3.2 this works since years
- In Q4 action is executed, but nothing is displayed on screen. Action is 
actually executed-in journalctl I see 'storage.log' is allowed, and if I add 
'echo $message|systemd-cat' that message is logged also.


- If its run in dom0, message is displayed on the screen:
  > echo 'dom0 message'|/etc/qubes-rpc/storage.log


It seems like /usr/bin/notify-send does nothing when invoked via RPC.

Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/a3bfbe56-9408-4253-be6f-87bb0e244345%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to