Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Use Winapps to Run Windows Programs on Linux Computers

Understand Winapps, how it works, key uses, common issues, and practical considerations. Use this clear guide to make informed decisions.

Table of Contents

This practical guide explains how to use winapps to run windows programs on linux computers with clear steps and useful context. It also covers common requirements, potential problems, and the details that can help you get better results.

With WinApps, you can easily manage and run Windows software on Linux, even integrating it into the system and context menus.

Set Up a Virtual Machine Before Installing Winapps

Before installing WinApps for Linux, you need a KVM virtual machine running Windows. The easiest way to do this is to install Virtual Machine Manager.

sudo apt-get install virt-manager

.and add your user to the libvirt group:

sudo usermod -aG libvirt username

Download the KVM VirtIO ISO driver using:

wget https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso

Start Virtual Machine Manager, then from the menu select Edit > Preferences . Check the Enable XML editing box.

Set Up a Virtual Machine Before Installing Winapps - Winapps

Close the dialog box, then click the Create a new virtual machine icon.

Select Local media install , then select your ISO and go through the wizard. The only value you need to change is the machine name, which should be called "RDPWindows" so that WinApps can detect it and make sure you check the Customize configuration before install box.

Set Up a Virtual Machine Before Installing Winapps - Winapps

After clicking Finish , you will need to do additional configuration before installing Windows:

  • In the CPU section, check the box Copy host CPU configuration
  • Still in the CPU section, switch to the XML tab and make sure the clock section says:
  • In Memory , reduce the current allocation to 1024MB
  • In Boot Options , check the box Start virtual machine on host boot up
  • In SATA Disk 1 , select "VirtIO" as the disk bus
  • In the NIC section, set the Device model to "virtio"
  • Click the Add Hardware button at the bottom left of the screen, then select "CDROM" as the device type
  • Click Manage , then select the "virtio-win.iso" file you downloaded earlier

Now, you are ready to start installing Windows, so press the Begin Installation button.

The installation will proceed like on any other device until you are asked: "Where do you want to install Windows?". There is no location because Windows does not have a driver for your virtual machine.

Set Up a Virtual Machine Before Installing Winapps - Winapps

Click Load Driver > Browse . The virtio-win ISO file will be mounted as a drive, so select that file, navigate to amd64 > w10 , then select the w10 driver.

The driver will install and you can continue with the Windows setup process as usual.

Finally, open File Explorer and find the virtio-win ISO, which will be mounted as a drive. Open it, then double click virt-win-gt-64.exe and click through the wizard. Windows will want to "complete your device setup". Click Remind me later to skip the ads, then click Finish on the virtio-win wizard.

Open Microsoft Edge for the first and last time, and then paste https://github.com/Fmstrat/winapps/blob/main/install/RDPApps.reg into the address bar to see some registry entries you need to add.

Right-click Raw above the code snippet, then select Save target as . Download it to a location of your choice, right-click the file in File Explorer and select Merge .

You gave your VM a name earlier and now, you need to change the name that Windows knows.

Click in the search box and type Device Specifications . In the new window, scroll until you see Rename this PC . Click this button, then rename the machine to "RDPWindows". Click Next > Restart Later .

Finally, find Remote Desktop in the sidebar and toggle the button to On.

Now you can install Windows applications like Microsoft Office, Adobe Photoshop, etc.

When you're happy with your toolkit on Windows, reboot the machine but don't log in. Close the viewer and Virtual Machine Manager.

How to Install Winapps for Linux

To connect to your virtual machine, you need to install FreeRDP and WinApps for Linux.

sudo apt-get install -y freerdp2-x11 git clone https://github.com/Fmstrat/winapps.git

Create a new folder for your WinApps configuration in the .config folder:

mkdir ~/.config/winapps

. and use nano to create the config file yourself:

nano ~/.config/winapps/winapps.conf

In the new file, add your Windows username and password:

RDP_USER="David" RDP_PASS="SuperSecretPassword"

Save and exit nano with Ctrl + O then press Ctrl + X .

Move into the WinApps folder and check if the connection to your Windows virtual machine works:

bin/winapps check

How to Install Winapps for Linux - Winapps

You will get a certificate mismatch warning. Enter Y to accept the certificate. Desktop Windows will appear as a full-screen application. Go back to terminal and kill the process with Ctrl + C .

You can now run the WinApps installer:

./installer.sh

The installer will ask if you want to install it for the current user or the entire system, then will check the applications installed in your Windows virtual machine. This process takes a few minutes to complete.

Next, choose how you want to handle WinApps preconfigured applications and others.

How to Install Winapps for Linux - Winapps

Now you can access your Windows applications from the Linux desktop and context menus without having to start a complete Windows desktop or deal with Wine.

Conclusion

Understanding Winapps makes it easier to compare options, avoid common mistakes, and apply the information in this guide more effectively. Review the relevant requirements before making changes or choosing a solution.

FAQ

How do you use winapps to run windows programs on linux computers?

Follow the steps in this guide in order, confirm the required settings or tools, and verify the result before making additional changes.

Is it safe to use winapps to run windows programs on linux computers?

It is generally safe when you follow the recommended instructions, use trusted tools, and avoid changing settings you do not understand.

What should you do if the process does not work?

Recheck the requirements, restart the device or application when appropriate, and review each step for missed settings or compatibility issues.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.