using Linux as virtual machine in Windows 11 (Ubuntu/mint on Hyper-v/VMware)

Anonymous
2024-08-07T19:07:09+00:00

I have tried to run a linux on windows 11 through the use of Hyper-v [updated] and then VMware Workstation Pro but none works! For ubuntu 22.04 LST, after booting with "Try or Install Ubuntu", installation neither appears on the screen on the first opening nor is opened by clicking on its icon on desktop. Even Terminal does not open, and after a short appearing on the top corner it disappears.

For mint22, it said "failed to start lightdm.service" during booting. 

I am not expert in Linux, just I need it for running some applications. I'll be appreciated if you can help me with this. Thx

Notes: the state "safe graphics" for Ubuntu and "compatibility" for mint have checked. CPU numbers and RAM amounts also changed. None was effective! I've seen different Youtube samples before running.

*** Moved from Windows / Windows 11 / Apps / Windows apps ***

Windows for business Windows Client for IT Pros Storage high availability Virtualization and Hyper-V

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-08-13T01:50:03+00:00

    Hi Admin,

    Hope you're doing well.

    1. Ensure that Hyper-V is properly enabled on your Windows 11 machine. You can do this by searching for "Turn Windows features on or off" and making sure the Hyper-V option is checked. Verify that the virtual machine settings in Hyper-V are correctly configured, including the amount of memory and CPU cores allocated.
    2. Make sure that Hyper-V is disabled when using VMware Workstation Pro, as they can conflict with each other. Ensure that the virtual machine settings in VMware Workstation Pro are correctly configured, including the amount of memory and CPU cores allocated.
    3. Since you mentioned using "safe graphics," try booting with the "nomodeset" option. This can sometimes help with graphical issues during installation. You can add this option by pressing 'e' at the GRUB menu and adding 'nomodeset' to the end of the line starting with 'linux'.
    4. If the Terminal and installation options are not appearing, it might be a corrupted ISO file. Try downloading a fresh copy of the Ubuntu 22.04 LTS ISO from the official website and creating a new virtual machine.
    5. The "failed to start lightdm.service" error indicates an issue with the display manager. You can try switching to a different display manager like 'gdm3' or 'sddm'.
    6. Ensure that you have selected the compatibility mode during boot. This can sometimes help with hardware compatibility issues.
    7. Similar to Ubuntu, ensure that the virtual machine settings are correctly configured, including the amount of memory and CPU cores allocated.

    What's more, if you only need Linux for running applications and not a full desktop environment, consider using WSL. It allows you to run Linux distributions directly on Windows without the overhead of a virtual machine.

    Best Regards

    0 comments No comments