Windows Installing Linux Subsystem – Installing the GUI Interface

Windows install Linux subsystem–install GUI interface

I found Windows some time ago You can install the Linux subsystem, just as the computer has changed to a solid state, and Linux has not been installed yet, so it’s better to take the opportunity to experience it!

1. Preparations
1.1. Open the sub-system function of Windows

1.2. Open Windows Developer Mode
Open Settings –>Update and Security –>For developers, select Developer Mode –>OK

After confirming, restart the computer and the system will update the configuration.

2, install the Linux subsystem
2.1, search and install the Linux subsystem in the Windows store

Here is an example of installing Ubuntu.

After the installation is complete, it will be displayed on the start interface like ordinary software

>

After running, you need to create an account and set a password, and the system will log in with this account by default in the future.

2.2. Change source, update
The built-in source is too slow to install the software. It is recommended to change to the source of Alibaba Cloud.

It is recommended to use the sudo -s command to change to the root user first

Enter the directory
1 sudo cp /etc/apt/sources.list /etc/apt/sources.list. bak #Backup
2 sudo vim /etc/apt/sources.list #Modify
Copy the source of Aliyun into it
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http: //mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http:// mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
Update list

sudo apt-get update

3 、Install GUI
3.1 Install VcXsrv
Download URL https://sourceforge.net/projects/vcxsrv/

After installation, there will be two programs, namely XLaunch and VcXsrv, they can be used To remotely access linux. So in fact, here is to use them to access linux in the command line.

Start Xlaunch,

Choose: “one large window”, display number is set to 0, other defaults are fine:

3.2 Install Desktop Environment in Ubuntu
It is recommended to use root user operation (use sudo -s command to change to root user)

sudo apt-get install ubuntu-desktop
sudo apt-get install unity
sudo apt-get install compizconfig-settings-manager
The pro-test installation is very slow, so be patient!

Next, configure the display mode

export DISPLAY=localhost:0
ccsm

Share picture share picture Share a picture Share a picture Share a picture Share a picture Share a picture Share a picture Share a picture Share a picture Share a picture

Some time ago, I found that Windows can install Linux subsystems. It just happened that the computer changed to a solid state and Linux was not installed yet, so it’s better to take the opportunity to experience it!

1. Preparations
1.1. Open the sub-system function of Windows

1.2. Open Windows Developer Mode
Open Settings –>Update and Security –>For developers, select Developer Mode –>OK

After confirming, restart the computer and the system will update the configuration.

2, install the Linux subsystem
2.1, search and install the Linux subsystem in the Windows store

Here is an example of installing Ubuntu.

After the installation is complete, it will be displayed on the start interface like ordinary software

>

After running, you need to create an account and set a password, and the system will log in with this account by default in the future.

2.2. Change source, update
The built-in source is too slow to install the software. It is recommended to change to the source of Alibaba Cloud.

It is recommended to use the sudo -s command to change to the root user first

Enter the directory
1 sudo cp /etc/apt/sources.list /etc/apt/sources.list. bak #Backup
2 sudo vim /etc/apt/sources.list #Modify
Copy the source of Aliyun into it
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http: //mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http:// mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
Update list

sudo apt-get update

3, Install GUI
3.1 Install VcXsrv
Download URL https://sourceforge.net/projects/vcxsrv/

After installation, there will be two programs, namely Xlaunch and VcXsrv, which can be used Remote access to linux. So in fact, here is to use them to access linux in the command line.

Start Xlaunch,

Choose: “one large window”, display number is set to 0, other defaults are fine:

3.2 Install Desktop Environment in Ubuntu
It is recommended to use root user operation (use sudo -s command to change to root user)

sudo apt-get install ubuntu-desktop
sudo apt-get install unity
sudo apt-get install compizconfig-settings-manager
The pro-test installation is very slow, so be patient!

Next, configure the display mode

export DISPLAY=localhost:0
ccsm

Share picture share picture Share a picture Share a picture Share a picture Share a picture Share a picture Share a picture Share a picture Share a picture Share a picture

Some time ago I discovered that Windows can install the Linux subsystem, which coincides with The computer has changed to a solid state, and Linux has not been installed yet, so it’s better to take the opportunity to experience it!

1. Preparations
1.1. Open the sub-system function of Windows

1.2. Open Windows Developer Mode
Open Settings –>Update and Security –>For developers, select Developer Mode –>OK

After confirming, restart the computer and the system will update the configuration.

2, install the Linux subsystem
2.1, search and install the Linux subsystem in the Windows store

Here is an example of installing Ubuntu.

After the installation is complete, it will be displayed on the start interface like ordinary software

>

After running, you need to create an account and set a password, and the system will log in with this account by default in the future.

2.2. Change source, update
The built-in source is too slow to install the software. It is recommended to change to the source of Alibaba Cloud.

It is recommended to use the sudo -s command to change to the root user first

Enter the directory
1 sudo cp /etc/apt/sources.list /etc/apt/sources.list. bak #Backup
2 sudo vim /etc/apt/sources.list #Modify
Copy the source of Aliyun into it
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http: //mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http:// mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
Update list

sudo apt-get update

3. Install GUI
3.1 Install VcXsrv
Download URL https://sourceforge.net/projects/vcxsrv/

After installation, there will be two programs, namely Xlaunch and VcXsrv, which can be used for remote access linux. So in fact, here is to use them to access linux in the command line.

Start Xlaunch,

Choose: “one large window”, display number is set to 0, other defaults are fine:

3.2 Install Desktop Environment in Ubuntu
It is recommended to use root user operation (use sudo -s command to change to root user)

sudo apt-get install ubuntu-desktop
sudo apt-get install unity
sudo apt-get install compizconfig-settings-manager
The pro-test installation is very slow, so be patient!

Next, configure the display mode

export DISPLAY=localhost:0
ccsm

Leave a Comment

Your email address will not be published.