Disable Wayland system-wide, fix VM 100 install for Ubuntu Desktop

- Step 11.11: rewrite install steps for Ubuntu Desktop (not Server)
- Step 11.13: new step — sed one-liner to force Xorg via gdm3/custom.conf
- Step 11.14: add Wayland disable for VM 101, update VM 102 to Windows install
- Explain why Wayland breaks WinApps tsclient home drive sharing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-06-27 16:55:15 +00:00
parent 82827f9939
commit 37a45259eb
+69 -39
View File
@@ -2583,43 +2583,37 @@ qm set 102 -scsi1 /dev/disk/by-id/PLACEHOLDER_SYNC_DRIVE
--- ---
### Step 11.11 — Install Ubuntu in VM 100 ### Step 11.11 — Install Ubuntu Desktop in VM 100
In the left panel, click **100 (frigate)** → click **Start** (▶ button). In the left panel, click **100** → click **Start** (▶ button).
Open the console: click **Console** at the top. This opens a noVNC session in Open the console: click **Console** at the top. This opens a noVNC session.
your browser.
Wait for the Ubuntu GRUB menu to appear. Select **Try or Install Ubuntu Wait for the Ubuntu GRUB menu → select **Try or Install Ubuntu** → press Enter.
Server** and press Enter.
Work through the Ubuntu Server installer: Work through the Ubuntu Desktop installer:
1. **Language:** English (or your preference) 1. **Language:** English (or your preference)
2. **Keyboard:** your layout 2. **Accessibility:** skip
3. **Type of install:** Ubuntu Server (not minimised — minimised is missing tools 3. **Keyboard:** your layout
you need) 4. **Connect to internet:** the VirtIO NIC auto-detects, gets DHCP — continue
4. **Network connections:** the VirtIO NIC auto-detects and gets a DHCP IP. 5. **What do you want to do?** → **Install Ubuntu**
**Note the IP address** — you will use it for SSH in the next step. 6. **How do you want to install?** → **Interactive installation**
5. **Proxy:** leave blank 7. **Applications:** Default selection
6. **Ubuntu archive mirror:** leave at default (or a nearby mirror) 8. **Optimise your computer:** check both boxes (install restricted extras, download updates)
7. **Storage:** 9. **Disk setup:** → **Manual partitioning** or **Erase disk and install Ubuntu**
- **Guided storage layout** → **Use an entire disk** - Select the **64 GiB** virtual disk (scsi0 — the small one)
- Select the **64GB** virtual disk (the scsi0 OS disk — shows as ~64.4 GB) - **Do not touch the large data drives** — leave them completely alone
- Leave LVM enabled 10. **Time zone:** your location
- **Do not select the large 3.6TB data drives** — those will become a ZFS 11. **Create account:**
pool in Phase 12 - Name / hostname: `vm100`
8. **Profile setup:** - Username: your preference
- Server's name: `frigate`
- Username: `ubuntu` (or your preference)
- Password: something strong - Password: something strong
9. **SSH:** check **Install OpenSSH server** → Yes - **Enable auto-login** if this is a desktop you sit at
10. **Featured server snaps:** skip all 12. **Ready to install:** click **Install**
Click **Done** on the summary screen. The install takes 510 minutes. Install takes 1015 minutes. When done click **Restart Now**. Proxmox ejects
the ISO automatically.
When installation finishes: **Reboot Now**. Proxmox ejects the ISO
automatically. When the login prompt appears in the console, the OS is ready.
--- ---
@@ -2647,22 +2641,58 @@ ssh ubuntu@192.168.1.XXX
If SSH connects, close the noVNC console tab — you will not need it again. If SSH connects, close the noVNC console tab — you will not need it again.
> **Recommended:** Set a DHCP reservation in your router for VM 100's MAC > **Recommended:** Set a DHCP reservation in your router for VM 100's MAC
> address so its IP stays stable. Frigate's web UI and stream URLs depend on > address so its IP stays stable.
> a predictable IP.
--- ---
### Step 11.13 — Install Ubuntu in VM 101 ### Step 11.13 — Disable Wayland, force Xorg
**VM 101 (Desktop):** Start the VM, open the console, and work through the Ubuntu 24.04 defaults to Wayland. WinApps file sharing (`\\tsclient\home`)
Ubuntu Desktop installer. Use `vm101` as the hostname. The desktop installer breaks under Wayland due to FreeRDP limitations — tsclient mounts as empty.
is graphical — click through the screens. When prompted for storage, install Force Xorg system-wide with one command:
only to the 64GB OS disk; leave the data drives untouched.
**VM 102 (Server):** Repeat steps 11.911.10. Use `vm102` as the hostname. ```bash
ssh ubuntu@192.168.1.XXX
During the storage step in each VM: install Ubuntu only on the small OS disk. # Uncomment WaylandEnable=false in GDM config
Leave the large data drives untouched — they are for you to configure later. sudo sed -i 's/#WaylandEnable=false/WaylandEnable=false/' /etc/gdm3/custom.conf
# Verify the line is now active (should print: WaylandEnable=false)
grep WaylandEnable /etc/gdm3/custom.conf
# Restart the display manager to apply
sudo systemctl restart gdm3
```
After GDM restarts, log back in. Verify Xorg is active:
```bash
echo $XDG_SESSION_TYPE # should print: x11
```
> **Why this matters beyond WinApps:** Wayland also has issues with some GPU
> passthrough configurations, screen sharing tools, and remote desktop clients.
> Xorg is the more stable choice for a server-side desktop running inside a VM.
---
### Step 11.14 — Install Ubuntu in VM 101
Start VM 101, open the console, and work through the Ubuntu Desktop installer.
Use `vm101` as the hostname. When prompted for storage, install only to the
64 GiB OS disk — leave the data drives untouched.
After first login, disable Wayland on VM 101 as well (same command as Step 11.13):
```bash
sudo sed -i 's/#WaylandEnable=false/WaylandEnable=false/' /etc/gdm3/custom.conf
sudo systemctl restart gdm3
```
**VM 102 (Windows 11):** Boot from the Windows 11 ISO, work through the
installer. Use `windows-sync` as the hostname. Install to the 128 GiB OS disk.
After install, format the dedicated Sync.com data drive as NTFS in Disk
Management, then install the Sync.com desktop client and point it at that drive.
--- ---