Jump to content

Guide to installing Windows 10 VM in Qubes 4.0.2-rc1 [Fedora RDP]


Recommended Posts

A guide on how to setup Windows 10 in Qubes 4.0.2-rc1, and then how to login using RDP in a Fedora Qube for clipboard anf file sharing. If you are finding this tutorial, I am going to skip some of the basic how to install Windows 10 shenanigans, as that's a bit redundant.


First read through the original guide a few times to get a feel for this.


What I did was get the Win10 ISO from MS download tool and put that windows.ISO file on a usb drive.

I then took this file and put it inside a qube's download folder. Once there we use the official Qubes docs. Choose your qube and folder the ISO was placed in for the last step here.

  • Create a new Qube:
    • Name: Win10, Color: red
    • Standalone Qube not based on a template
    • Networking: sys-firewall (default)
    • Launch settings after creation: check
    • Click “OKâ€�.
  • Settings:
    • Basic:
      • System storage: 30000+ MB
    • Advanced:
      • Include in memory balancing: uncheck
      • Initial memory: 4096+ MB
      • Kernel: None
      • Mode: HVM
    • Click "Apply".
    • Click "Boot from CDROM":
      • "from file in qube":
        • Select the qube that has the ISO.
        • Select ISO by clicking"¦".
      • Click 'OK" to boot into the windows installer.

Setup Windows 10 as usual, each time the Qube resets the VM will close, keep starting up again until you get to the login screen. Make sure to put some type of password in as we will use this username and password to login through RDP later in the guide.

Setup RDP in Windows 10. Enable Remote Desktop in Settings > System

Next we need a Fedora qube running freerdp and a firewall qube. I cloned the Fedora 30 template and sys-firewall templates. Because sys-firewall is based off of the Fedora 30 template lets install freerdp in there, I also installed nano since I prefer that to edit files.

open up terminal in fedora-30 templateVM.

sudo dnf --refresh install freerdp
sudo dnf install nano

Clone the sys-firewall qube and I called mine sys-firewall-RDP so I knew which one to mess around with.

Clone fedora-30 templateVM and use sys-firewall-RDP for your network, call it whatever, fedora-RDP for eaxmple.

Lets get the firewall to talk between Win10 qube and our new fedora-RDP qube.

We need the IP addresses of both of these qubes for the next step. Open a terminal in sys-firewall-RDP qube.

Qube A - fedora-RDP (
Qube B - Win10 (

sudo nano /rw/config/qubes-firewall-user-script
iptables -I FORWARD 2 -s -d -j ACCEPT
iptables -I FORWARD 2 -s -d -j ACCEPT

save this and next file to edit

sudo nano /rw/config/rc.local
iptables -I INPUT -s -j ACCEPT
iptables -I INPUT -s -j ACCEPT

Restart the sys-firewall-RDP qube.

Open fedora-RDP terminal and Win10 qubes. I was able to ping from fedora-RDP and now we are getting close.

a sample run of freerdp

xfreerdp /u:<USERNAME> /p:<PASSWORD> /v:<WIN10 QUBE IP>:3389
xfreerdp /u:buzzkillb /p:denariusrocks /v:

Some magic  should happen and now you RDP'd into Windows 10.

Lets add clipboard sharing and file sharing.

xfreerdp /u:buzzkillb /p:denariusrocks /v: /drive:software,/home/user/Downloads /clipboard

this will create a Windows shared folder called software in the fedora-RDP qube and share with /home/user/Downloads and also allow copy and paste text.

lets just show some extra power of this. regedit this to 1 in your Windows 10 Qube.

xfreerdp /u:buzzkillb /p:denariusrocks /v: /drive:software,/home/user/Downloads /clipboard /app:"C:\Windows\explorer.exe"

This line will open a windows of just the Windows File Explorer. I ended up creating a start.sh file with these lines like this.


xfreerdp /u:buzzkillb /p:denariusrocks /v: /drive:software,/home/user/Downloads /clipboard /app:"C:\Windows\explorer.exe"

What would be sweet is putting start.sh into /usr/local/bin and creating a desktop icon in the fedora-RDP qube, to pull these things up like they are in typical Qubes format. I will add more as I play around with this. Next will also be how to run a GPU for games.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...