sxueck / talks

0 stars 0 forks source link

Windows平台下最优雅的Linux虚拟化方案(WSL2+X410) | epimetheus #3

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Windows平台下最优雅的Linux虚拟化方案(WSL2+X410) | epimetheus

安装 WSL2 版本的 Debian $ wsl --set-default-version 2 $ wsl --install -d debian $ wsl -l -v NAME STATE VERSION * docker-desktop-data Running 2 Debian Stopped 2 docker-desktop Running 2 Linux 系统内安装依赖 $ sudo apt update $ sudo apt upgrade $ sudo apt install vim openssh-server xfce4 xfce4-terminal dbus-x11 netcat 配置项 在 /etc/ssh/ssh_config 中启用 ForwardX11 yes 启动 $ echo $DISPLAY 172.28.80.1:0.0 $ nc -vz 172.28.80.1 6000 Connection to 172.28.80.1 6000 port [tcp/x11] succeeded!

https://www.sxueck.com/posts/wsl2-x410/

lingyf commented 2 years ago

Mark 一下👍