[PVE-User] windows remote desktop services as VM on proxmox

Daniel Bayerdorffer danielb at numberall.com
Fri Jan 21 21:35:11 CET 2022


Hi Daniel,

Thank you so much for your help. That link at the end with the Group Policy Settings is what solved my issue!

Kind Regards,
Daniel

-- 
Daniel Bayerdorffer, VP danielb at numberall.com 
Numberall Stamp & Tool Co., Inc. www.numberall.com 
Reuleaux Models  www.reuleauxmodels.com
CypherSafe  www.cyphersafe.io
PO BOX 187, Sangerville, ME 04479 USA 
TEL: 207-876-3541 FAX: 207-876-3566

----- Original Message -----
From: "Daniel Plominski" <dpl at ass.de>
To: "Proxmox VE user list" <pve-user at lists.proxmox.com>
Sent: Thursday, January 20, 2022 1:26:36 AM
Subject: Re: [PVE-User] windows remote desktop services as VM on proxmox

Hello Daniel Bayerdorffer,

Long story briefly explained on the example of an AMD server with NVIDIA 
graphics card (on Proxmox 6.4 / 7):

1. activate IOMMU, deactivate framebuffer

root at assg25:~# cat /etc/kernel/cmdline
root=ZFS=rpool/ROOT/pve-1 boot=zfs amd_iommu=on iommu=pt video=efifb:off
root at assg25:~#
root at assg25:~# update-initramfs -u -k all

2. deactivate (nativ) Kerneldrivers

root at assg25:~# cat /etc/modprobe.d/blacklist.conf
blacklist radeon
blacklist nouveau
blacklist nvidia
blacklist nvidiafb
blacklist snd_hda_intel
root at assg25:~#

3. load vfio drivers

root at assg25:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

# EOF
root at assg25:~#

4. search for the appropriate graphics card entry

root at assg25:~#
root at assg25:~# lspci -v > /tmp/GPU_INFO
root at assg25:~#
root at assg25:~# grep -A 30 "Quadro P1000" /tmp/GPU_INFO

root at assg25:~# lspci -n -s 27:00
27:00.0 0300: 10de:1cb1 (rev a1)
27:00.1 0403: 10de:0fb9 (rev a1)
root at assg25:~#

5. configure vfio.conf

root at assg25:~# cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:1cb1,10de:0fb9 disable_vga=1
root at assg25:~#

6. host reboot

sync
update-initramfs -u -k all
proxmox-boot-tool refresh
sync; reboot

7. create a windows vm in ovmf (uefi) mode, machine type: pc-q35-5.2, 
cpu with hidden and hv-vendor-id flag and gpu (hostpci) passthrough

root at assg25:/etc/pve/qemu-server# cat 216.conf
#
#term41gpu
#
#GPU - PCIe 27%3A00
#
agent: 1,type=virtio
balloon: 0
bios: ovmf
boot: order=virtio0;net0
cores: 12
cpu: host,hidden=1,hv-vendor-id=proxmox
efidisk0: local-zfs:vm-216-disk-1,size=1M
hostpci0: 27:00,pcie=1
machine: pc-q35-5.2
memory: 73728
name: term41gpu
net0: virtio=XX:XX:XX:XX:XX:XX,bridge=vmbr107,firewall=1
numa: 1
ostype: win10
scsihw: virtio-scsi-single
smbios1: uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
sockets: 2
startup: order=116
virtio0: local-zfs:vm-216-disk-0,iothread=1,size=256G
vmgenid: XXXXXXX-XXXX-XXXX-XXXXXXXXXXXX
root at assg25:/etc/pve/qemu-server#

8. install the windows server drivers from nvidia

https://www.nvidia.de/Download/driverResults.aspx/176988/de

9. activate the necessary RemoteFX settings using the active-directory 
group policies (or the local ones)

https://www.leadergpu.com/articles/483-how-to-enable-gpu-rendering-for-microsoft-remote-desktop-on-leadergpu-servers


ASS - Der Bildungseinrichter GmbH
Mit freundlichen Grüßen

DANIEL PLOMINSKI
Leitung IT | Head of IT

Telefon 09265 808-151 | Mobil 0151 58026316 | dpl at ass.de
PGP Key: https://pgp.ass.de/dpl@ass.de.asc
PGP Fingerprint: 74DBC06BD9F63187C4DF8934C96585A89CFC10B3

		 Company Logo

			ASS-Einrichtungssysteme GmbH 		
			ASS-Adam-Stegner-Straße 19 | D-96342 Stockheim

			Geschäftsführer: Matthias Stegner, Michael Stegner, Ralph Müller 		
			Amtsgericht Coburg HRB 3395 | Ust-ID: DE218715721
Bottom_Line


_______________________________________________
pve-user mailing list
pve-user at lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user




More information about the pve-user mailing list