···11+# Windows VM Integration
22+33+A seamless Windows 11 VM setup that integrates with your Linux desktop environment via Docker and RDP.
44+55+> **First-time startup will take significantly longer** as the container needs to:
66+> - Download the Windows 11 ISO (~5GB)
77+> - Install and configure Windows
88+> - This can take 30-60 minutes depending on your internet connection
99+1010+After the initial setup, subsequent launches will be much faster (2-3 minutes). See [dockur/windows](https://github.com/dockur/windows) for more details on the setup process.
1111+1212+## Files
1313+1414+- `docker-compose.yml` - Docker Compose configuration for Windows 11 VM
1515+- `start-windows.sh` - Automated launch script with lifecycle management
1616+- `../../../linux_applications/.local/share/applications/windows-vm.desktop` - Desktop entry for application launcher
1717+1818+## How It Works
1919+2020+### Launch Process
2121+1. **Desktop Integration**: Appears as "Windows VM" in your application launcher
2222+2. **Container Management**: Starts Docker container with Windows 11
2323+3. **Health Monitoring**: Waits for container to be running and web interface to respond
2424+4. **RDP Connection**: Automatically opens RDP connection (1920x1200 resolution)
2525+5. **Auto-Cleanup**: When you close RDP, the Windows VM automatically shuts down
2626+2727+### Configuration
2828+- **OS**: Windows 11
2929+- **Resources**: 8GB RAM, 4 CPU cores
3030+- **Acceleration**: KVM support for better performance
3131+- **Storage**: Persistent storage mounted to `~/windows`
3232+- **Network**:
3333+ - RDP: `127.0.0.1:3389`
3434+ - Web Interface: `http://127.0.0.1:8006`
3535+3636+### Key Features
3737+- **Smart Waiting**: Monitors Docker container health and web interface before launching RDP
3838+- **Signal Handling**: Properly handles interruptions with cleanup
3939+- **UWSM Integration**: Runs as a managed Hyprland application
4040+- **One-Click Experience**: Single click to boot Windows and connect
4141+- **Automatic Shutdown**: VM stops when RDP session ends
4242+4343+## Usage
4444+4545+### Via Desktop Launcher
4646+Simply click "Windows VM" from your application launcher.
4747+4848+### Via Command Line
4949+```bash
5050+./start-windows.sh
5151+```
5252+5353+### Manual Docker Management
5454+```bash
5555+# Start container
5656+docker-compose up -d
5757+5858+# Stop container
5959+docker-compose down
6060+6161+# View logs
6262+docker-compose logs -f
6363+```
6464+6565+## Requirements
6666+6767+- Docker and Docker Compose
6868+- `rdesktop` for RDP client
6969+- `netcat` (`nc`) for port checking
7070+- `curl` for web interface health checks
7171+- KVM support for hardware acceleration
7272+7373+Thanks to https://github.com/dockur/windows for the windows docker image, that does all the hard work.
7474+7575+## Troubleshooting
7676+7777+- **Container starts but RDP fails**: Check if Windows is fully booted via web interface at http://127.0.0.1:8006
7878+- **Slow startup**: Windows VM needs 2-3 minutes for full boot, script waits automatically
7979+- **Connection refused**: Ensure no other services are using ports 3389 or 8006
8080+- **Performance issues**: Verify KVM acceleration is available (`/dev/kvm` device)
8181+8282+Perfect for occasional Windows-only tasks while staying in your Linux workflow.