me1237guy@RTX3060:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
me1237guy@RTX3060:~$ neofetch
me1237guy@RTX3060:~$ sudo apt install -y xfce4
me1237guy@RTX3060:~$ sudo apt install xfce4-goodies
複製貼上下面四行指令
me1237guy@RTX3060:~$ sudo cp /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.ini.bak
sudo sed -i 's/3389/3390/g' /etc/xrdp/xrdp.ini
sudo sed -i 's/max_bpp=32/#max_bpp=32\nmax_bpp=128/g' /etc/xrdp/xrdp.ini
sudo sed -i 's/xserverbpp=24/#xserverbpp=24\nxserverbpp=128/g' /etc/xrdp/xrdp.ini
複製貼上下面指令
> echo xfce4-session > ~/.xsession
me1237guy@RTX3060:/etc/xfce4$ sudo nano /etc/xrdp/startwm.sh
me1237guy@RTX3060:/etc/xfce4$ sudo /etc/init.d/xrdp start
參考資料:
Install Desktop GUI for WSL | WSL Enable Desktop Guide
留言列表