Jump to content

Talk:Virt-manager: Difference between revisions

From NixOS Wiki
Latest comment: 3 April by Jcorbalan in topic Wayland
Nebu (talk | contribs)
Wayland: new section
Wayland: Reply
 
(3 intermediate revisions by the same user not shown)
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. I just installed it on Nixos 24.11 Stable Wayland without any errors.  [[User:Jcorbalan|Jcorbalan]] ([[User talk:Jcorbalan|talk]]) 00:20, 3 April 2025 (UTC)

Latest revision as of 00:20, 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
I don't think the XWayland config is (at least manually) necessary anymore. I just installed it on Nixos 24.11 Stable Wayland without any errors. Jcorbalan (talk) 00:20, 3 April 2025 (UTC)Reply