Wifi icon in the top bar gets replaced with a wired connection icon after disconnecting

I installed Ubuntu 24.04 on my new laptop recently. (Dell 15 with AMD Ryzen 3 7320U). I am using Gnome Classic.

Things were fine. Today I installed KVM, created a VM in it and used it for some time. After that I shutdown the VM and closed virt-manager. Then I disconnected my laptop from the wifi network. Usually the wifi icon should disappear from the top bar. In this case too it did but the wired connection icon gets displayed in its place. If I reconnect to a wifi network then the wifi icon comes back. No wired connection icon. When I disconnect, the wired connection icon comes back. If I logout and log back in, the wired connection icon is not shown.

The wired connection icon is something like this : https://help.ubuntu.com/stable/ubuntu-help/figures/topbar-network-wired.svg.

Why should the wifi icon be replaced with the wired connection icon, even when there is no connection of any kind? Why should this occur after I installed a VM?

Thanks
Karthik

Isn’t that just network manager so you can configure the network if required?

1 Like

How do you have networking set up for the specific VM you were running?

While you have this seemingly-incongruous wired connection icon showing, please run the following command in Terminal, for post its output here:

nmcli dev status

@Actionparsnip I don’t know how the Network Manager icon looks like in the top bar but this one is for indicating wired connection. Note that it is not always shown in the top bar and goes away when I re-login.

@halogen2 I did not make any changes to the network setting while installing the VM. I used whatever was the default. Inside the VM also I use Gnome Classic. The top bar in the VM always shows the wired connection icon in it, treating the network connection as a wired one.

Here is the nmcli output

Before connecting to wifi

$ nmcli dev status
DEVICE  TYPE      STATE                   CONNECTION 
lo      loopback  connected (externally)  lo         
virbr0  bridge    connected (externally)  virbr0     
wlp2s0  wifi      unavailable             --         
$ 

After connecting to wifi

$ nmcli dev status
DEVICE  TYPE      STATE                   CONNECTION 
wlp2s0  wifi      connected               DRSD-5G    
lo      loopback  connected (externally)  lo         
virbr0  bridge    connected (externally)  virbr0     
$

After disconnecting from wifi

$ nmcli dev status
DEVICE  TYPE      STATE                   CONNECTION 
lo      loopback  connected (externally)  lo         
virbr0  bridge    connected (externally)  virbr0     
wlp2s0  wifi      unavailable             --         
$

Inside the VM, nmcli shows :

$ nmcli dev status
DEVICE  TYPE      STATE                   CONNECTION 
enp1s0  ethernet  connected               enp1s0     
lo      loopback  connected (externally)  lo         
$ 

Thanks

Providing the output from the following command would clarify the context:

inxi -SNxxx

Icon that I located,

  • network-offline-symbolic_mine

was found at (depending on your theme selection),

  • /usr/share/icons/Yaru/scalable/status/network-offline-symbolic.svg

@ericmarceau

$ inxi -SNxxx
System:
  Host: k-galaxy Kernel: 6.14.0-34-generic arch: x86_64 bits: 64 compiler: gcc
    v: 13.3.0 clocksource: tsc
  Desktop: GNOME v: 46.0 tk: GTK v: 3.24.41 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM3 v: 46.2 Distro: Ubuntu 24.04.3 LTS
    (Noble Numbat)
Network:
  Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
    driver: rtw_8821ce v: N/A pcie: speed: 2.5 GT/s lanes: 1 port: 2000
    bus-ID: 02:00.0 chip-ID: 10ec:c821 class-ID: 0280
$

I am using the default theme (Adwaita) and it has

/usr/share/icons/Adwaita/symbolic/status/network-offline-symbolic.svg

This icon is different from what you referred to. Two arrows, one facing right, the other facing left and a x at the end of the second arrow.

I don’t think I have ever seen a network-offline symbol in the top bar. If not connected, nothing will be displayed.

Thanks

Indeed, when I turn off my WiFi, I get that same icon. No VM involved.

EDIT: The following comment is incorrect.
@karthikeyan.d I believe that showing the icon is the correct behaviour, so not seeing the icon seems to be the oddity.

1 Like

@paddylandau Interesting. If you log out and re-login, is the icon still there in the top bar?

When you see the three-boxes icon after disconnecting from your wifi, do all the boxes have the same colour and no x on any of them? If yes, then it represents a successful wired connection, not a disconnected state for which the icon will have an x over the bottom-right box and the other two will be coloured. See the icons in the section “Wired connections” in

https://help.ubuntu.com/stable/ubuntu-help/status-icons.html.hi

Are you using Gnome Classic? What theme do you use?

Thanks

I disabled WiFi and restarted the computer, and the icon wasn’t there after restarting.

Plain white:
Network icon

Oh, I see, you’re right! Yes, I can see that it does indeed look like a bug. My apologies for my earlier comment, which is wrong.

I’m using standard Ubuntu 24.04 (upgraded from 22.04) with the default GNOME, and using X11 instead of Wayland.
System details
If you report this as a bug, please link it here so that I can upvote it.

Since I did not see this before 02/Nov, I checked /var/log/apt/history.log to see what all were installed on that day. I had installed KVM packages and virt-manager. There were four unattended-upgrade runs :

  • libssh-*
  • libctf*, binutils-* etc (GNU stuff)
  • xserver-xorg-*
  • xwayland

I use GNOME Classic which uses Wayland. So I logged out and selected GNOME Classic with Xorg. No change in behaviour. There were two other options : Ubuntu and Ubuntu with Xorg. Tried them too. No change.

I was able to reproduce the issue on another laptop. It starts occurring immediately after installing the KVM packages.

The second laptop has Intel processors with Ubuntu 24.04. It did not have KVM.

I had not updated the system after 31/Oct. So I first did a sudo apt upgrade, to see if the problem occurs without KVM. It did not.

This system did not have GNOME Classic. I was using the default session (Ubuntu/Wayland). I installed gnome-shell-extensions and switched to GNOME Classic. Still the problem did not happen.

I stayed in GNOME Classic.

For KVM installation I used the instructions from here.

The steps that I did were

1. sudo apt install cpu-checker
2. sudo kvm-ok
3. sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils -y
4. sudo adduser [username] libvirt
5. sudo adduser [username] kvm
6. sudo apt install virt-manager -y

After each step I disconnected from wifi to see what happens. Immediately after step 3 the problem occurred : on disconnecting from wifi, the wifi icon disappears but the wired connection icon is shown in the top bar.

52 packages were installed in the third step. I am looking at their names. So far there seems to be nothing related to UI.

At the end of the installation I see

Processing triggers for hicolor-icon-theme (0.17-2) ...                         
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...

These two are not part of the list of 52 packages installed. They are the only ones related to UI.

Here is the full output of step 3 :

$ sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'qemu-system-x86' instead of 'qemu-kvm'
The following packages were automatically installed and are no longer required:
  libgl1-amber-dri libglapi-mesa libllvm19 linux-headers-6.14.0-29-generic
  linux-hwe-6.14-headers-6.14.0-29 linux-hwe-6.14-tools-6.14.0-29
  linux-image-6.14.0-29-generic linux-modules-6.14.0-29-generic
  linux-modules-extra-6.14.0-29-generic linux-tools-6.14.0-29-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  dmeventd ipxe-qemu ipxe-qemu-256k-compat-efi-roms libaio1t64 libcacard0
  libdaxctl1 libdevmapper-event1.02.1 libfdt1 libiscsi7 libjack-jackd2-0
  liblvm2cmd2.03 libndctl6 libnss-mymachines libpmem1 libpmemobj1 librados2
  librbd1 librdmacm1t64 libsdl2-2.0-0 libslirp0 libspice-server1 libtpms0
  liburing2 libusbredirparser1t64 libvirglrenderer1 libvirt-daemon
  libvirt-daemon-config-network libvirt-daemon-config-nwfilter
  libvirt-daemon-driver-qemu libvirt-daemon-system-systemd libvirt-l10n
  libvirt0 libxml2-utils lvm2 mdevctl ovmf qemu-block-extra qemu-system-common
  qemu-system-data qemu-system-gui qemu-system-modules-opengl
  qemu-system-modules-spice qemu-utils seabios swtpm swtpm-tools
  systemd-container thin-provisioning-tools
Suggested packages:
  ifupdown jackd2 libvirt-clients-qemu libvirt-login-shell
  libvirt-daemon-driver-storage-gluster
  libvirt-daemon-driver-storage-iscsi-direct libvirt-daemon-driver-storage-rbd
  libvirt-daemon-driver-storage-zfs libvirt-daemon-driver-lxc
  libvirt-daemon-driver-vbox libvirt-daemon-driver-xen numad passt auditd
  nfs-common open-iscsi pm-utils systemtap zfsutils samba vde2 trousers
The following NEW packages will be installed:
  bridge-utils dmeventd ipxe-qemu ipxe-qemu-256k-compat-efi-roms libaio1t64
  libcacard0 libdaxctl1 libdevmapper-event1.02.1 libfdt1 libiscsi7
  libjack-jackd2-0 liblvm2cmd2.03 libndctl6 libnss-mymachines libpmem1
  libpmemobj1 librados2 librbd1 librdmacm1t64 libsdl2-2.0-0 libslirp0
  libspice-server1 libtpms0 liburing2 libusbredirparser1t64 libvirglrenderer1
  libvirt-clients libvirt-daemon libvirt-daemon-config-network
  libvirt-daemon-config-nwfilter libvirt-daemon-driver-qemu
  libvirt-daemon-system libvirt-daemon-system-systemd libvirt-l10n libvirt0
  libxml2-utils lvm2 mdevctl ovmf qemu-block-extra qemu-system-common
  qemu-system-data qemu-system-gui qemu-system-modules-opengl
  qemu-system-modules-spice qemu-system-x86 qemu-utils seabios swtpm
  swtpm-tools systemd-container thin-provisioning-tools
0 upgraded, 52 newly installed, 0 to remove and 1 not upgraded.
Need to get 41.8 MB of archives.
After this operation, 176 MB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu noble/main amd64 bridge-utils amd64 1.7.1-1ubuntu2 [33.9 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 libdevmapper-event1.02.1 amd64 2:1.02.185-3ubuntu3.2 [12.6 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 libaio1t64 amd64 0.3.113-6build1.1 [7,210 B]
Get:4 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 liblvm2cmd2.03 amd64 2.03.16-3ubuntu3.2 [797 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 dmeventd amd64 2:1.02.185-3ubuntu3.2 [38.0 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu noble/main amd64 ipxe-qemu all 1.21.1+git-20220113.fbbdc3926-0ubuntu2 [1,565 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu noble/main amd64 ipxe-qemu-256k-compat-efi-roms all 1.0.0+git-20150424.a25a16d-0ubuntu5 [548 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu noble/main amd64 libcacard0 amd64 1:2.8.0-3build4 [36.5 kB]
Get:9 http://in.archive.ubuntu.com/ubuntu noble/main amd64 libdaxctl1 amd64 77-2ubuntu2 [21.4 kB]
Get:10 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 librdmacm1t64 amd64 50.0-2ubuntu0.2 [70.7 kB]
Get:11 http://in.archive.ubuntu.com/ubuntu noble/main amd64 libiscsi7 amd64 1.19.0-3build4 [68.7 kB]
Get:12 http://in.archive.ubuntu.com/ubuntu noble/main amd64 libjack-jackd2-0 amd64 1.9.21~dfsg-3ubuntu3 [289 kB]
Get:13 http://in.archive.ubuntu.com/ubuntu noble/main amd64 libndctl6 amd64 77-2ubuntu2 [62.8 kB]
Get:14 http://in.archive.ubuntu.com/ubuntu noble/main amd64 libpmem1 amd64 1.13.1-1.1ubuntu2 [84.8 kB]
Get:15 http://in.archive.ubuntu.com/ubuntu noble/main amd64 libpmemobj1 amd64 1.13.1-1.1ubuntu2 [116 kB]
Get:16 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 librados2 amd64 19.2.1-0ubuntu0.24.04.2 [4,042 kB]
Get:17 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 librbd1 amd64 19.2.1-0ubuntu0.24.04.2 [3,511 kB]
Get:18 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 libsdl2-2.0-0 amd64 2.30.0+dfsg-1ubuntu3.1 [686 kB]
Get:19 http://in.archive.ubuntu.com/ubuntu noble/main amd64 libslirp0 amd64 4.7.0-1ubuntu3 [63.8 kB]
Get:20 http://in.archive.ubuntu.com/ubuntu noble/main amd64 libspice-server1 amd64 0.15.1-1build2 [349 kB]
Get:21 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 libtpms0 amd64 0.9.3-0ubuntu4.24.04.1 [373 kB]
Get:22 http://in.archive.ubuntu.com/ubuntu noble/main amd64 liburing2 amd64 2.5-1build1 [21.1 kB]
Get:23 http://in.archive.ubuntu.com/ubuntu noble/main amd64 libusbredirparser1t64 amd64 0.13.0-2.1build1 [16.5 kB]
Get:24 http://in.archive.ubuntu.com/ubuntu noble/main amd64 libvirglrenderer1 amd64 1.0.0-1ubuntu2 [226 kB]
Get:25 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 libvirt0 amd64 10.0.0-2ubuntu8.9 [1,829 kB]
Get:26 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 libvirt-clients amd64 10.0.0-2ubuntu8.9 [438 kB]
Get:27 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 libvirt-daemon-driver-qemu amd64 10.0.0-2ubuntu8.9 [740 kB]
Get:28 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 libvirt-daemon amd64 10.0.0-2ubuntu8.9 [431 kB]
Get:29 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 libvirt-daemon-config-network all 10.0.0-2ubuntu8.9 [3,120 B]
Get:30 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 libvirt-daemon-config-nwfilter all 10.0.0-2ubuntu8.9 [6,038 B]
Get:31 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 systemd-container amd64 255.4-1ubuntu8.11 [417 kB]
Get:32 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 libvirt-daemon-system-systemd all 10.0.0-2ubuntu8.9 [1,372 B]
Get:33 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 libvirt-daemon-system amd64 10.0.0-2ubuntu8.9 [49.5 kB]
Get:34 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 libvirt-l10n all 10.0.0-2ubuntu8.9 [1,148 B]
Get:35 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 libxml2-utils amd64 2.9.14+dfsg-1.3ubuntu3.6 [39.4 kB]
Get:36 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 lvm2 amd64 2.03.16-3ubuntu3.2 [1,186 kB]
Get:37 http://in.archive.ubuntu.com/ubuntu noble/main amd64 mdevctl amd64 1.3.0-1ubuntu2 [936 kB]
Get:38 http://in.archive.ubuntu.com/ubuntu noble/main amd64 libfdt1 amd64 1.7.0-2build1 [20.1 kB]
Get:39 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 qemu-system-common amd64 1:8.2.2+ds-0ubuntu1.10 [1,254 kB]
Get:40 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 qemu-system-data all 1:8.2.2+ds-0ubuntu1.10 [1,794 kB]
Get:41 http://in.archive.ubuntu.com/ubuntu noble/main amd64 seabios all 1.16.3-2 [175 kB]
Get:42 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 qemu-system-x86 amd64 1:8.2.2+ds-0ubuntu1.10 [11.2 MB]
Get:43 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 qemu-utils amd64 1:8.2.2+ds-0ubuntu1.10 [2,219 kB]
Get:44 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 qemu-block-extra amd64 1:8.2.2+ds-0ubuntu1.10 [112 kB]
Get:45 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 qemu-system-modules-opengl amd64 1:8.2.2+ds-0ubuntu1.10 [185 kB]
Get:46 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 qemu-system-gui amd64 1:8.2.2+ds-0ubuntu1.10 [312 kB]
Get:47 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 qemu-system-modules-spice amd64 1:8.2.2+ds-0ubuntu1.10 [70.2 kB]
Get:48 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 swtpm amd64 0.7.3-0ubuntu5.24.04.1 [53.1 kB]
Get:49 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 swtpm-tools amd64 0.7.3-0ubuntu5.24.04.1 [92.9 kB]
Get:50 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 thin-provisioning-tools amd64 0.9.0-2ubuntu5.1 [436 kB]
Get:51 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 libnss-mymachines amd64 255.4-1ubuntu8.11 [153 kB]
Get:52 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 ovmf all 2024.02-2ubuntu0.4 [4,571 kB]
Fetched 41.8 MB in 11s (3,866 kB/s)                                            
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package bridge-utils.
(Reading database ... 252607 files and directories currently installed.)
Preparing to unpack .../00-bridge-utils_1.7.1-1ubuntu2_amd64.deb ...
Unpacking bridge-utils (1.7.1-1ubuntu2) ...
Selecting previously unselected package libdevmapper-event1.02.1:amd64.
Preparing to unpack .../01-libdevmapper-event1.02.1_2%3a1.02.185-3ubuntu3.2_amd6
4.deb ...
Unpacking libdevmapper-event1.02.1:amd64 (2:1.02.185-3ubuntu3.2) ...
Selecting previously unselected package libaio1t64:amd64.
Preparing to unpack .../02-libaio1t64_0.3.113-6build1.1_amd64.deb ...
Unpacking libaio1t64:amd64 (0.3.113-6build1.1) ...
Selecting previously unselected package liblvm2cmd2.03:amd64.
Preparing to unpack .../03-liblvm2cmd2.03_2.03.16-3ubuntu3.2_amd64.deb ...
Unpacking liblvm2cmd2.03:amd64 (2.03.16-3ubuntu3.2) ...
Selecting previously unselected package dmeventd.
Preparing to unpack .../04-dmeventd_2%3a1.02.185-3ubuntu3.2_amd64.deb ...
Unpacking dmeventd (2:1.02.185-3ubuntu3.2) ...
Selecting previously unselected package ipxe-qemu.
Preparing to unpack .../05-ipxe-qemu_1.21.1+git-20220113.fbbdc3926-0ubuntu2_all.
deb ...
Unpacking ipxe-qemu (1.21.1+git-20220113.fbbdc3926-0ubuntu2) ...
Selecting previously unselected package ipxe-qemu-256k-compat-efi-roms.
Preparing to unpack .../06-ipxe-qemu-256k-compat-efi-roms_1.0.0+git-20150424.a25
a16d-0ubuntu5_all.deb ...
Unpacking ipxe-qemu-256k-compat-efi-roms (1.0.0+git-20150424.a25a16d-0ubuntu5) .
..
Selecting previously unselected package libcacard0:amd64.
Preparing to unpack .../07-libcacard0_1%3a2.8.0-3build4_amd64.deb ...
Unpacking libcacard0:amd64 (1:2.8.0-3build4) ...
Selecting previously unselected package libdaxctl1:amd64.
Preparing to unpack .../08-libdaxctl1_77-2ubuntu2_amd64.deb ...
Unpacking libdaxctl1:amd64 (77-2ubuntu2) ...
Selecting previously unselected package librdmacm1t64:amd64.
Preparing to unpack .../09-librdmacm1t64_50.0-2ubuntu0.2_amd64.deb ...
Unpacking librdmacm1t64:amd64 (50.0-2ubuntu0.2) ...
Selecting previously unselected package libiscsi7:amd64.
Preparing to unpack .../10-libiscsi7_1.19.0-3build4_amd64.deb ...
Unpacking libiscsi7:amd64 (1.19.0-3build4) ...
Selecting previously unselected package libjack-jackd2-0:amd64.
Preparing to unpack .../11-libjack-jackd2-0_1.9.21~dfsg-3ubuntu3_amd64.deb ...
Unpacking libjack-jackd2-0:amd64 (1.9.21~dfsg-3ubuntu3) ...
Selecting previously unselected package libndctl6:amd64.
Preparing to unpack .../12-libndctl6_77-2ubuntu2_amd64.deb ...
Unpacking libndctl6:amd64 (77-2ubuntu2) ...
Selecting previously unselected package libpmem1:amd64.
Preparing to unpack .../13-libpmem1_1.13.1-1.1ubuntu2_amd64.deb ...
Unpacking libpmem1:amd64 (1.13.1-1.1ubuntu2) ...
Selecting previously unselected package libpmemobj1:amd64.
Preparing to unpack .../14-libpmemobj1_1.13.1-1.1ubuntu2_amd64.deb ...
Unpacking libpmemobj1:amd64 (1.13.1-1.1ubuntu2) ...
Selecting previously unselected package librados2.
Preparing to unpack .../15-librados2_19.2.1-0ubuntu0.24.04.2_amd64.deb ...
Unpacking librados2 (19.2.1-0ubuntu0.24.04.2) ...
Selecting previously unselected package librbd1.
Preparing to unpack .../16-librbd1_19.2.1-0ubuntu0.24.04.2_amd64.deb ...
Unpacking librbd1 (19.2.1-0ubuntu0.24.04.2) ...
Selecting previously unselected package libsdl2-2.0-0:amd64.
Preparing to unpack .../17-libsdl2-2.0-0_2.30.0+dfsg-1ubuntu3.1_amd64.deb ...
Unpacking libsdl2-2.0-0:amd64 (2.30.0+dfsg-1ubuntu3.1) ...
Selecting previously unselected package libslirp0:amd64.
Preparing to unpack .../18-libslirp0_4.7.0-1ubuntu3_amd64.deb ...
Unpacking libslirp0:amd64 (4.7.0-1ubuntu3) ...
Selecting previously unselected package libspice-server1:amd64.
Preparing to unpack .../19-libspice-server1_0.15.1-1build2_amd64.deb ...
Unpacking libspice-server1:amd64 (0.15.1-1build2) ...
Selecting previously unselected package libtpms0:amd64.
Preparing to unpack .../20-libtpms0_0.9.3-0ubuntu4.24.04.1_amd64.deb ...
Unpacking libtpms0:amd64 (0.9.3-0ubuntu4.24.04.1) ...
Selecting previously unselected package liburing2:amd64.
Preparing to unpack .../21-liburing2_2.5-1build1_amd64.deb ...
Unpacking liburing2:amd64 (2.5-1build1) ...
Selecting previously unselected package libusbredirparser1t64:amd64.
Preparing to unpack .../22-libusbredirparser1t64_0.13.0-2.1build1_amd64.deb ...
Unpacking libusbredirparser1t64:amd64 (0.13.0-2.1build1) ...
Selecting previously unselected package libvirglrenderer1:amd64.
Preparing to unpack .../23-libvirglrenderer1_1.0.0-1ubuntu2_amd64.deb ...
Unpacking libvirglrenderer1:amd64 (1.0.0-1ubuntu2) ...
Selecting previously unselected package libvirt0:amd64.
Preparing to unpack .../24-libvirt0_10.0.0-2ubuntu8.9_amd64.deb ...
Unpacking libvirt0:amd64 (10.0.0-2ubuntu8.9) ...
Selecting previously unselected package libvirt-clients.
Preparing to unpack .../25-libvirt-clients_10.0.0-2ubuntu8.9_amd64.deb ...
Unpacking libvirt-clients (10.0.0-2ubuntu8.9) ...
Selecting previously unselected package libvirt-daemon-driver-qemu.
Preparing to unpack .../26-libvirt-daemon-driver-qemu_10.0.0-2ubuntu8.9_amd64.de
b ...
Unpacking libvirt-daemon-driver-qemu (10.0.0-2ubuntu8.9) ...
Selecting previously unselected package libvirt-daemon.
Preparing to unpack .../27-libvirt-daemon_10.0.0-2ubuntu8.9_amd64.deb ...
Unpacking libvirt-daemon (10.0.0-2ubuntu8.9) ...
Selecting previously unselected package libvirt-daemon-config-network.
Preparing to unpack .../28-libvirt-daemon-config-network_10.0.0-2ubuntu8.9_all.d
eb ...
Unpacking libvirt-daemon-config-network (10.0.0-2ubuntu8.9) ...
Selecting previously unselected package libvirt-daemon-config-nwfilter.
Preparing to unpack .../29-libvirt-daemon-config-nwfilter_10.0.0-2ubuntu8.9_all.
deb ...
Unpacking libvirt-daemon-config-nwfilter (10.0.0-2ubuntu8.9) ...
Selecting previously unselected package systemd-container.
Preparing to unpack .../30-systemd-container_255.4-1ubuntu8.11_amd64.deb ...
Unpacking systemd-container (255.4-1ubuntu8.11) ...
Selecting previously unselected package libvirt-daemon-system-systemd.
Preparing to unpack .../31-libvirt-daemon-system-systemd_10.0.0-2ubuntu8.9_all.d
eb ...
Unpacking libvirt-daemon-system-systemd (10.0.0-2ubuntu8.9) ...
Selecting previously unselected package libvirt-daemon-system.
Preparing to unpack .../32-libvirt-daemon-system_10.0.0-2ubuntu8.9_amd64.deb ...
Unpacking libvirt-daemon-system (10.0.0-2ubuntu8.9) ...
Selecting previously unselected package libvirt-l10n.
Preparing to unpack .../33-libvirt-l10n_10.0.0-2ubuntu8.9_all.deb ...
Unpacking libvirt-l10n (10.0.0-2ubuntu8.9) ...
Selecting previously unselected package libxml2-utils.
Preparing to unpack .../34-libxml2-utils_2.9.14+dfsg-1.3ubuntu3.6_amd64.deb ...
Unpacking libxml2-utils (2.9.14+dfsg-1.3ubuntu3.6) ...
Selecting previously unselected package lvm2.
Preparing to unpack .../35-lvm2_2.03.16-3ubuntu3.2_amd64.deb ...
Unpacking lvm2 (2.03.16-3ubuntu3.2) ...
Selecting previously unselected package mdevctl.
Preparing to unpack .../36-mdevctl_1.3.0-1ubuntu2_amd64.deb ...
Unpacking mdevctl (1.3.0-1ubuntu2) ...
Selecting previously unselected package libfdt1:amd64.
Preparing to unpack .../37-libfdt1_1.7.0-2build1_amd64.deb ...
Unpacking libfdt1:amd64 (1.7.0-2build1) ...
Selecting previously unselected package qemu-system-common.
Preparing to unpack .../38-qemu-system-common_1%3a8.2.2+ds-0ubuntu1.10_amd64.deb
 ...
Unpacking qemu-system-common (1:8.2.2+ds-0ubuntu1.10) ...
Selecting previously unselected package qemu-system-data.
Preparing to unpack .../39-qemu-system-data_1%3a8.2.2+ds-0ubuntu1.10_all.deb ...
Unpacking qemu-system-data (1:8.2.2+ds-0ubuntu1.10) ...
Selecting previously unselected package seabios.
Preparing to unpack .../40-seabios_1.16.3-2_all.deb ...
Unpacking seabios (1.16.3-2) ...
Selecting previously unselected package qemu-system-x86.
Preparing to unpack .../41-qemu-system-x86_1%3a8.2.2+ds-0ubuntu1.10_amd64.deb ..
.
Unpacking qemu-system-x86 (1:8.2.2+ds-0ubuntu1.10) ...
Selecting previously unselected package qemu-utils.
Preparing to unpack .../42-qemu-utils_1%3a8.2.2+ds-0ubuntu1.10_amd64.deb ...
Unpacking qemu-utils (1:8.2.2+ds-0ubuntu1.10) ...
Selecting previously unselected package qemu-block-extra.
Preparing to unpack .../43-qemu-block-extra_1%3a8.2.2+ds-0ubuntu1.10_amd64.deb .
..
Unpacking qemu-block-extra (1:8.2.2+ds-0ubuntu1.10) ...
Selecting previously unselected package qemu-system-modules-opengl.
Preparing to unpack .../44-qemu-system-modules-opengl_1%3a8.2.2+ds-0ubuntu1.10_a
md64.deb ...
Unpacking qemu-system-modules-opengl (1:8.2.2+ds-0ubuntu1.10) ...
Selecting previously unselected package qemu-system-gui.
Preparing to unpack .../45-qemu-system-gui_1%3a8.2.2+ds-0ubuntu1.10_amd64.deb ..
.
Unpacking qemu-system-gui (1:8.2.2+ds-0ubuntu1.10) ...
Selecting previously unselected package qemu-system-modules-spice.
Preparing to unpack .../46-qemu-system-modules-spice_1%3a8.2.2+ds-0ubuntu1.10_am
d64.deb ...
Unpacking qemu-system-modules-spice (1:8.2.2+ds-0ubuntu1.10) ...
Selecting previously unselected package swtpm.
Preparing to unpack .../47-swtpm_0.7.3-0ubuntu5.24.04.1_amd64.deb ...
Unpacking swtpm (0.7.3-0ubuntu5.24.04.1) ...
Selecting previously unselected package swtpm-tools.
Preparing to unpack .../48-swtpm-tools_0.7.3-0ubuntu5.24.04.1_amd64.deb ...
Unpacking swtpm-tools (0.7.3-0ubuntu5.24.04.1) ...
Selecting previously unselected package thin-provisioning-tools.
Preparing to unpack .../49-thin-provisioning-tools_0.9.0-2ubuntu5.1_amd64.deb ..
.
Unpacking thin-provisioning-tools (0.9.0-2ubuntu5.1) ...
Selecting previously unselected package libnss-mymachines:amd64.
Preparing to unpack .../50-libnss-mymachines_255.4-1ubuntu8.11_amd64.deb ...
Unpacking libnss-mymachines:amd64 (255.4-1ubuntu8.11) ...
Selecting previously unselected package ovmf.
Preparing to unpack .../51-ovmf_2024.02-2ubuntu0.4_all.deb ...
Unpacking ovmf (2024.02-2ubuntu0.4) ...
Setting up libdevmapper-event1.02.1:amd64 (2:1.02.185-3ubuntu3.2) ...
Setting up libspice-server1:amd64 (0.15.1-1build2) ...
Setting up libfdt1:amd64 (1.7.0-2build1) ...
Setting up libcacard0:amd64 (1:2.8.0-3build4) ...
Setting up ovmf (2024.02-2ubuntu0.4) ...
Setting up libvirglrenderer1:amd64 (1.0.0-1ubuntu2) ...
Setting up libdaxctl1:amd64 (77-2ubuntu2) ...
Setting up qemu-system-data (1:8.2.2+ds-0ubuntu1.10) ...
Setting up bridge-utils (1.7.1-1ubuntu2) ...
Setting up seabios (1.16.3-2) ...
Setting up libjack-jackd2-0:amd64 (1.9.21~dfsg-3ubuntu3) ...
Setting up libvirt0:amd64 (10.0.0-2ubuntu8.9) ...
Setting up systemd-container (255.4-1ubuntu8.11) ...
Created symlink /etc/systemd/system/multi-user.target.wants/machines.target → /u
sr/lib/systemd/system/machines.target.
Setting up libslirp0:amd64 (4.7.0-1ubuntu3) ...
Setting up libaio1t64:amd64 (0.3.113-6build1.1) ...
Setting up libusbredirparser1t64:amd64 (0.13.0-2.1build1) ...
Setting up ipxe-qemu (1.21.1+git-20220113.fbbdc3926-0ubuntu2) ...
Setting up libndctl6:amd64 (77-2ubuntu2) ...
Setting up librdmacm1t64:amd64 (50.0-2ubuntu0.2) ...
Setting up ipxe-qemu-256k-compat-efi-roms (1.0.0+git-20150424.a25a16d-0ubuntu5) 
...
Setting up libtpms0:amd64 (0.9.3-0ubuntu4.24.04.1) ...
Setting up liburing2:amd64 (2.5-1build1) ...
Setting up libiscsi7:amd64 (1.19.0-3build4) ...
Setting up libxml2-utils (2.9.14+dfsg-1.3ubuntu3.6) ...
Setting up libsdl2-2.0-0:amd64 (2.30.0+dfsg-1ubuntu3.1) ...
Setting up libvirt-daemon-config-nwfilter (10.0.0-2ubuntu8.9) ...
Setting up libpmem1:amd64 (1.13.1-1.1ubuntu2) ...
Setting up mdevctl (1.3.0-1ubuntu2) ...
Setting up libvirt-daemon-config-network (10.0.0-2ubuntu8.9) ...
Setting up librados2 (19.2.1-0ubuntu0.24.04.2) ...
Setting up qemu-system-common (1:8.2.2+ds-0ubuntu1.10) ...
Created symlink /etc/systemd/system/multi-user.target.wants/qemu-kvm.service → /
usr/lib/systemd/system/qemu-kvm.service.
Setting up libvirt-clients (10.0.0-2ubuntu8.9) ...
Setting up qemu-system-x86 (1:8.2.2+ds-0ubuntu1.10) ...
Setting up libvirt-l10n (10.0.0-2ubuntu8.9) ...
Setting up libnss-mymachines:amd64 (255.4-1ubuntu8.11) ...
Setting up swtpm (0.7.3-0ubuntu5.24.04.1) ...
Setting up libpmemobj1:amd64 (1.13.1-1.1ubuntu2) ...
Setting up thin-provisioning-tools (0.9.0-2ubuntu5.1) ...
Setting up libvirt-daemon-driver-qemu (10.0.0-2ubuntu8.9) ...
Setting up librbd1 (19.2.1-0ubuntu0.24.04.2) ...
Setting up libvirt-daemon-system-systemd (10.0.0-2ubuntu8.9) ...
Setting up qemu-utils (1:8.2.2+ds-0ubuntu1.10) ...
Setting up libvirt-daemon (10.0.0-2ubuntu8.9) ...
Setting up qemu-block-extra (1:8.2.2+ds-0ubuntu1.10) ...
Created symlink /etc/systemd/system/multi-user.target.wants/run-qemu.mount → /us
r/lib/systemd/system/run-qemu.mount.
Setting up qemu-system-modules-opengl (1:8.2.2+ds-0ubuntu1.10) ...
Setting up qemu-system-gui (1:8.2.2+ds-0ubuntu1.10) ...
Setting up swtpm-tools (0.7.3-0ubuntu5.24.04.1) ...
info: Selecting GID from range 100 to 999 ...
info: Adding group `swtpm' (GID 124) ...
info: The home dir /var/lib/swtpm you specified can't be accessed: No such file 
or directory

info: Selecting UID from range 100 to 999 ...

info: Adding system user `swtpm' (UID 122) ...
info: Adding new user `swtpm' (UID 122) with group `swtpm' ...
info: Not creating home directory `/var/lib/swtpm'.
Setting up qemu-system-modules-spice (1:8.2.2+ds-0ubuntu1.10) ...
Setting up libvirt-daemon-system (10.0.0-2ubuntu8.9) ...
useradd warning: libvirt-qemu's uid 64055 is greater than SYS_UID_MAX 999
Enabling libvirt default network
Created symlink /etc/systemd/system/multi-user.target.wants/libvirtd.service → /
usr/lib/systemd/system/libvirtd.service.
Created symlink /etc/systemd/system/sockets.target.wants/virtlockd.socket → /usr
/lib/systemd/system/virtlockd.socket.
Created symlink /etc/systemd/system/sockets.target.wants/virtlogd.socket → /usr/
lib/systemd/system/virtlogd.socket.
Created symlink /etc/systemd/system/sockets.target.wants/libvirtd.socket → /usr/
lib/systemd/system/libvirtd.socket.
Created symlink /etc/systemd/system/sockets.target.wants/libvirtd-ro.socket → /u
sr/lib/systemd/system/libvirtd-ro.socket.
Created symlink /etc/systemd/system/sockets.target.wants/libvirtd-admin.socket →
 /usr/lib/systemd/system/libvirtd-admin.socket.
Created symlink /etc/systemd/system/sockets.target.wants/virtlockd-admin.socket 
→ /usr/lib/systemd/system/virtlockd-admin.socket.
Created symlink /etc/systemd/system/sockets.target.wants/virtlogd-admin.socket →
 /usr/lib/systemd/system/virtlogd-admin.socket.
Created symlink /etc/systemd/system/multi-user.target.wants/libvirt-guests.servi
ce → /usr/lib/systemd/system/libvirt-guests.service.
Created symlink /etc/systemd/system/multi-user.target.wants/virtlockd.service → 
/usr/lib/systemd/system/virtlockd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/virtlogd.service → /
usr/lib/systemd/system/virtlogd.service.
Setting up libvirt-daemon dnsmasq configuration.
Setting up liblvm2cmd2.03:amd64 (2.03.16-3ubuntu3.2) ...
Setting up dmeventd (2:1.02.185-3ubuntu3.2) ...
Created symlink /etc/systemd/system/sockets.target.wants/dm-event.socket → /usr/
lib/systemd/system/dm-event.socket.
dm-event.service is a disabled or a static unit, not starting it.
Setting up lvm2 (2.03.16-3ubuntu3.2) ...
Created symlink /etc/systemd/system/sysinit.target.wants/blk-availability.servic
e → /usr/lib/systemd/system/blk-availability.service.
Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-monitor.service → 
/usr/lib/systemd/system/lvm2-monitor.service.
Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-lvmpolld.socket → 
/usr/lib/systemd/system/lvm2-lvmpolld.socket.
Processing triggers for dbus (1.14.10-4ubuntu4.1) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for initramfs-tools (0.142ubuntu25.5) ...
update-initramfs: Generating /boot/initrd.img-6.14.0-35-generic
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for libc-bin (2.39-0ubuntu8.6) ...
Processing triggers for man-db (2.12.0-4build2) ...
$

Thanks

1 Like

I have none of those packages installed. But, I did use KVM some time ago, so presumably (I don’t remember now) I would have installed them back then, and subsequently uninstalled them.

So, I tried this by booting into a Live USB (Ubuntu 24.04.3) and installing the packages as you did. I split them up, to narrow it down further:

sudo apt install cpu-checker
sudo kvm-ok
sudo apt install qemu-kvm
sudo apt install libvirt-clients
sudo apt install libvirt-daemon-system

It was after the last one, libvirt-daemon-system, when the problem started. This means that we now know:

  • It has nothing to do with processing triggers for hicolor-icon-theme or gnome-menus, because these were done when installing qemu-kvm, and the problem didn’t occur after that step.
  • The problem is caused specifically by installing libvirt-daemon-system.
  • The problem is reliably repeatable even on a Live USB.

You might want to report this as a bug on Launchpad. If you do so, please post the link here so that I can upvote it.

I was thinking of doing this by uninstalling all the KVM packages on my system and installing them one by one. Thanks for doing it.

It was after the last one, libvirt-daemon-system, when the problem started.

Looks like this pkg contains config files to run the libvirt-daemon as a system service. Somehow it is interfering with the icons.

You might want to report this as a bug on Launchpad. If you do so, please post the link here so that I can upvote it.

Will do. I’ve never filed a bug on Ubuntu before. Will take a look.

Thanks

1 Like

Follow the instructions here:

https://help.ubuntu.com/community/ReportingBugs

Filed bug : Bug #2130789 “After installing libvirt-daemon-system, on disconn...” : Bugs : libvirt package : Ubuntu

1 Like