qvm-open-in-vm: unable to open file twice in a row

30 views
Skip to first unread message

Sven Eriksson

unread,
Mar 24, 2017, 9:22:22 AM3/24/17
to qubes...@googlegroups.com
Hi,

Using 'qvm-open-in-vm' to open a pdf-file in another appvm fails for me
in the following way:

First time it opens correctly, spawning evince and opening the pdf in
the other vm. However, when closing the evince window, I get a message:
"Failed to remove file at exit".

Next time around, the file will not open. When trying, I get the
message: "qopen-in-vm: Fatal error: send file to dispVM (error type:
Broken pipe)" in a message window.

When renaming the pdf-file with a new name it works to open the file
once again. But then also with the new name it cannot be opened twice in
a row.

It turns out that the filed is stored in the /tmp directory of the
target vm and that the "Failed to remove file at exit" message above
concerns the inability to remove the file from the tmp directory.

If I remove the file manually from the tmp directory, I can once again
open it from the other vm.

What is the reason for this behaviour? How can I make the system
automatically remove the file from the tmp directory upon closing evince?

Unman

unread,
Mar 24, 2017, 11:54:16 AM3/24/17
to Sven Eriksson, qubes...@googlegroups.com
It's a bug - well spotted. It does not affect qvm-open-in-dispvm of course,
which is why, I suspect, it hasnt been noted before.
Reply all
Reply to author
Forward
0 new messages