I used
''' sudo apt-get install qemu-kvm libvirt0 virt-manager libguestfs-tools '''
While trying to install metasploitable 2 and the surrounding functions from https://www.kalilinux.in/2020/09/metasploitable-2-installing-on-kali.html but when i typed
''' virt-manager '''
to open the virtual machine manager this is what i get
''' Unable to init server: Could not connect: Connection refused ''' ''' Unable to init server: Could not connect: Connection refused ''' ''' Unable to init server: Could not connect: Connection refused '''
''' (virt-manager:21766): Gtk-WARNING **: 23:39:47.100: cannot open display: '''
what do I need to do ?