2022-08-15

[개발환경] WSL2 gui 환경설정과 접속.

sudo apt install -y xrdp
sudo apt install -y xfce4
gdm3선택
sudo apt install -y xfce4-goodies

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
sudo vi /etc/xrdp/startwm.sh
#test -x /etc/X11/Xsession && exec /etc/X11/Xsession
#exec /bin/sh /etc/X11/Xsession
#xfce
startxfce4

윈도우 원격데스크탑.
localhost:3390

인터넷브라우져가 없으므로
sudo apt install firefox


댓글 없음:

댓글 쓰기

도커 내부의 hosts에 주소 추가하기

echo "192.168.10.19 happycpu-P620.local" | sudo tee -a /etc/hosts