首页
Flask
Flask部署
Git
linux
Python
UPS
VPN
Web
Windows
其他
Win10内置Ubuntu系统开启UI界面
删除
×
是否确定删除!
# Win10内置Ubuntu系统开启UI界面 ### 1. 开启SSH sudo apt install openssh-server 配置SSH nvim /etc/ssh/sshd_config Port = 22 # 默认是22端口,如果和windows端口冲突或你想换成其他的否则不用动 #ListenAddress 0.0.0.0 # 如果需要指定监听的IP则去除最左侧的井号,并配置对应IP,默认即监听PC所有IP PermitRootLogin no # 如果你需要用 root 直接登录系统则此处改为 yes PasswordAuthentication no # 将 no 改为 yes 表示使用帐号密码方式登录 连接报意外数据,sshd_config 最后追加 KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1 启动SSH服务 sudo service ssh start 如果提示 sshd error: could not load host key 则需要重新生成 key dpkg-reconfigure openssh-server 链接:https://blog.csdn.net/zhouzme/article/details/81087837 ### 2. Win10 安装Xming 链接:https://sourceforge.net/projects/xming/ 打开XLaunch, 设置Display number 0 链接:http://www.uuc.me/1211.html ### 3. 安装火狐浏览器 wget https://ftp.mozilla.org/pub/firefox/releases/52.0/firefox-52.0.linux-x86_64.sdk.tar.bz2 sudo tar xvjf firefox-52.0.linux-x86_64.sdk.tar.bz2 sudo ln -s /home/zhao/firefox-sdk/bin/firefox /usr/bin/firefox ### 4. Ubuntu 安装桌面系统 sudo apt install ubuntu-desktop ###4. Xshell 配置 Xshell配置隧道,使能转发X11连接,配置X DISPLAY: localhost:0.0