Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upNo Qubes tray icons when there are many VMs #3597
Comments
rustybird
changed the title from
No Qubes tray icon (XDG autostart -mqui.* run before DBus is ready?)
to
No Qubes tray icons (XDG autostart -mqui.* run before DBus is ready?)
Feb 17, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Feb 17, 2018
Member
Do you see python3 -m qubesdbus.domain_manager process running, before trying to manually start the widget? If so, I guess that process is starting too slowly. You can try to kill it and check.
See also ~/.xsession-errors in dom0.
Does it happen during normal startup, or something like X server restart?
|
Do you see Does it happen during normal startup, or something like X server restart? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
rustybird
Feb 17, 2018
Do you see
python3 -m qubesdbus.domain_managerprocess running, before trying to manually start the widget?
Yes.
If so, I guess that process is starting too slowly. You can try to kill it and check.
Thanks, that's it exactly.
It seems there are two problems:
- That there's any hard timeout at all for dom0 <-> dom0 communication, especially a short one
- The qubesdbus.domain_manager slowness (but to be fair, I somehow ended up with 110 VMs...)
See also
~/.xsession-errorsin dom0.
Nothing interesting, except for the original error messages after I removed my debug wrapper script from qubes-*.desktop.
Does it happen during normal startup, or something like X server restart?
Normal startup.
rustybird
commented
Feb 17, 2018
•
Yes.
Thanks, that's it exactly. It seems there are two problems:
Nothing interesting, except for the original error messages after I removed my debug wrapper script from
Normal startup. |
rustybird
changed the title from
No Qubes tray icons (XDG autostart -mqui.* run before DBus is ready?)
to
No Qubes tray icons when there are many VMs
Feb 17, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Feb 17, 2018
Member
That there's any hard timeout at all for dom0 <-> dom0 communication, especially a short one
It's what dbus daemon does...
The qubesdbus.domain_manager slowness (but to be fair, I somehow ended up with 110 VMs...)
Hmm, I have ~90 VMs and that service starts in seconds for me... So, there must be something else causing its slow startup.
It's what dbus daemon does...
Hmm, I have ~90 VMs and that service starts in seconds for me... So, there must be something else causing its slow startup. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
rustybird
Feb 17, 2018
That there's any hard timeout at all for dom0 <-> dom0 communication, especially a short one
It's what dbus daemon does...
Which makes sense for a normal multi-user system. For Qubes dom0, not so much. Maybe the timeout could be disabled or bumped way up?
Hmm, I have ~90 VMs and that service starts in seconds for me... So, there must be something else causing its slow startup.
This is on an x230 (slowest 2.6 GHz variety) - you might have faster hardware?
domain_manager spends all its time here: ~50 seconds cold, ~40 seconds warm. In each iteration, it's the qubesdbus.serialize.domain_data() call in _proxify_domain() that takes 0.35 seconds per VM on average.
rustybird
commented
Feb 17, 2018
Which makes sense for a normal multi-user system. For Qubes dom0, not so much. Maybe the timeout could be disabled or bumped way up?
This is on an x230 (slowest 2.6 GHz variety) - you might have faster hardware? domain_manager spends all its time here: ~50 seconds cold, ~40 seconds warm. In each iteration, it's the |
andrewdavidwong
added
bug
C: qubes-manager
labels
Feb 18, 2018
andrewdavidwong
added this to the Release 4.0 milestone
Feb 18, 2018
added a commit
to rustybird/qubes-desktop-linux-manager
that referenced
this issue
Feb 19, 2018
marmarek
closed this
in
marmarek/qubes-desktop-linux-manager@a442736
Feb 22, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Feb 27, 2018
Automated announcement from builder-github
The package qubes-desktop-linux-manager-4.0.7-1.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
qubesos-bot
commented
Feb 27, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-dom0-cur-test
label
Feb 27, 2018
qubesos-bot
referenced this issue
in QubesOS/updates-status
Feb 27, 2018
Closed
desktop-linux-manager v4.0.7 (r4.0) #437
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Mar 12, 2018
Automated announcement from builder-github
The package qubes-desktop-linux-manager-4.0.7-1.fc25 has been pushed to the r4.0 stable repository for dom0.
To install this update, please use the standard update command:
sudo qubes-dom0-update
Or update dom0 via Qubes Manager.
qubesos-bot
commented
Mar 12, 2018
|
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
rustybird commentedFeb 17, 2018
•
edited
Edited 1 time
-
rustybird
edited Feb 17, 2018 (most recent)
Qubes OS version:
R4.0 rc4 (latest current-testing)
Expected behavior:
The Qubes tray icons are shown.
Actual behavior:
They are missing, and the
python3 -mqui.tray.*processes (which work if I run them manually in a terminal) defined in/etc/xdg/autostartare not running. After adding a wrapper to their .desktop files' Exec= values to capture all messages:From qubes-domains.desktop:
From qubes-devices.desktop: