win 上安装wls 和ubutu 桌面系统

科学inter后,运行如下命令 安装

 

wsl -l -v
If you see an output this means that WSL is installed. If not, to install WSL, you need to type
wsl --install

wsl --list --online


wsl --install -d Ubuntu-24.04


wsl -l -v
Another way to start Ubuntu is to go back to the power shell and to type

wsl -d Ubuntu-24.04

 

sudo apt update

sudo apt upgrade

sudo apt install tasksel

sudo tasksel

 

Here, we will select GNOME, to do that use the keyboard arrows to navigate and press space to select, then, press TAB to move to OK and press enter.

 sudo apt install xrdp -y

sudo systemctl status xrdp

 

posted on 2025-06-22 14:52  jiapengchu  阅读(20)  评论(0)    收藏  举报

导航