how to add "Files" manually to AppVM

48 views
Skip to first unread message

Taehwan Kim

unread,
Mar 27, 2018, 12:11:26 PM3/27/18
to qubes-users
Hi!
as title says, How can I add manuaaly "Files" to my appvm menu?

I can't find it in APplication list in appvm and templatevm also.
Where can I find it?

and 1 more question.
I tried to attach 1 hdd(storage block) to different vm at the same time) something like this

qvm-block attach work dom0:sdd --persistent


qvm-block attach personal dom0:sdd --persistent

then if hdd is attached one appvm, it won't work in another appvm(not even starting a appvm).

is it normal behavior?

Thanks!

Ivan Mitev

unread,
Mar 27, 2018, 1:39:16 PM3/27/18
to qubes...@googlegroups.com


On 03/27/2018 07:11 PM, Taehwan Kim wrote:
> Hi!
> as title says, How can I add manuaaly "Files" to my appvm menu?
>
> I can't find it in APplication list in appvm and templatevm also.

The "Files" app is provided by the "nautilus" package; it's installed by
default in both the standard and minimal fedora-26 templates (assuming
you use one of these templates) so it's strange that you don't see it in
the VM's "Qubes Settings" / applications tab.

Did you try to click on "refresh the applications" ?


> Where can I find it?
>
> and 1 more question.
> I tried to attach 1 hdd(storage block) to different vm at the same time) something like this
>
> qvm-block attach work dom0:sdd --persistent
>
>
> qvm-block attach personal dom0:sdd --persistent
>
> then if hdd is attached one appvm, it won't work in another appvm(not even starting a appvm).
>
> is it normal behavior?

accessing the same device with a non-cluster aware filesystem from
multiple locations is a receipt for file corruption so I imagine the
qubes dev have implemented a fail-safe. Can't say for sure though.

>
> Thanks!
>

vel...@tutamail.com

unread,
Mar 27, 2018, 7:58:03 PM3/27/18
to qubes-users
In Debian you need to install it:

su
apt-get install nautilus

By no means an expert...but I struggled with this in the Debian template AppVMs.

sevas

unread,
Mar 27, 2018, 11:26:53 PM3/27/18
to qubes-users
> I tried to attach 1 hdd(storage block) to different vm at the same time) something like this
>
> qvm-block attach work dom0:sdd --persistent
>
> qvm-block attach personal dom0:sdd --persistent
>
> then if hdd is attached one appvm, it won't work in another appvm(not even starting a appvm).
>
> is it normal behavior?


Yes that is normal functionality. If you want to add a device with persistence
you must have the Virtual Machines turned off. AND you can only have one VM
running at a time. The Qubes Team did make a reference to this here.

https://www.qubes-os.org/doc/assigning-devices/
"While PCI device can only be used by one powered on VM at a time, it is possible to assign the same device to more than one VM at a time. This means that you can use the device in one VM, shut that VM down, start up a different VM (to which the same device is also assigned), then use the device in that VM. This can be useful if, for example, you have only one USB controller, but you have multiple security domains which all require the use of different USB devices."

As well, if you attach a usb device to multiple VMs, you are drawing an attack
vector line from one to the next. USB devices, are inherently not trusted.

Taehwan Kim

unread,
Mar 27, 2018, 11:34:16 PM3/27/18
to qubes-users
Thank you!
Reply all
Reply to author
Forward
0 new messages