Jump to content

Talk:Virt-manager: Difference between revisions

From NixOS Wiki
Latest comment: 20 April 2024 by Nebu in topic Wayland
No edit summary
No edit summary
Tag: Manual revert
Line 18: Line 18:


   Error launching details: 'NoneType' object has no attribute 'conn'  Traceback (most recent call last):  File "/  nix/store/kg0k9xb64dziq1zbbjiyxd81nbqs9j7p-virt-manager-4.1.0/share/virt-manager/virtManager/vmwindow.py", line 36, in get_instance    key = "%s+%s" % (vm.conn.get_uri(), vm.get_uuid())                      ^^^^^^^ AttributeError: 'NoneType' object has no attribute 'conn' [[User:Nebu|Nebu]] ([[User talk:Nebu|talk]]) 10:34, 20 April 2024 (UTC)
   Error launching details: 'NoneType' object has no attribute 'conn'  Traceback (most recent call last):  File "/  nix/store/kg0k9xb64dziq1zbbjiyxd81nbqs9j7p-virt-manager-4.1.0/share/virt-manager/virtManager/vmwindow.py", line 36, in get_instance    key = "%s+%s" % (vm.conn.get_uri(), vm.get_uuid())                      ^^^^^^^ AttributeError: 'NoneType' object has no attribute 'conn' [[User:Nebu|Nebu]] ([[User talk:Nebu|talk]]) 10:34, 20 April 2024 (UTC)
I don't think the XWayland config is (at least manually) necessary anymore.
[[User:Jcorbalan|Jcorbalan]] ([[User talk:Jcorbalan|talk]]) 02:17, 3 April 2025 (UTC+2)

Revision as of 00:18, 3 April 2025

{

 users.users.<myuser>.extraGroups = [ "libvirtd" ];

}

isn't the group libvirt not libvirtd?

Wayland

You have to run under XWayland with `$ GDK_BACKEND=x11 virt-manager` or set a gdk cursor like so with home-manager,

 home.pointerCursor = {
    gtk.enable = true;
    package = pkgs.vanilla-dmz;
    name = "Vanilla-DMZ";
 };

Otherwise you will get an error like the following:

  Error launching details: 'NoneType' object has no attribute 'conn'  Traceback (most recent call last):   File "/   nix/store/kg0k9xb64dziq1zbbjiyxd81nbqs9j7p-virt-manager-4.1.0/share/virt-manager/virtManager/vmwindow.py", line 36, in get_instance     key = "%s+%s" % (vm.conn.get_uri(), vm.get_uuid())                      ^^^^^^^ AttributeError: 'NoneType' object has no attribute 'conn' Nebu (talk) 10:34, 20 April 2024 (UTC)Reply