This steps can be used to connect to the graphical console of one Guest when you are performing a manteinance, and flexVDI Manager or flexVDI agent is stopped.
If you have more than one host, and you don't know on which one the Guest machine is running, you will have to log in each host with ssh, and run:
# virsh dominfo MYGUEST |
until you find the host where the guest called MYGUEST is running.
Once logged in to the right Host, run:
# virsh domdisplay MYGUEST spice://localhost:5902 |
In this example, it is running in port 5902
Log in with ssh to the flexVDI host where the guest is running, and set a spice password of MYPASSWORD, makingit valid for 300000 seconds
# virsh qemu-monitor-command MYGUEST --hmp set_password spice MYPASSWORD # virsh qemu-monitor-command MYGUEST --hmp expire_password spice +300000 |
Now you can connect with
$ flexvdi-client spice://HOST_IP:HOST_PORT?password=MYPASSWORD For instance $ flexvdi-client spice://10.0.0.100:5902?password=MYPASSWORD |
Alternatively, you can use a different spice client, like remote-viewer. You will be prompted for the spice URI (spice://10.0.0.100:5902) and spice password (MYPASSWORD)