♪³ 安装系统
微软商店下载即可
♪³ 安装图形桌面
打开Windows功能,打开“适用于Linux的Windows子系统”和“虚拟机平台”
打开终端,依次输入以下命令:
powershell1wsl --list --online2wsl --install -d <安装的版本全称>3
以下在Ubuntu界面输入:
bash1sudo apt-get update2
回到终端输入:
powershell1wsl -l -v2wsl --update3
以管理员身份打开终端:
powershell1dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart23dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart4
在Ubuntu中输入:
bash1lsb_release -a2sudo apt update && sudo apt -y upgrade3sudo apt install xrdp4sudo apt install -y xfce45calc6exit7sudo apt install -y xfce4-goodies8sudo vi /etc/xrdp/startwm.sh9service xrdp status10sudo /etc/init.d/xrdp start11ip a12sudo apt-get install xfce4-terminal13
之后使用Windows自带的远程桌面即可访问
如果要安装gnome桌面则参考:
wsl安装ubuntu并设置gnome桌面

