OK so I was trying to get the Trezor hardware wallet to work on a debian10 template with Whonix. I followed the instructions here: https://wiki.trezor.io/Qubes_OS
and the command
sudo vim /usr/local/etc/qubes-rpc/trezord-service
add this line:
socat - TCP:localhost:21325
However when I try and save that line in Vim, I get:
“/usr/local/etc/qubes-rpc/trezord-service” E212: Can’t open file for writing
Press ENTER or type command to continue
If I exit vim without saving and come back with the same command, I then get the below.
Found a swap file by the name “/var/tmp/trezord-service.swp”
owned by: root dated: Tue Nov 17 13:27:39 2020
file name: /usr/local/etc/qubes-rpc/trezord-service
user name: root host name: sys-usb-dvm
process ID: 5656
While opening file “/usr/local/etc/qubes-rpc/trezord-service”
CANNOT BE FOUND
(1) Another program may be editing the same file. If this is the case,
be careful not to end up with two different instances of the same
file when making changes. Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use “:recover” or “vim -r /usr/local/etc/qubes-rpc/trez
to recover the changes (see “:help recovery”).
If you did this already, delete the swap file “/var/tmp/trezord-service.swp”
to avoid this message.
Swap file “/var/tmp/trezord-service.swp” already exists!
[O]pen Read-Only, (E)dit anyway, ®ecover, (D)elete it, (Q)uit, (A)bort:
I assume I have to stop a service or something? I only want to use on one AppVM…
I had already installed the Trezor Bridge when I got the error. I also installed the Udev rules too (rpm). My Qubes does not have a ‘my sys-usb’ but it does have the domain ‘my sys-usb-dvm’ - would those be the same? What am I missing?