Win 10 virtual machine on my local Linux Mint 19 host

Hi
I have followed the instructions on thie page


to set up an LXD Windows 10 Virtual Machine on my Linux Mint home machine. I have set up the virtual container and it is running ( although I note with an ipv6 address. However when I try to access the machine by using the suggested command
sudo lxc console win10 --type=vga
I get
LXD automatically uses either spicy or remote-viewer when present.
As neither could be found, the raw SPICE socket can be found at: …

I also tried
sudo lxc console win10
which took me to a shell prompt and then to a Interface to set
Language
Device Manager
Boot Maintenance Manager

it then attempts to boot with
UEFI
Quemu
IP4
IP6
http ip4 and ip6

All of these fail.

Can anyone point me in the right direction?

Thanks in advance.

Ah, can you try:

  • sudo apt install virt-viewer --no-install-recommends
  • sudo systemctl reload snap.lxd.daemon

This should give you the working GUI access.

Many thanks for your help. These commands worked okay and I do now have the virtual viewer installed and it fires up when I issue the command
sudo lxc console win10 --type=vga

But it is still not progressing to the Widows boot screens. Instead as I mentioned above it goes through the same process of attempting to boot on Ipv4, IPV6, http etc. All of these record an error and then it exts to a command prompt containing the word
shell>
and does not progress any further.

i will try removing and reinstalling the viirtual machine and report back.

Thanks again for your interest.

Can you show lxc config show --expanded NAME (where NAME is the name of your instance)?

Thanks for your continuing help.
The results of lxc config show --expanded are

architecture: x86_64
config:
security.secureboot: “false”
volatile.eth0.host_name: tapfae37708
volatile.eth0.hwaddr: 00:16:3e:1d:8b:3d
volatile.last_state.power: RUNNING
volatile.uuid: c459ef9e-b3d1-430c-ac9c-06cfba9d2fa8
devices:
eth0:
name: eth0
network: lxdbr0
type: nic
iso:
boot.priority: “10”
source: /mnt/Terrabyte/LXD_Containers/Win10_20H2_v2_EnglishInternational_x64-distrobuilder.iso
type: disk
root:
path: /
pool: lxdstore
size: 25GiB
type: disk
ephemeral: false
profiles:

  • default
    stateful: false
    description: “”