Qubes Error
qrexec-daemon startup failed: 2022-11-22
qrexec-daemon[66851]: qrexec-daemon.c
135:sigchld_parent_handler: Connectionto the VM failed
The disk space of the VM is too large or too small? How to reduce/increase this? the GUI will not allow this can it be doen using qvm?
$ qvm-volume extend ${target_vm}:private ${new_size}G
Did you modify or try to install a new kernel in the vm?
Can you check the logs at:
$ less /var/log/qubes/$target_vm.log
qvm-volume extend ${vm-whonix-ws-16}:private ${10}G
This returns:
Traceback (most recent call last):
File “/usr/bin/qvm-volume”, line 5, in
sys.exit(main())
File “/usr/lib/python3.8/site-packages/qubesadmin/tools/qvm_volume.py”, line 364, in main
args.func(args)
File “/usr/lib/python3.8/site-packages/qubesadmin/tools/qvm_volume.py”, line 236, in extend_volumes
size = qubesadmin.utils.parse_size(args.size)
File “/usr/lib/python3.8/site-packages/qubesadmin/utils.py”, line 52, in parse_size
return int(size) * multiplier
ValueError: invalid literal for int() with base 10: ‘’
Because you used variables named vm-whonix-ws-16
and 10
.
You can do either one of the following:
$ qvm-volume extend vm-whonix-ws-16:private 10G
OR
$ target_vm="vm-whonix-ws-16"; new_size=10
$ qvm-volume extend ${target_vm}:private ${new_size}G
However, note that the standard template is called whonix-ws-16
without the vm
prefix. Make sure you’re increasing the right vm’s volume.
For your own safety, shrinking of private is disabled (10000000000 < 26843545600). If you really know what you are doing, resize filesystem manually first, then use -f
option.
This means that your vm’s private storage is already 26G. If you think it’ll help, try increasing it. Same command, larger number.
I don’t really understand why this VM won’t boot, is it too much space or too little?
Check the logs. I provided the command in a previous reply.
I have attempted the command
less /var/log/qubes/$target_vm.log
but it returns “no such file or directory”
and when I check the directory /var/log/qubes/
there is no vm-whonix-ws-16, but curiously, there is a vm-whonix-ws-15
the same goes for “whonix-ws-15” or “whonix-ws-16”
Trying to reinstall the template instead, only an error message is also returned:
qvm-template: error: Template ‘whonix-ws-16’ is not managed by qvm-template