enable linux,Enable Linux Desktop Environment on Windows 10 在Windows10上启用Linux桌面环境

66b52468c121889b900d4956032f1009.png

8种机械键盘轴体对比

本人程序员,要买一个写代码的键盘,请问红轴和茶轴怎么选?

Dual Language Article. To change the language, select in TOC at the left.

双语文章。若要修改语言,选择左侧的目录进行切换。

Right now, using X server, CCSM, Compiz and other components with Bash On Ubuntu On Windows, You can now run Linux desktop environment from Windows desktop.

main.pngRetrieved from this post in BashOnWindows GitHub site.

For Unity:Run following code on Bash On Windows:1

2echo "export DISPLAY=:0.0" >> ~/.bashrc

sudo sed -i 's$.*$tcp:host=localhost,port=0$' /etc/dbus-1/session.conf

Install VcXsrv and open XLaunch. Choose “One large window” with display number as 0 like this:

1.png

Other settings leave as default and finish the configuration.

Now open bash, install ubuntu-desktop, unity and ccsm:1sudo apt-get install ubuntu-desktop unity compizconfig-settings-manager

Export the display:1export DISPLAY=localhost:0

and open ccsm.

2.png

Inside ccsm mouse pointer may be not visible due to icon not loaded. Enable the following plugins.

3.png

4.png

Now close ccsm and open compiz.

5.png

Compiz will load and seconds later unity will show up.

6.png

To exit from unity close bash or kill compiz, the only way of closing unity.

For XFCE:The same configuration for VcXsrv applies here.

Install xfce4-session:1sudo apt-get install xfce4-session

and run xfce4-session.

中文从BashOnWindows GitHub网站上的文章 进行整理和翻译。

现在,只要你利用X server, CCSM, Compiz和其他组件,与Bash On Ubuntu On Windows相互配合,你现在可以在Windows 10上直接运行Linux桌面环境.除非你是Linux发烧友,不建议使用此Linux桌面环境。

Unity桌面环境:在 Bash On Windows运行以下代码:1

2echo "export DISPLAY=:0.0" >> ~/.bashrc

sudo sed -i 's$.*$tcp:host=localhost,port=0$' /etc/dbus-1/session.conf

安装VcXsrv并打开XLaunch。 选择 “One large window” 并在display number 输入0,如图:

1.png

一路next下去就行,直到他完成配置

打开Bash On Windows并安装 ubuntu-desktop,unity 和 ccsm:1sudo apt-get install ubuntu-desktop unity compizconfig-settings-manager

输出显示:1export DISPLAY=localhost:0

并打开ccsm。

2.png

ccsm中可能显示不出鼠标指针,因为没有加载玩所有内容。如图选择插件。

3.png

4.png

现在关闭ccsm并打开 compiz.

5.png

Compiz会花些时间载入,稍稍等待下桌面环境就会出现

6.png

关闭桌面环境的方法只能是关闭bash窗口,或者杀Compiz进程。

XFCE桌面环境:使用与Unity同样的方法配置VcXsrv。(1-4步)

安装xfce4-session:1sudo apt-get install xfce4-session

并运行xfce4-session.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值