how to connect to the virtual machine via the WEB interface when starting the video card

Fullmoon

Member
Jun 19, 2020
35
1
13
36
Good afternoon friends. Help solve this problem:
I successfully passtrought the GPU.with such a setting.
I have 2 screens: a monitor and a screen from the PVE console


1592592503041.png

Only a monitor works with this setting (what I need):

1592592617749.png

But then I can not connect to the Virtual computer via the WEB interface
1592592755545.png

Please tell me how to connect to the virtual machine via the WEB interface when starting the video card


args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=willitwork,kvm=off'
bios: ovmf
bootdisk: sata0
cores: 2
cpu: host
efidisk0: local-lvm:vm-100-disk-1,size=128K
hostpci0: 02:00,x-vga=1,pcie=1
ide2: local:iso/Windows_10_64.iso,media=cdrom
machine: q35
memory: 2048
name: CABAL
net0: e1000=CA:14:77:CD:EF:43,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
sata0: local-lvm:vm-100-disk-0,size=50G
scsihw: virtio-scsi-pci
smbios1: uuid=e42af0a0-e46e-455a-9290-667d0da4aeb4
sockets: 1
vmgenid: 511685bf-1095-4a5b-a58b-384367ac2eba
 

Attachments

  • 1592592571677.png
    1592592571677.png
    312 bytes · Views: 2
  • 1592592643198.png
    1592592643198.png
    312 bytes · Views: 2
  • 1592592738583.png
    1592592738583.png
    312 bytes · Views: 2
It's the primary GPU, I think that would make this "intended functionality"

You could try installing some form of remote access service in the VM to gain entry post-boot, but you'll really have to fly blind until then. If it's linux/bsd you may be able to add a serial device and have the early boot stages redirect its output to there.
 
The methods of providing access to a VM through the webconsole rely on creating virtual graphics devices that serve as the primary display for the VM. When you set your PCIE GPU as the "primary GPU", this virtual device no longer seems to fill that role. I don't think you can have both. If the system is Windows, you can RDP or use a VNC server to access the VM from the proxmox machine, but getting it working again through the webconsole may be very difficult.
 
I realized, thanks a lot for the answer:):):):). It’s just that in the branch that I dropped it says that after connecting the GPU, the network card changes and therefore I can’t connect through the console. I understand if this is so, then how to configure it. because I need at least 2 such hosts