I installed Ubuntu 24.04 LTS on my Windows 11 PC using the following command.
wsl --install -d Ubuntu-24.04
Then, installed XFCE GUI using the following commands. Source here.
sudo apt update && sudo apt -y upgradesudo apt-get install -y xfce4 xfce4-goodiessudo apt-get install xrdpsudo cp /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.ini.baksudo sed -i 's/3389/3390/g' /etc/xrdp/xrdp.inisudo sed -i 's/max_bpp=32/#max_bpp=32\nmax_bpp=128/g' /etc/xrdp/xrdp.inisudo sed -i 's/xserverbpp=24/#xserverbpp=24\nxserverbpp=128/g' /etc/xrdp/xrdp.inisudo nano /etc/xrdp/startwm.sh# test -x /etc/X11/Xsession && exec /etc/X11/Xsession# exec /bin/sh /etc/X11/Xsession# xce4startxfce4sudo systemctl enable dbussudo /etc/init.d/dbus startsudo /etc/init.d/xrdp start
And then connected to the GUI using Windows Remote Desktop. The GUI works fine. However, I can not open terminal emulator whilst inside GUI. The terminal runs vi WSL command line:
xfce4-terminal
Does anybody known what could be the problem and how can I fix it?