filmov
tv
Launch Ubuntu In SECONDS Using WSL2 With GUI (Broken)

Показать описание
Introduction:
This guide will walk you through the process of setting up Windows Subsystem for Linux (WSL) on your Windows 10 machine and run Ubuntu in seconds with GUI (GNOME). By following these steps, you will be able to run Linux commands and applications directly on your Windows system, without the need for a virtual machine.
Before you can use WSL, you will need to enable a few Windows features. To do this, open the Command Prompt and run the following commands:
Now that the necessary features are enabled, you can install WSL by running the following commands:
$ wsl --install
$ Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
To check which version of WSL you have installed, use the following command:
$ wsl -l -v
To set the default version of WSL to version 2, use the following command:
$ wsl --set-default-version 2
Once you have Ubuntu installed, you can update it by running the following commands:
$ sudo apt update
$ sudo apt upgrade
To install Gnome on Ubuntu, run the following command:
$ sudo apt install ubuntu-desktop gnome
To configure display for GUI application, open bashrc by running the following command:
$ nano ~/.bashrc
Paste the following in bashrc:
export LIBGL_ALWAYS_INDIRECT=1
To enable systemd, use the following commands:
$ cd ubuntu-wsl2-systemd-script/
To shut down WSL2, use the following command:
$ wsl --shutdown
To start a Gnome session, use the following command:
$ gnome-session
With these steps, you should now have WSL set up and configured on your Windows 10 machine. You can now run Linux commands and applications directly on your system, and even use a GUI interface with the help of XLaunch and Gnome. Remember to keep your Linux distribution updated and enjoy the power of Linux on Windows.
#wsl #ubuntu #windows10 #windows11 #it #cybersecurity
This guide will walk you through the process of setting up Windows Subsystem for Linux (WSL) on your Windows 10 machine and run Ubuntu in seconds with GUI (GNOME). By following these steps, you will be able to run Linux commands and applications directly on your Windows system, without the need for a virtual machine.
Before you can use WSL, you will need to enable a few Windows features. To do this, open the Command Prompt and run the following commands:
Now that the necessary features are enabled, you can install WSL by running the following commands:
$ wsl --install
$ Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
To check which version of WSL you have installed, use the following command:
$ wsl -l -v
To set the default version of WSL to version 2, use the following command:
$ wsl --set-default-version 2
Once you have Ubuntu installed, you can update it by running the following commands:
$ sudo apt update
$ sudo apt upgrade
To install Gnome on Ubuntu, run the following command:
$ sudo apt install ubuntu-desktop gnome
To configure display for GUI application, open bashrc by running the following command:
$ nano ~/.bashrc
Paste the following in bashrc:
export LIBGL_ALWAYS_INDIRECT=1
To enable systemd, use the following commands:
$ cd ubuntu-wsl2-systemd-script/
To shut down WSL2, use the following command:
$ wsl --shutdown
To start a Gnome session, use the following command:
$ gnome-session
With these steps, you should now have WSL set up and configured on your Windows 10 machine. You can now run Linux commands and applications directly on your system, and even use a GUI interface with the help of XLaunch and Gnome. Remember to keep your Linux distribution updated and enjoy the power of Linux on Windows.
#wsl #ubuntu #windows10 #windows11 #it #cybersecurity
Комментарии