diff --git a/docs/libvirt.md b/docs/libvirt.md index 43b6c75..6019c05 100644 --- a/docs/libvirt.md +++ b/docs/libvirt.md @@ -680,7 +680,7 @@ Scroll down to `Remote Desktop`, and enable `Enable Remote Desktop`. At this point, you will need to restart the Windows virtual machine. -## Configuring a Fallback Shared Folder +## (Optional) Configuring a Fallback Shared Folder When connecting to Windows through FreeRDP, your home folder will be shared automatically. However, this sharing setup does not apply when using Windows via virt-manager. To configure a fallback shared folder, follow these steps: 1. Navigate to "Virtual Hardware Details", then "Memory" and then check the box for "Enable shared memory". @@ -697,6 +697,41 @@ When connecting to Windows through FreeRDP, your home folder will be shared auto 5. Reboot Windows. +## (Optional) Configuring a Static IP Address +1. Identify the Windows MAC address. + ```bash + virsh dumpxml "RDPWindows" | grep "mac address" + ``` + +2. Edit the virtual network configuration. + 1. Identify the correct network name. + ```bash + virsh net-list # Will likely return "default" + ``` + + 2. Edit the configuration file. + ```bash + virsh net-edit "default" # Replace "default" with the appropriate network name if different + ``` + + 3. Update the `` section in the configuration file using the MAC address you obtained earlier. In the below example, "RDPWindows" has MAC address "df:87:4c:75:e5:fb" and is assigned the static IP address "192.168.122.2". + ```xml + + + + + + + ``` + + 4. Restart the virtual network. + ```bash + virsh net-destroy "default" # Replace with the correct name on your system + virsh net-start "default" # Replace with the correct name on your system + ``` + + 5. Reboot Windows. + ## Installing Windows Software and Configuring WinApps You may now proceed to install other applications like 'Microsoft 365', 'Adobe Creative Cloud' or any other applications you would like to use through WinApps.