"Cannot connect to qrexec agent for 60 .." - how to change this timeout?

432 views
Skip to first unread message

Oleg Artemiev

unread,
Dec 19, 2021, 9:38:16 PM12/19/21
to Qubes Users
Re all.

I've slow disk on my qubes PC. Sometimes when I start VMs it tells
that it can't connect to qrexec & fails to start automatically - I've
to start again manually & then on the second time the disk reads
faster due to cache & it succeeds. Where can I change the timeout to
90 seconds or even more?

--
Bye.Olli.
gpg --search-keys B6AF9DDC28D8DF4F, use key w/ fingerprint below:
Key fingerprint = 5847 1D08 5671 702C 147E 9A47 B6AF 9DDC 28D8 DF4F
Blog keys (the blog is mostly in Russian): http://grey-olli.livejournal.com/tag/

Rusty Bird

unread,
Dec 21, 2021, 9:11:31 AM12/21/21
to Oleg Artemiev, Qubes Users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Oleg Artemiev:
> I've slow disk on my qubes PC. Sometimes when I start VMs it tells
> that it can't connect to qrexec & fails to start automatically - I've
> to start again manually & then on the second time the disk reads
> faster due to cache & it succeeds. Where can I change the timeout to
> 90 seconds or even more?

$ qubes-prefs default_qrexec_timeout

You might want to increase default_shutdown_timeout as well, to
prevent your VMs from getting killed when they're slow to shut down.

Rusty
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEhLWbz8YrEp/hsG0ERp149HqvKt8FAmHB3ldfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDg0
QjU5QkNGQzYyQjEyOUZFMUIwNkQwNDQ2OUQ3OEY0N0FBRjJBREYACgkQRp149Hqv
Kt+ddw/6AvzHrf+hPbQHeW7LCzMSSGHmzKAHCpP95tSF9T0apEzRhQHucUvRoP4T
M0MpioMQ+doPgziR9WKDc487krCTlKZj0HPAM87xWMC3J7ofDaguag2DYNMwQUga
RIHUcmSJgwh9UomQ54w2vKqnmMziXgCOtfqhk6xfMr23OeMWP51CDgaLcEmH6lNv
C+WUBXaNNpLBrKHcvCF8M168xJcNhQOM6kpeAxNjWofaRh4FKLrk4OPsLj5snwA/
YMzQYtPb2YfNJBZBtFUbWj2t5E0O+CIkMQ8o06U5XsdOyBXwNlVYFdVRAEGVdGQS
7I+hcJI2INaP6c7uQqkvsHiOgpojKKnUmwLBNdJ49S5SQZv/2gRI4fz87HSB6gUm
1FN9ba9sqxATgLmLcxdUidUoj7qXiiVGhDjbIKhwYC7dOTLdRiPtM21o5Lg+wGbt
efEbF/aYRYz32PI4GG2fTKWQ0lll0nGEdrFDEd/IYe1f2/WGQN4+TNTBw4MtyyVH
I1B0p2XZ4fQNi4emIzc2O8f82MB0iKsb3cZFk67BZzFph0pie1dbxhAkwmjHfkw0
ayPEoUnKtOJkP3KtQUMjahb18vDfl8wJ7+jxuUV8RRpAF/aQ1xiezA48DjVWKoR0
XU5DwfPn6HzoUdHe2eQtUiqN7n8KRvh2R59LdnG5p3ymKWhkixY=
=tFjX
-----END PGP SIGNATURE-----

Ulrich Windl

unread,
Dec 31, 2021, 12:43:37 PM12/31/21
to qubes...@googlegroups.com
On 12/20/21 3:37 AM, Oleg Artemiev wrote:
> Re all.
>
> I've slow disk on my qubes PC. Sometimes when I start VMs it tells
> that it can't connect to qrexec & fails to start automatically - I've
> to start again manually & then on the second time the disk reads
> faster due to cache & it succeeds. Where can I change the timeout to
> 90 seconds or even more?
>

Hi!

As I've been there, too (originally staring with an "USB stick" to run
Qubes OS, I found out that it's way too slow. Then I tried on external
USB-connected hardddisk, and it still was slow occasionally. Finally I
bought an external USB case for an NVME SSD and a fast NVME SSD.
I can only recommend that: It's *much* more fun using Qubes OS. VMs
start in maybe 2-3 seconds instead of 30-40 seconds...

Regards,
Ulrich
P.S.: I'm using an external drive for Qubes because I have filled my
four harddisks with other stuff already, and a fifth harddisk would
would have bee an organizational challenge with the desktop case I have.
Reply all
Reply to author
Forward
0 new messages