| ▲ | WinApps: Run Windows apps as if they were a part of the native Linux OS(github.com) |
| 158 points by klaussilveira 4 days ago | 55 comments |
| |
|
| ▲ | jonp888 4 hours ago | parent | next [-] |
| This system works by launching an official Windows image in Docker and then making an RDP connection to it. There are a couple of others too now like WinBoat What all of them avoid mentioning is that the images were intended by Microsoft for test and development purposes on Windows and the license clearly states you need a valid Windows license to use them: https://hub.docker.com/r/microsoft/windows#license I wonder if Microsoft will take some action to enforce this if these projects become popular. Edit: This comment is incorrect, see below comment from
doctorpangloss |
| |
| ▲ | kachapopopow 3 hours ago | parent | next [-] | | https://get.activated.win wouldn't be online if microsoft cared. | | | |
| ▲ | RealStickman_ 3 hours ago | parent | prev | next [-] | | Most laptops have included Windows 10 or 11 licenses, which are valid for this use | | |
| ▲ | BlaDeKke 3 hours ago | parent [-] | | Last time i checked a Windows 10 and 11 license does not permit running Windows in a virtualized environment. That could have changed by now. | | |
| ▲ | sschueller 27 minutes ago | parent [-] | | Last time I checked I did not agree to be bombarded with ads and have all my data tracked after paying 100+ for a piece of software... | | |
| ▲ | Hasnep 16 minutes ago | parent | next [-] | | You kinda did... > By accepting this
agreement and using the software you agree that Microsoft may collect, use, and disclose
the information as described in the Microsoft Privacy Statement [...] Doesn't make it okay, just legal https://www.microsoft.com/content/dam/microsoft/usetm/docume... | |
| ▲ | user_7832 11 minutes ago | parent | prev [-] | | Umm actually, you did. You also waived off the right to name your firstborn, and if you disagree, you’ve waived off your right to anything except arbitration. Sorry, I didn’t make the rules. (Friendly reminder that legality, once again, ≠ morality. Victimless crimes can be illegal, and Enron fucking shit up and filing bankruptcy can be legal.) |
|
|
| |
| ▲ | yjftsjthsd-h 4 hours ago | parent | prev | next [-] | | I don't get it. Is it a VM in a container? Skimming https://hub.docker.com/r/microsoft/windows I would have interpreted that as a native Windows container, which I vaguely recall being a thing, but that would require an NT host, not Linux. | | | |
| ▲ | doctorpangloss 3 hours ago | parent | prev [-] | | no, this system does not work by launching the windows containers on windows mcr.microsoft.com/windows images it works by using dockurr, which is a great project but a worse way to distribute windows in the sense that it gets installed instead of downloaded and executed |
|
|
| ▲ | GaryBluto 2 hours ago | parent | prev | next [-] |
| I see it's time for the bimonthly reinvention of VirtualBox and VMWare's seamless modes from a few faceless techies on GitHub and designed for people who can't be bothered to use WINE or VirtualBox. |
| |
| ▲ | torginus 6 minutes ago | parent | next [-] | | And unfortunately it has become the norm in open-source to push out shiny-looking projects with pretty logos and UX but shoddy underlying technology and deceptive/overstated claims (looking at you Tauri). Thing thing uses RDP for communication which was designed for remotely administering servers over low speed networks. VirtualBox in contrast integrates at the driver level, and allows you to share the underlying GPU buffers, giving you a native experience that works for things like games or heavy apps. It integrates the Linux filesystem on a driver level as well. | |
| ▲ | fsh an hour ago | parent | prev | next [-] | | Except these seamless modes have been broken for many years. Also using a containerized Windows means one doesn't have to fiddle with the insane Windows 11 setup process and TPM issues. | | | |
| ▲ | prox 2 hours ago | parent | prev [-] | | As someone who is looking to go Linux, do most windows apps work now through Wine or VirtualBox ? I know Valve did a lot of work for games. It’s been 4 years since I even took a good look at it. | | |
| ▲ | MattPalmer1086 41 minutes ago | parent | next [-] | | Just anecdata, but the few things I use via Wine have all worked fine. I use yabridge so I can use windows VSTs in my Linux DAW. Games (if they don't use kernel level anti cheat systems) are all flawless with Proton. But, I honestly don't have a need to use much other windows only software. Almost everything I need to use has Linux versions, or alternatives that fit my needs. | |
| ▲ | SapporoChris 2 hours ago | parent | prev | next [-] | | Most things work great. There are some niche things that do not work so well.
Example: SteamVR,Vive VR Hub, some AntiCheat for games. | |
| ▲ | Jnr 2 hours ago | parent | prev [-] | | A lot of them do, but for almost everything there are native alternatives. I haven't used Wine directly in years, only indirectly through Steam. |
|
|
|
| ▲ | andai 5 hours ago | parent | prev | next [-] |
| Thought "isn't that just Wine" but no! They are virtualizing it! And integrating them seamlessly with Linux desktop somehow! Looks pretty cool. I remember playing with something similar in Virtualbox, it had a seamless mode too. It was a bit janky, and I think they removed it recently. I used it in the old days, to have MSN messenger on Ubuntu :) |
| |
| ▲ | Krutonium 4 hours ago | parent | next [-] | | Seamless Mode didn't work for anything newer than... XP, I think, as a guest? So it makes sense they'd drop it. Fun while it lasted though! | |
| ▲ | userbinator 5 hours ago | parent | prev [-] | | They are virtualizing it! This is incidentally how Windows 386-9x ran DOS applications - in a VM, using V86 mode. | | |
| ▲ | tommica 4 hours ago | parent [-] | | > This is incidentally how Windows 386-9x ran DOS applications - in a VM, using V86 mode. Oh that is cool! Somehow I imagined that virtualization is more of a "modern" concept, but clearly that is naive thinking. | | |
| ▲ | pfix 3 hours ago | parent [-] | | History
edit A form of virtualization was first demonstrated with IBM's CP-40 research system in 1967, then distributed via open source in CP/CMS in 1967–1972, and re-implemented in IBM's VM family from 1972 to the present. Each CP/CMS user was provided a simulated, stand-alone computer. Source: https://en.wikipedia.org/wiki/Virtualization Sometimes it feels like we don't have any actual innovation in CS anymore and it's all from pre 2000s and only made mainstream starting then. |
|
|
|
|
| ▲ | mathfailure 38 minutes ago | parent | prev | next [-] |
| Does this even work? podman run mcr.microsoft.com/windows:ltsc2019 Trying to pull mcr.microsoft.com/windows:ltsc2019... Error: choosing an image from manifest list docker://mcr.microsoft.com/windows:ltsc2019: no image found in manifest list for architecture amd64, variant "", OS linux |
|
| ▲ | phito 3 hours ago | parent | prev | next [-] |
| How good is it in practice? I've found windows VMs under a Linux host to be frustrating to use, and get poor performances no matter how much resources I throw at it. The clock keeps getting messed up all the time. UI is sluggish. I now use a dedicated windows laptop in RDP and it is such a better experience better than a VM. |
| |
| ▲ | delta_p_delta_x 2 hours ago | parent | next [-] | | > UI is sluggish You absolutely need to pass through a GPU so that DWM.exe is properly accelerated; otherwise, it falls back to the software-accelerated WARP and the performance tanks to ~15 FPS. It doesn't need to be anything powerful; if you have an idle integrated card that you aren't using on the Linux host because you only interact with it through a Web server or SSH (for instance, Proxmox), then pass that through. It's what I do on my home lab which runs a 9950X. Before people raise pitchforks against Linux, this applies there, too, for the record: at work I have a Linux instance just to myself that by any other metric is ridiculously powerful: 64-core Epyc, 96 GB memory, but no iGPU, so remote desktop works very poorly. | |
| ▲ | fsh an hour ago | parent | prev [-] | | It's pretty good. They use XfreeRDP to remote into the container and display individual windows. This somehow performs a lot better than the GPU emulations of VirtualBox or VMware. I guess Microsoft put some effort into optimizing RDP for Terminal Server applications. |
|
|
| ▲ | xg15 39 minutes ago | parent | prev | next [-] |
| So essentially the WSL in reverse? I'm kind of surprised you can "run Windows" in a Docker container at all. Isn't the fundamental restriction of Docker that all containers share the same (linux) kernel? Is there a way for docker to inject a "translation layer" somehow that makes it look like an NT kernel for the Windows processes? |
|
| ▲ | shlip 32 minutes ago | parent | prev | next [-] |
| Well it will work nicely if you have a decently modern setup I guess. But I suspect the experience on a 10+ yo laptop would not be that great. |
|
| ▲ | j16sdiz 3 hours ago | parent | prev | next [-] |
| > Icon in the Public Domain. You can't re-create an icon to circumvent trademark law. Using icon to refer to an application is fair use. I am not sure what's the point of having a public domain icon. |
| |
| ▲ | GaryBluto 3 hours ago | parent | next [-] | | Think of the fact that nobody working on the project even considered that as a helpful warning to not use it. Even more humorous is the fact they decided to repeat this blunder under every single icon instead of neatly below the table. | |
| ▲ | rbits 25 minutes ago | parent | prev [-] | | Who's re-creating an icon? I can only see links to images from Wikipedia |
|
|
| ▲ | Yehia_loay 3 hours ago | parent | prev | next [-] |
| This is cool, When i looked at this i thought it was just WinBoat, Turn's out, it's not
But of course there isn't a way to run it at the same performance as if windows was installed as the main OS. You would always need some kind of virtualization. Anyways, This is a very cool project. Good luck! |
|
| ▲ | BlaDeKke 3 hours ago | parent | prev | next [-] |
| I tried this method for my wife. So she could use ms office in Linux. This isn’t an elegant solution. She’s back to windows 11. We tried… |
| |
| ▲ | jeena 2 hours ago | parent [-] | | I'm using MS Office for Work in the browser. But I just live with the shortcomings specifically in PowerPoint where I can't do connectors for example. | | |
| ▲ | BlaDeKke 2 hours ago | parent [-] | | She only uses that laptop for MS Office. She did actually use the browser version for a few months, but even that is a significant downgrade compared to native apps. MS Office and most popular multiplayer games are the 2 biggest hurdles for Linux adoption at the moment. | | |
|
|
|
| ▲ | terra_nera 3 hours ago | parent | prev | next [-] |
| It really whips the llamas ass .... This popped into my head before I had a second to do a double take. |
|
| ▲ | cromka 4 hours ago | parent | prev | next [-] |
| How about GPU acceleration, for e.g. Affinity? |
| |
| ▲ | BoredPositron an hour ago | parent | next [-] | | Works on wine via vulcan/opencl | |
| ▲ | gigatexal 3 hours ago | parent | prev [-] | | Probably works the same as any other container that needs such acceleration (plex, CUDA) just pass the device over and the CAPs. There are guides online. Whether or not the windows in a container will use it idk. | | |
|
|
| ▲ | hcurtiss 4 hours ago | parent | prev | next [-] |
| Parallels coherence mode in MacOS is similar. |
|
| ▲ | runsonrum 3 hours ago | parent | prev | next [-] |
| I would be looking for a solution to run Minecraft official launcher in Linux. It is heavily integrated with Windows extras such as the Microsoft Store. This is the last holdout to get my children on Linux. |
| |
| ▲ | Tajnymag 19 minutes ago | parent | next [-] | | What is missing from the unofficial Bedrock launcher? https://minecraft-linux.github.io/ | |
| ▲ | jeena 2 hours ago | parent | prev [-] | | What's missing from the launcher available on Linux? I've been using it for many years, but I have never used in on Windows. | | |
| ▲ | specproc 2 hours ago | parent [-] | | There are two editions: Java and Bedrock. Bedrock is the one that's got Realms, which is the easy way to get servers running. Have this problem with my brother and nephew, would love to get the lad on Linux, but this is a real obstacle. |
|
|
|
| ▲ | cyberax 5 hours ago | parent | prev | next [-] |
| Ok. Can you run WSL inside of it? |
| |
|
| ▲ | tonyhart7 2 hours ago | parent | prev | next [-] |
| Windows have wsl and linux have wine,winapps etc at some point in the future, Your OS wouldnt matters because all OS is reaching feature parity |
| |
| ▲ | fsflover an hour ago | parent [-] | | The OS matters, because if it belongs to a mega-corporation, it serves its goals, not yours. Examples: Windows spying on users, iOS not allowing 3rd-party apps without you providing all your private data to Apple. |
|
|
| ▲ | queenkjuul 3 hours ago | parent | prev [-] |
| I've had mixed results with this, recent versions of Adobe in particular gave me trouble. I've been meaning to try WinBoat, but it's based on the same underlying technology (docker+RDP) so I'm guessing I'll hit the same bugs. I was thinking maybe i could alter the code to launch a different RDP client instead of the default. Still, if you just need Office, it's a much more integrated setup than you can easily achieve with VMs. |