<html><head></head><body><div class="ydp563d7415yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div id="ydp563d7415yiv1885152088"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;" class="ydp563d7415yiv1885152088ydp5ebf551yahoo-style-wrap"><div></div>
        <div dir="ltr">Cheers Cole,</div><div dir="ltr"><br clear="none"></div><div>Turned out I hadn't got libvirt (et al) installed on the target. (discovered when I tried to use virsh)</div><div><br></div><div dir="ltr">Once I installed libvirt and restarted virt-manager they all showed up in the gui and seem to be working.<br></div><div dir="ltr"><br></div><div dir="ltr" data-setdir="false">That was all under the default qemu:///system connection.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">______<br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">But now I try to add VMs that were under a qemu:///session connection ...</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Try adding the connection and get:</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">------------------------<br></div><div dir="ltr" data-setdir="false"><div>Unable to connect to libvirt qemu:///session.<br><br>Verify that the 'libvirtd' daemon is running.<br><br>Libvirt URI is: qemu:///session<br><br>Traceback (most recent call last):<br>  File "/usr/share/virt-manager/virtManager/connection.py", line 922, in _do_open<br>    self._backend.open(cb, data)<br>  File "/usr/share/virt-manager/virtinst/connection.py", line 155, in open<br>    open_flags)<br>  File "/usr/lib64/python3.6/site-packages/libvirt.py", line 148, in openAuth<br>    raise libvirtError('virConnectOpenAuth() failed')<br><div>libvirt.libvirtError: Failed to connect socket to '/run/user/1000/libvirt/libvirt-sock': No such file or directory</div><div dir="ltr" data-setdir="false"><span>------------------------</span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false">daemon is running but there are no files in <span>/run/user/1000/libvirt</span></div><div dir="ltr" data-setdir="false"><font size="3"><span><br></span></font></div><div dir="ltr" data-setdir="false"><div><font size="2" face="courier new, courier, monaco, monospace, sans-serif"><span style="color:#000000;background-color:#ffffff;">[root@wsa libvirt]# systemctl | grep libvirt
</span><br><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">libvirt</span><span style="color:#000000;background-color:#ffffff;">d.service                                                                                            loaded active     running   Virtualization daemon                                                 </span><br>                                               <br><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">libvirt</span><span style="color:#000000;background-color:#ffffff;">d-admin.socket                                                                                       loaded active     running   Libvirt admin socket                                                  </span><br>                                               <br><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">libvirt</span><span style="color:#000000;background-color:#ffffff;">d-ro.socket                                                                                          loaded active     running   Libvirt local read-only socket                                        </span><br>                                               <br></font><div><font size="2" face="courier new, courier, monaco, monospace, sans-serif"><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">libvirt</span><span style="color:#000000;background-color:#ffffff;">d.socket                                                                                             loaded active     running   Libvirt local socket    </span></font></div></div><div><br></div><div dir="ltr" data-setdir="false"><div><span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff;">[root@wsa libvirt]# pwd
</span><br>/run/user/1000/libvirt
<br>[root@wsa libvirt]# ls
<br>total 0
<br>77493 0 drwx------.  2 bob bob  40 Oct 12 17:15 <span style="color:#0087ff;background-color:#ffffff;">.</span><span style="color:#000000;background-color:#ffffff;">
</span><br>67976 0 drwx------. 11 bob bob 520 Oct 12 18:00 <span style="color:#0087ff;background-color:#ffffff;">..</span><span style="color:#000000;background-color:#ffffff;">
</span><br>[root@wsa libvirt]# <br>
<br></span></div></div></div></div><div><br></div></div><div dir="ltr" data-setdir="false">I vaguely recall doing something relating to a user libvirt daemon but can't find it or see anything obvious on old machine (same libvirt daemons running on both)</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Any ideas ?<br></div><div dir="ltr" data-setdir="false"><br clear="none"></div><div><br clear="none"></div>
        
        </div></div></div></div><div id="ydpebb8a888yiv1885152088yqt30058" class="ydpebb8a888yiv1885152088yqt9306648986"><div id="ydpebb8a888yiv1885152088ydpe2a4a198yahoo_quoted_5927373654" class="ydpebb8a888yiv1885152088ydpe2a4a198yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Monday, 10 October 2022 at 15:02:50 BST, Cole Robinson <crobinso@redhat.com> wrote:
                </div>
                <div><br clear="none"></div>
                <div><br clear="none"></div>
                <div><div dir="ltr">On 10/8/22 9:36 AM, Bob Power wrote:<div id="ydpebb8a888yiv1885152088ydpe2a4a198yqtfd22405" class="ydpebb8a888yiv1885152088ydpe2a4a198yqt0639068844"><br clear="none">> Hi,<br clear="none">> <br clear="none">> I'm moving "stuff" to a new machine. (Rocky 8.4 to Alma 8.6)<br clear="none">> <br clear="none">> I have been using virt-manager on the old machine.<br clear="none">> <br clear="none">> I want to open virt-manager on the the new machine and see what I saw on<br clear="none">> the old machine - the connections and list of VMs under those connections.<br clear="none">> <br clear="none">> I have copied everything under /etc/libvirt/qemu over but no joy.<br clear="none">> <br clear="none">> The man pages (man virt-manager) do not list any files.<br clear="none">> <br clear="none">> Can anyone give me a list of file paths used by virt-manager when it<br clear="none">> starts up to populate the GUI</div><br clear="none"><br clear="none">virt-manager's connection list is stored in dconf. But it's probably not<br clear="none">worth trying to transfer that over, instead manually `File->Open<br clear="none">Connection` and recreate the list.<br clear="none"><br clear="none">If once connected to local qemu:///system your VMs aren't showing up,<br clear="none">and you copied over /etc/libvirt/qemu files, you may need to restart<br clear="none">libvirtd or virtqemud (or reboot). The proper way to do this would have<br clear="none">been `sudo virsh dumpxml $VMNAME > $VMNAME.xml` on the source and then<br clear="none">`sudo virsh define $VMNAME.xml` on the dest.<br clear="none"><br clear="none">- Cole<div id="ydpebb8a888yiv1885152088ydpe2a4a198yqtfd39737" class="ydpebb8a888yiv1885152088ydpe2a4a198yqt0639068844"><br clear="none"><br clear="none"></div></div></div>
            </div>
        </div></div></body></html>