Hello,
After the updation of lxd 4.4, I am trying to create a windows VM on a remote linux server. I am using this document for the creation. After the step lxc console vmname --type=vga, I am getting the following
LXD automatically uses either spicy or remote-viewer when present. As neither could be found, the raw SPICE socket can be found at: spice+unix:///root/.config/lxc/sockets/
How can I use VGA console to see the installer boot? Can anyone please explain?
sorry, I need more clarification about that. In my case, I configured LXD on a remote Linux server and created VM through ssh, Now I am trying to connect the VM from my windows laptop to perform the installation.
How can I connect to the VM to perform the installation?
LXD will not expose the spice socket over the network. You can run a service inside the VM if you like and expose that over the network.
The way to access the console remotely using LXD is to install the lxc client on your local machine and then interact with the LXD server over the network by setting lxc remotes.
Then you would connect to the local spice socket created by the lxc command.
Just add --debug to the command and start from there. It can be done but you’ll need a spice client to integrate with, spice-html5 is the one LXDMosaic uses.