Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Ubuntu Microsoft Open Source Operating Systems Software Linux Technology

Linux On Windows 10: Running Ubuntu VMs Just Got a Lot Easier, Says Microsoft (zdnet.com) 193

Liam Tung reporting for ZDNet: Ubuntu maintainer Canonical and Microsoft have teamed up to release an optimized Ubuntu Desktop image that's available through Microsoft's Hyper-V gallery. The Ubuntu Desktop image should deliver a better experience when running it as a guest on a Windows 10 Pro host, according to Canonical. The optimized version is Ubuntu Desktop 18.04.1 LTS release, also known as Bionic Beaver. Microsoft's work with Canonical was prompted by its users who wanted a "first-class experience" on Linux virtual machines (VMs) as well as Windows VMs. To achieve this goal, Microsoft worked with the developers of XRDP, an open-source remote-desktop protocol (RDP) for Linux based on Microsoft's RDP for Windows. Thanks to that work, XRDP now supports Microsoft's Enhanced Session Mode, which allows Hyper-V to use the open-source implementation of RDP to connect to Linux VMs. This in turn gives Ubuntu VMs on Windows hosts a better mouse experience, an integrated clipboard, windows resizing, and shared folders for easier file transfers between host and guest. Microsoft's Hyper-V Quick Create VM setup wizard should also help improve the experience. "With the Hyper-V Quick Create feature added in the Windows 10 Fall Creators Update, we have partnered with Ubuntu and added a virtual machine image so in a few quick minutes, you'll be up and developing," said Clint Rutkas, a senior technical product manager on Microsoft's Windows Developer Team. "This is available now -- just type 'Hyper-V Quick Create' in your start menu."
This discussion has been archived. No new comments can be posted.

Linux On Windows 10: Running Ubuntu VMs Just Got a Lot Easier, Says Microsoft

Comments Filter:
  • by Anonymous Coward

    It would be nice to have this the other way. I use Linux as my Desktop OS, but it might be nice to run Windows in a VM condom to play games without having to physically disconnect my primary Linux hard drive to keep Microsoft's dirty mitts off of it when I boot Windows.

    • by Anonymous Coward

      Uh, we run Windows on VMs all the time. Apparently the point of the article is that hyper V is still pure shit compared to vmware or nutanix.

    • by Anonymous Coward

      Both Wine and various VM solutions usually run Windows programs just fine.

      And thanks to Valve, now basically any game in the Steam catalogue can run on Linux. Period. Which is huge.
      (Even if it actually runs on a Windows with a Linux backend, since Steam is not actually a Linux application, but merely disguising itself in some Wine wrapper, with the un-Unixy/Linuxy uglinesses hanging out left and right. Like its complete ignorance of LSM rules of where which files should go, its attempt to be its own package

      • [the Steam store's] attempt to be its own package manager instead of using the OS one

        Which is "the OS one"? Linux does not provide a package manager. Nor does GNU alone. Package management under GNU/Linux is currently the job of distributions, and different distributions' package managers tend to be mutually incompatible. So which distribution's package manager should Steam be wrapping?

        • While there are thousands of Linux distributions, simply having .deb and .rpm support covers the vast majority of them. People have been doing this for decades. I'm not saying they shouldn't use their own, but making it sound like an insurmountable task is disingenuous at best.
    • I believe Google is undergoing certification of some Chromebook models to run Windows 10, so that you can run Windows in a Chrome OS window side by side web, desktop Linux and Android apps each in their own sandbox.

    • I was wondering things along the same lines: how about, instead of putting so much work into making it possible to run Linux as a VM under Windows they put a bit of effort into making it possible to dual-boot Windows and Linux? When I bought the laptop I am currently writing on, it came with Windows 8 (YUCK!), and within an hour I had installed Linux on it. But then discovered I couldn't boot into Windows if I wanted, despite still having it on the computer. One purchased external HD and a few hours later,
  • Exactly backwards (Score:5, Insightful)

    by spiritplumber ( 1944222 ) on Tuesday September 18, 2018 @09:52PM (#57339176) Homepage
    Why would I want to run Linux in a Windows VM when I can do the opposite?
    • Comment removed based on user account deletion
      • by tepples ( 727027 )

        Why would I want to run Windows, AT ALL, even in a VM, even with a gun to my head, when there's GNU/Linux?

        One possibility is that the hardware you have isn't very compatible, such as an ASUS Transformer Book T100TA [debian.org], and PC makers specializing in GNU/Linux (such as System76) don't offer replacement laptops in your preferred size range. WSL makes Windows into a hardware abstraction layer (HAL) for a GNU system.

      • by Anonymous Coward

        Why would I want to run Windows, AT ALL...

        Games and specialty applications.

        Unfortunately, developers pander to the masses precisely because they are the masses.

        Microsoft strong-armed enough OEMs through the '90s and into the '00s that they won through ubiquity. Few people try alternatives when Windows comes "free", pre-installed, with every computer you buy.

      • You might not want it, other people do.
        Some people don't even like Linux, imagine that.

      • by Interfacer ( 560564 ) on Wednesday September 19, 2018 @05:52AM (#57340610)

        Because some tools are just plain better on Windows. Quite some years ago I was developing software which needed to run on linux, and the software was multithreaded. The problem was that at the time, debugging multithreaded software on linux sucked donkey balls. Gdb simply could not cope with breakpoints in multithreaded code without crashing.

        Visual studio otoh had no such problems, and was both a very handy tool for developing, debugging, and designing the unit tests. So I developed all infrastructure code with full test coverage on Windows, and then transferred it to a linux box and compiled everything with g++

        Maybe these days, support for those use cases has improved, but at the time there was no reasonable linux based solution.

        • I've had the exact opposite experience developing with Java. Almost all of my tools runs noticeably faster in Linux than in Windows, including the database, IDE, and runtime executables. This is especially amplified when comparing Windows and Linux on machines with an SSD.
          • I code professionally Java and .Net, Eclipse is an inferior IDE on pretty much all aspects compared to Visual Studio. The worst was IDE responsiveness, I can't stand lag and Eclipse did suffer much more than VS.
            • As much as I love open source, I prefer IntelliJ IDEA way more than Eclipse. For some reason, IntelliJ starts much faster, feels snappier, and runs the unit tests much faster in Linux than in Windows. It could have something to do with Windows Defender thrashing the disk as the poster above stated but it's also possible that the Linux JVM has better optimization (I haven't seen recent benchmark comparisons for JVMs of different OSes). For me, one of the biggest advantages of using Linux rather than Windo
              • You'll have to explain to me the behavior your are describing because I don't suffer from it either using VS or Eclipse in windows server 2016 (my dev machine).
    • Well you see, there are these things called games...
    • This. I run windows inside a linux kvm. Would love to run just rdp-apps. Just click on a desktop icon an run almost native powerpoint.
    • Why would I want to run Windows in the first place ?
      even worse :
      Why would I want to run Windows 10 in the first place ?

    • Re:Exactly backwards (Score:4, Interesting)

      by Moskit ( 32486 ) on Wednesday September 19, 2018 @04:39AM (#57340464)

      _You_ can, others maybe cannot.

      There is a large corporate world where people have to run Windows 10 for most of their work (corporate standard, applications etc), but need to do things on Linux side as well (not their main task though).
      Putting all those people on Linux Desktop would be actually counter-productive.

    • by AmiMoJo ( 196126 )

      Linux support for self encrypting drives (OPALv2) is janky. It kinda works but isn't reliable, especially if you need to sleep your machine sometimes.

      You can use software encryption but then you take the performance hit. So Windows host makes sense, and then the Linux VM benefits from the encryption transparently too.

    • Because you prefer the performance on the Windows machine and the downsides for the VM in which you do a few tasks? Not all of us *prefer* or even *can* run Linux as our primary base system.

    • If you're a corporate drone working at a shop where the IT department is run by goons, then you'll have been handed a Windows laptop and can't use anything else. Being able to run a VM gives you a chance to be productive where others aren't. This is as much an attempt by Microsoft to stay relevant as it is an aptitude test for techies everywhere.

    • by MobyDisk ( 75490 )

      A few thoughts on this:
      1) It might be that Linux running under Windows is faster than Windows running in Linux. This is especially important if you are using Windows for games where FPS matters.
      1a) I suspect video game companies doing ports of games might want to operate this way since Visual Studio is their main development tool and corporate desktop environment.
      2) Which VM? There's a variety of VMs that run in Linux.

    • Because then Microsoft doesn't own your computer and have complete control over it.

      Oh and don't worry, before too much longer Microsoft will start trying to make moves to prevent any computer from booting any OS other than Windows, and when Linux users complain they can't built new machines that exclusively run Linux, Microsoft will say "You can run your little Linux OS in a VM, why do you need to boot it directly?" and ignore the complaints.
    • by Xord ( 5060493 )
      One word: Gaming
  • by Anonymous Coward

    Windows 10's update system and the complete lack of control over it has me going the other way. Some of us run simulations that can take days to complete. Some of these machines are on private networks and do not require constant updates. Microsoft has not accounted for this AT ALL. We're moving away completely...

  • Doesn't the host become a baremetal Hyper V and your Windows 10 Pro instance then becomes a guest? I haven't used Gen 2 Hyper V yet so forgive my ignorance.

    • That's the general gist of it, yes. Something similar happens if you are using CredentialGuard or other Virtualization based security features.

  • Do they provide complete source code, including any required compilation scripts and data that can be used to build this exact binary image that they're distributing?

    Because that's what the GPL **requires** them to do.

    • Your comment echoes WSL issue 107 [github.com]. The solution is to enable source debs or source RPMs or whatever in the distribution that you install in WSL, and you will get complete corresponding source code for all packages provided by the distribution.

    • Do they provide complete source code, including any required compilation scripts and data that can be used to build this exact binary image that they're distributing?

      Because that's what the GPL **requires** them to do.

      Requires

      Kernel Side
      hv_* kernel modules (hv_sock.ko) from kernel tree, or if you are using an older RH derivative kernel use Linux Integration Services [github.com]

      Userspace
      XRDP [github.com] / XORGXRDP [github.com]
      And something to help you along - linux-vm-tools [github.com]

  • ...better mouse experience, an integrated clipboard, windows resizing, and shared folders...

    Features that VirtualBox has had for many years.

  • Have they resolved the incompatibility of Hyper-V with other virtualization engines yet? I would love to try it, but enabling Hyper-V has always meant disabling my other VMs, which makes it virtually useless for me.
  • It's now much easier to be vulnerable to both Windows and Linux attacks.
  • by Anonymous Coward

    It wasn't a good experience. You would think, after all this time, that Microsoft could create a VM package that could run a linux distro without all the massive input lag from the mouse. It's performance was abysmal.

    Secondly, Hyper-V causes a few unacceptable conflicts with it just installed on the machine. There was the ATI Radeon Re-Live overlay problem. It took quite some time troubleshooting that issue down to something that isn't even remotely related. Not being able to run other VM software is a

  • I just happen to be working on something where I need a windows port of a python app, and enabling ssh on a windows box is great, and I then ssh into it from from ubuntu laptop, and I can use cmd, powershell, or even bash. great! Installed vim, but I can't use it, the curses library/screen refresh doesn't work properly. If I do man man, I get the first page, and then the following pages don't show up. refresh in vim doesn't work. if I start typing the whole window goes blank. totally unusable. any id
  • I'm still not sure what canonical (ubuntu) thinks they will get out of this deep corporation with microsoft.
    Did MS make them some promises (that we're not aware of)?
    If there is one thing that history has taught us, it's that those who work with MS hardly get any benefit (to put it lightly), still people keep thinking - this time it will be different!

    • How about a lot of users and exposure?

      I work in a Windows centric enterprise at the moment. But we do have some linux systems. And while I don't have one running at the moment, if I need to test or develop linux software, I need to run linux. What is the likely choice for me: a) deploy an ubuntu VM with a couple of mouse clicks and VMS settings, or b) futz around for possibly hours or days with a generic distro and hope I can get everything to work reliably as expected?

      Also, I do think it's a bit silly to l

  • Windows 10 is a glorified spyware and DRM platform. Ubuntu is a vanity project which has done for linux everything that factory farming has done for chickens.

Lots of folks confuse bad management with destiny. -- Frank Hubbard

Working...