> For the complete documentation index, see [llms.txt](https://kawsing.gitbook.io/opensystem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kawsing.gitbook.io/opensystem/windows/windows-wsl2/an-zhuang-zhuo-mian.md).

# 安裝桌面

安裝桌面

```
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install xfce4
```

取得當前的IP

```
ifconfig
export DISPLAY=yourIP:0
```

安裝windows Xerver

{% embed url="<https://sourceforge.net/projects/vcxsrv/>" %}

![](/files/-M5AC1_zcfq7FaNukglA)

![](/files/-M5AC75oFHW4rG3bBLZm)

![](/files/-M5ACBtsleBtT4YpVD5n)

![](/files/-M5ACGrYtqFcf5_X-IGs)

啟動linux桌面

```
startxfce4
```

![](/files/-M5ACam6xABt6zjXJAwT)
