📜  如何设置显示 xServer wsl win10 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:44.328000             🧑  作者: Mango

代码示例1
export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0
export LIBGL_ALWAYS_INDIRECT=1

sudo apt update
sudo apt install x11-apps