Why was the Windows 10 October update that problematic? Watch Now

If you have a PC running Windows 10 Pro or Enterprise, Microsoft recently made it much easier to run Ubuntu Linux. In September, they added a customized Hyper-V image for Ubuntu 18.04.1 LTS, the Long Term Support version of the open-source operating system, to Hyper-V's one-click Quick Create gallery.

Click to enlarge

× ubuntu-in-hyper-v.jpg

What's especially interesting about this ready-made virtual machine is that it supports the open-source xrdp package. That support allows the use of Remote Desktop Protocol, which makes it possible to run Ubuntu in a so-called enhanced session, in full screen mode, with a shared Clipboard and shared drives.

Also: Windows 10 tip: Repair your Windows 10 installation

Setting up the Ubuntu VM is easy, but there are a few tricks that will help you avoid frustration. Follow along with me (and remember, this only works on Windows 10 Pro or Enterprise; if you're running Windows 10 Home, you need to upgrade).

Make sure Hyper-V is enabled. You'll find the instructions here: "How to enable Hyper-V and create virtual machines." Open the Hyper-V Manager and, in the Actions pane on the right, click Quick Create. From the list of ready-made OS packages on the left, select Ubuntu 18.04.1 LTS, as shown in the screenshot above. Click Create Virtual Machine. That downloads the Ubuntu image and creates the virtual machine, complete with support for xrdp. When you see the Virtual Machine Created Successfully dialog box, click Edit Settings to make any adjustments, or just click Connect to begin setting up Ubuntu for the first time.

Most of the initial setup is straightforward, but one step is crucial: When you create your user account, do not select the Log In Automatically option. Doing so will cause xrdp to fail, and will cause you hours of frustration. Trust me on this one.

After setup is complete, you can sign in to Ubuntu for the first time and complete whatever configuration you need to complete.

When you're ready to sign in to an enhanced session so that you can run your Ubuntu VM in a full-screen window, be sure to sign out of the basic session first. Unlike in a Windows 10 VM, you can't switch between basic and enhanced sessions.

Must read

When you sign in to an enhanced session, you'll see an Xorg dialog box, where you enter the credentials for your Ubuntu account. Enter the username and password exactly as you created them, and you should find yourself working in a full-screen session, exactly as if you had booted into Ubuntu Linux.

PREVIOUS AND RELATED CONTENT