Hello,
Getting error message:
“cannot connect to qrexec agent for 60 seconds, see /var/log/xen/console/VMNAME.log” when attempting
to start up a TemplateVM
checked the log file but nothing jumps out as being the cause for the crash. Have increased the memory
for the qube so that doesn’t seem to be the problem.
1 Like
Maybe other logs from the VM show something?
There is an error message in /var/log/qubes/qrexec.VMNAME.log
cannot connect to qrexec agent: No such File or Directory
I’m not sure what causes this, but I used to have it happen a lot when I was running a setup with super slow disk read/write speeds.
I didn’t notice anything specific pertaining to rw in the logs; the only boot flag that jumped out at me was
nomodset, which affects the GPU drivers.
Same issue here. I have one snap installed. The Debian Qubes that do not have a Snap do not have this problem.
In this post the proposed solution to change the Kernel is not an option on Qubes 4.1 because the other kernels are not available: Domain failed to start: Cannot connect to qrexec agent - #4 by pr0xy
I there are other community posts about the same error:
This is happening to me on both the Template and AppVMs based on the template, based on Debian 10 (full, not minimal).
I get the error:
Domain VMNAME has failed to start: Cannot connect to qrexec agent for 60 seconds, see /var/log/xen/console/guest-VMNAME. log for details.
The tail end of the log shows:
[.[0;32m OK .[0m] Started .[0;1;39mAdjust root filesystem size.[0m.
[ 3.722875] xen_netfront: Initialising Xen virtual ethernet driver
[.[0;32m OK .[0m] Found device .[0;1;39m/dev/xv…
Not sure if it is relevant either but I figured I would include it as I didn’t have many other things to go off of that I did wrong in my eyes but I thought that could have been one of them. considering downsizing the vms storage before I realized there are risks associated with that, risks I am not willing to take…
It never maxed out entirely but around 1% was left at one point, and I determined this because in the top right a triangular yellow exclamation icon appeared telling me the percen…
So I was trying to make a blackarchlinux and Kali templates (because my job is a pen tester). I don't know why but after installing tools on blackarchlinux and Kali I cant start the template. When I boot it up I get can not connect to qrexec agent for 60 sec, see /var/log/xen/console/guest/guest-blackarch.log" From what I can gather it does not recognize the xenfs format because it says "failed to mount /proc/xen" when I run "sudo xl console -r blackarchlinux" in dom0. it does say more although …
From time to time I’m getting this notorious error while trying to start win 7 qubes. Last time it happened it was after I had to kill the qube due to it’s unresponsiveness.
I couldn’t find an answer (mostly suggestions are to increase working memory, but useless).
After some time after I had to stop using QubesOS because I couldn’t get my soundcard working, I bought a new one and wanted to install Qubes again. In my last time of using Qubes I never had any problems at all. The used hardware is not different, it’s just 1 usb soundcard more plugged in.
After cloning the fedora-32 template and trying to update it to fedora-35 and quitting it, I cannot start it once more. Neither the template or any domain connected to the template. The problem doesn’t chang…
And many more without a solution.
I could fix it eventually by increasing the memory to 400 and 4000.
I wonder through how can it be, that without making any changes to a Qube it runs fine for a while with 200 and 2000 as the memory setting and then suddenly it is no longer enough and it requires more?
2 Likes
netrom
September 7, 2023, 8:23am
7
I just experienced the same issue with my sys-firewall
qube. Yesterday, I upped the mem/max mem to 800/8000 MB of its template, fedora-38-dvm
, which then affected sys-firewall
as well. After changing it back to 400/4000 MB, everything worked again!