Re: [qubes-users] Can someone pls help me troubleshoot why qvm-run --pass-io doesn't work with win7-template

2020-06-12 Thread xyzo
On Friday, June 12, 2020 at 7:38:42 PM UTC-4, unman wrote:
> On Fri, Jun 12, 2020 at 03:57:35PM -0700, xyzo wrote:
> > qubes version 4.0.
> > I need to copy files from win7-template to a Linux appvm. I was suggested 
> > to use (qvm-run --pass-io win7-template "type C:\n.pdf" > ./n.pdf)
> > To copy files from win7-template to dom0 then move it from dom0 to any 
> > destination appvm. Invoking this command in dom0 terminal, the curosr just 
> > hangs and nothing happens and I exit by ^C in terminal. Running it with 
> > --verbose parameter shows "Running win7-template C:\n.pdf" and it hangs. 
> > It's like it's not seeing that win7-template is already running.
> > 
> > I discovered that the command only works when win7-template is powered off. 
> > Then invoking above command will power on win7-template and successfully 
> > execute.
> > 
> > PS: I can copy files from any Linux appvm to the win7-template 
> > QubesIncoming folder by right-clicking the file I want to copy to 
> > win7-template and selecting "copy to another Vm" this works fine to copy 
> > any file from Linux appvm over to win7-template. But not the other way 
> > around.
> > 
> > So I'm not sure why the qvm-run --pass-io hangs when win7-template is 
> > already running. Any help is appreciated. Thanks
> > 
> 
> Why are you doing this?
> In Windows, right click on the file, Select "Send to", and there are the
> options to copy or move to another qube.
> 
> As to your "problem", on my windows templates with QWT installed, I do
> not see the behaviour you report. Simply, it does not hang, but it does
> not provide the output that you want.

Man thank you so much.. I was totally not aware of the send-to option. Somehow 
I missed that info in the windows doc. The Send-to option worked perfectly.. 
for a long time I thought there was no way we can copy files through the 
windows gui. But now I know thanks.

Out of curiosity what was the command you entered in dom0 and what was its 
output? 

It would be nice to learn if there's a way we could copy files from windows via 
terminal without having to interact directly with Windows gui.

-- 
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/c2e8b118-3161-4a5b-a924-9d1cdba6a18ao%40googlegroups.com.


Re: [qubes-users] Can someone pls help me troubleshoot why qvm-run --pass-io doesn't work with win7-template

2020-06-12 Thread unman
On Fri, Jun 12, 2020 at 03:57:35PM -0700, xyzo wrote:
> qubes version 4.0.
> I need to copy files from win7-template to a Linux appvm. I was suggested to 
> use (qvm-run --pass-io win7-template "type C:\n.pdf" > ./n.pdf)
> To copy files from win7-template to dom0 then move it from dom0 to any 
> destination appvm. Invoking this command in dom0 terminal, the curosr just 
> hangs and nothing happens and I exit by ^C in terminal. Running it with 
> --verbose parameter shows "Running win7-template C:\n.pdf" and it hangs. It's 
> like it's not seeing that win7-template is already running.
> 
> I discovered that the command only works when win7-template is powered off. 
> Then invoking above command will power on win7-template and successfully 
> execute.
> 
> PS: I can copy files from any Linux appvm to the win7-template QubesIncoming 
> folder by right-clicking the file I want to copy to win7-template and 
> selecting "copy to another Vm" this works fine to copy any file from Linux 
> appvm over to win7-template. But not the other way around.
> 
> So I'm not sure why the qvm-run --pass-io hangs when win7-template is already 
> running. Any help is appreciated. Thanks
> 

Why are you doing this?
In Windows, right click on the file, Select "Send to", and there are the
options to copy or move to another qube.

As to your "problem", on my windows templates with QWT installed, I do
not see the behaviour you report. Simply, it does not hang, but it does
not provide the output that you want.

-- 
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/20200612233835.GA8841%40thirdeyesecurity.org.


[qubes-users] Can someone pls help me troubleshoot why qvm-run --pass-io doesn't work with win7-template

2020-06-12 Thread xyzo
qubes version 4.0.
I need to copy files from win7-template to a Linux appvm. I was suggested to 
use (qvm-run --pass-io win7-template "type C:\n.pdf" > ./n.pdf)
To copy files from win7-template to dom0 then move it from dom0 to any 
destination appvm. Invoking this command in dom0 terminal, the curosr just 
hangs and nothing happens and I exit by ^C in terminal. Running it with 
--verbose parameter shows "Running win7-template C:\n.pdf" and it hangs. It's 
like it's not seeing that win7-template is already running.

I discovered that the command only works when win7-template is powered off. 
Then invoking above command will power on win7-template and successfully 
execute.

PS: I can copy files from any Linux appvm to the win7-template QubesIncoming 
folder by right-clicking the file I want to copy to win7-template and selecting 
"copy to another Vm" this works fine to copy any file from Linux appvm over to 
win7-template. But not the other way around.

So I'm not sure why the qvm-run --pass-io hangs when win7-template is already 
running. Any help is appreciated. Thanks

-- 
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/18e41e96-3a97-4850-9939-bdbd8b510dc8o%40googlegroups.com.