Re: [qubes-users] How to use qvm-open-in-vm?

2021-06-09 Thread Andrew David Wong

On 6/9/21 1:41 PM, Ulrich Windl wrote:

On 5/31/21 5:12 AM, Sven Semmler wrote:

On 5/30/21 12:37 AM, Adam Mercer wrote:

this opens a dialog asking me to select a target domain


check your /etc/qubes-rpc/policy/qubes.OpenURL

If you want your example to work add this line before all others:

$anyvm browser allow


Curious:
Does the line
$anyvm  $dispvm allow
mean it'll be allowed for any disposable VM?



No, it means that any VM is allowed to cause a new DisposableVM to be 
created in which that type of thing (i.e., file or URL, depending on the 
policy file containing this line) will then be opened.




The first is the source qube ... the one calling qvm-open-in-vm.
The second is the target 'browser' in your example. The third is 
either 'deny', 'ask' or 'allow'




--
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/8d6d1884-de95-7f21-b046-cb529474d072%40qubes-os.org.


OpenPGP_signature
Description: OpenPGP digital signature


Re: [qubes-users] How to use qvm-open-in-vm?

2021-06-09 Thread Ulrich Windl

On 5/31/21 5:12 AM, Sven Semmler wrote:

On 5/30/21 12:37 AM, Adam Mercer wrote:

this opens a dialog asking me to select a target domain


check your /etc/qubes-rpc/policy/qubes.OpenURL

If you want your example to work add this line before all others:

$anyvm browser allow


Curious:
Does the line
$anyvm  $dispvm allow
mean it'll be allowed for any disposable VM?



The first is the source qube ... the one calling qvm-open-in-vm.
The second is the target 'browser' in your example. The third is either 
'deny', 'ask' or 'allow'


/Sven



--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/12e9c980-f627-a497-8c74-6665003aaf35%40rz.uni-regensburg.de.


Re: [qubes-users] How to use qvm-open-in-vm?

2021-05-30 Thread Adam Mercer
On Sun, May 30, 2021 at 8:13 PM Sven Semmler  wrote:

> check your /etc/qubes-rpc/policy/qubes.OpenURL
>
> If you want your example to work add this line before all others:
>
> $anyvm browser allow
>
> The first is the source qube ... the one calling qvm-open-in-vm.
> The second is the target 'browser' in your example. The third is either
> 'deny', 'ask' or 'allow'

Thanks a lot! That does exactly what I'm after!

Cheers

Adam

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CA%2Bmfgz03hU%3D7ngm5Wd1pQ4LYpEnd0Ep2yPcYhkTRypW6Z5pN7w%40mail.gmail.com.


Re: [qubes-users] How to use qvm-open-in-vm?

2021-05-30 Thread Sven Semmler

On 5/30/21 12:37 AM, Adam Mercer wrote:

this opens a dialog asking me to select a target domain


check your /etc/qubes-rpc/policy/qubes.OpenURL

If you want your example to work add this line before all others:

$anyvm browser allow

The first is the source qube ... the one calling qvm-open-in-vm.
The second is the target 'browser' in your example. The third is either 
'deny', 'ask' or 'allow'


/Sven

--
 public key: https://www.svensemmler.org/2A632C537D744BC7.asc
fingerprint: DA59 75C9 ABC4 0C83 3B2F 620B 2A63 2C53 7D74 4BC7

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/ccb5196c-585f-7337-aca3-aba6deee2fc4%40SvenSemmler.org.


OpenPGP_signature
Description: OpenPGP digital signature


[qubes-users] How to use qvm-open-in-vm?

2021-05-29 Thread Adam Mercer
Hi

I'm trying to use qvm-open-in-vm to open a link in the browser of
another AppVM, I run the following:

$ qvm-open-in-vm browser https://www.google.com

where "browser" is the name of the qube AppVM that I want to open the
link in, this opens a dialog asking me to select a target domain. It
is ignoring the name of the AppVM I specify on the command line.
According to the help message for qvm-open-in-vm I should be able to
specify the name of the AppVM, but it seems that it's being ignored.

What am I doing wrong?

Cheers

Adam

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CA%2Bmfgz2KUWq0ECfG%3D8m8mBWcCFv1-r1XB0d6ZS88gdk1bfunHA%40mail.gmail.com.