HostOnNet Blog

Find VNC port of a KVM Virtual machine in SolusVM

Looking for Linux Server Admin or WordPress Expert? We can help.

To find VNC port of a KVM Virtual machine in SolusVM, first get the Node ID from SolusVM Virtual server details page.

Here the VM ID is kvm120, now to find VNC password, login to the server (Node) that host this VM. Type

cat /home/kvm/VMID/VMID.xml


[root@hon22 ~]# cat /home/kvm/kvm120/kvm120.xml
<domain type='kvm'>
   <type machine='pc'>hvm</type>
   <boot dev='hd'/>
   <boot dev='cdrom'/>
 <clock sync='localtime'/>
    <graphics type='vnc' port='5914' passwd='qrUhZ0kN' listen=''/>
    <disk type='file' device='disk'>
     <source file='/dev/vg1/kvm120_img'/>
     <target dev='hda' bus='virtio'/>
    <disk type='file' device='cdrom'>
     <source file='/home/solusvm/kvm/iso/debian-9.1.0-amd64-netinst.iso'/>
     <target dev='hdc'/>
    <interface type='bridge'>
     <source bridge='br0'/>
     <target dev='kvm120.0'/>
     <mac address='00:16:3c:84:0c:86'/>
    <input type='tablet'/>
    <input type='mouse'/>
    </domain>[root@hon22 ~]#

You will find the VNC password under

You can change VNC password in SolusVM or just edit this file. You will need to restart VM to get the new password working.

Normally on SolusVM, VNC listens on Node server IP, not on virtual machine IP.

Posted in Virtualization

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.