首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Ubuntu for windows 10子系统

Ubuntu for windows 10子系统
EN

Ask Ubuntu用户
提问于 2020-08-08 15:40:05
回答 1查看 13.8K关注 0票数 1

我已经按照官方信息页面中的所有步骤安装了UbuntuforWindows10Subsystem (WSL2)。当我从Windows 10的start菜单中单击Ubuntu时,它会输出以下内容:

代码语言:javascript
运行
复制
Welcome to Ubuntu 20.04 LTS (GNU/Linux 4.19.104-microsoft-standard x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Sat Aug  8 17:13:27 CEST 2020

  System load:  0.35               Processes:             8
  Usage of /:   0.5% of 250.98GB   Users logged in:       0
  Memory usage: 1%                 IPv4 address for eth0: 172.25.240.158
  Swap usage:   0%
   
0 updates can be installed immediately.
0 of these updates are security updates.
  
The list of available updates is more than a week old.
To check for new updates run: sudo apt update

This message is shown once once a day. To disable it please create the
/home/iskandar/.hushlogin file.
iskandar@iskandarbasal-dell-2019:~$

我的问题是:如何获得Ubuntu的主界面并从图形界面使用它?在哪里可以创建上述消息中所指示的文件?

EN

回答 1

Ask Ubuntu用户

发布于 2020-08-10 14:19:06

默认情况下,

没有桌面环境或窗口系统。

不过,您可以通过安装X来运行GUI应用程序。

微软技术社区网站上有一篇关于这里的文章。

通过安装VcXsrv Windows服务器并导出"DISPLAY“变量,作者提供了一些步骤

代码语言:javascript
运行
复制
export DISPLAY="`grep nameserver /etc/resolv.conf | sed 's/nameserver //'`:0"

(需要将该命令添加到/etc/bash.bashrc以使其永久化)

票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1265531

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档