1、在重新打开软件之后出现闪退
解决:[WSL] 解决nsenter: cannot open /proc/320/ns/time: No such file or directory 问题 小白向-CSDN博客2、重新启动xrdp服务命令
解决:
sudo systemctl restart xrdp
3、将端口从3389改为3390,因为此前默认的3389端口已保留用于ubuntu shell时出错
解决:设置端口时多次找不到文件,如sudo sed -i 's/port=3389/port=3390/g' /etc/xrdp/xrdp.ini
sed: can't read /etc/xrdp/xrdp.ini: No such file or directory,这种情况都一样,不管是在安装xorg,xfce4,还是在xrdp,只要出现这种情况就把该指令重新输入一遍,把该配置重新装一次,然后注意要及时更新源文件:apt-get update // 更新安装源(Source);apt-get upgrade // 更新已安装的软件包;
4、安装总流程
超详细Windows10/Windows11 子系统(WSL2)安装Ubuntu20.04(带桌面环境)_wsl桌面环境-CSDN博客