Unable to connect to libvirt lxc:///

I installed virt-manager 3.2 from software manager. and have this issue:

unable to connect to libvirt lxc:///.

log details:

Unable to connect to libvirt lxc:///.
Verify that the ‘libvirtd’ daemon is running.
Libvirt URI is: lxc:///
Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/connection.py”, line 922, in _do_open
self._backend.open(cb, data)
File “/usr/share/virt-manager/virtinst/connection.py”, line 153, in open
conn = libvirt.openAuth(self._open_uri,
File “/usr/lib/python3.9/site-packages/libvirt.py”, line 148, in openAuth
raise libvirtError(‘virConnectOpenAuth() failed’)
libvirt.libvirtError: Failed to connect socket to ‘/var/run/libvirt/libvirt-sock’: No such file or directory

2 Likes

I solved above issues with that commands:

sudo systemctl enable libvirtd.service
sudo systemctl start libvirtd.service

if anybody will need a solution, just use the above commands. But at first install virt-manager from terminal or from software manager. will share also terminal command which installs it:

sudo pacman -S virt-manager qemu vde2 ebtables dnsmasq bridge-utils openbsd-netcat

now i want to know is that temperature normal on real host machine?

sensors
ucsi_source_psy_USBC000:001-isa-0000
Adapter: ISA adapter
in0:           0.00 V  (min = +35.20 V, max =  +0.00 V)
curr1:         3.25 A  (max =  +0.00 A)
  
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +49.0°C  

BAT0-acpi-0
Adapter: ACPI interface
in0:          11.54 V  

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +53.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +50.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:        +51.0°C  (high = +100.0°C, crit = +100.0°C)
Core 2:        +53.0°C  (high = +100.0°C, crit = +100.0°C)
Core 3:        +49.0°C  (high = +100.0°C, crit = +100.0°C)
    
    thinkpad-isa-0000
    Adapter: ISA adapter
    fan1:        1800 RPM
    temp1:        +52.0°C  
    temp2:        +46.0°C  
    temp3:        +42.0°C  
    temp4:         +0.0°C  
    temp5:         +0.0°C  
    temp6:         +0.0°C  
    temp7:         +0.0°C  
    temp8:            N/A  
    temp9:         +0.0°C  
    temp10:        +0.0°C  
    temp11:        +0.0°C  
    temp12:        +0.0°C  
    temp13:        +0.0°C  
    temp14:        +0.0°C  
    temp15:        +0.0°C  
    temp16:        +0.0°C  
    
    nvme-pci-0700
    Adapter: PCI adapter
    Composite:    +36.9°C  (low  = -273.1°C, high = +81.8°C)
                           (crit = +84.8°C)
    Sensor 1:     +36.9°C  (low  = -273.1°C, high = +65261.8°C)
2 Likes

Yes…

4 Likes

You had to reboot, correct? Or just restart the daemon …

That seems a decent temperature, yes, depending if in idle or something is running, desktop or laptop ?

2 Likes

Don’t be rude, share your solution.

Even though you’re the OP, this is offtopic here.

2 Likes

Yes laptop thinkpad.

and i solved issue with that commands:

> sudo systemctl enable libvirtd.service
> sudo systemctl start libvirtd.service

Thanks for response

I am not rude :slight_smile:

solution was:
> sudo systemctl enable libvirtd.service
> sudo systemctl start libvirtd.service

3 Likes

Thank you for sharing and those T° look normal to me… If you run into the high 80°C most of the time, that’s not good, but 50-60, is perfectly fine as your system itself tells you:

At 100°C you’ll reach the critical T° at which point the CPU will shut down your system brutally

(Just letting you know you should stop worrying even though those kind of questions are in the grey area whether or not they’re on-topic)

2 Likes

Thank you for your responses.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.