win10子系统Linux(Ubuntu系统)打开chrome无声音

我在win10系统下打开子系统Linux(Ubuntu系统)安装chrome后,用xming打开chrome,然后打开优酷播放视频没有声音。用xming打开linux应用会没有声音吗?

可以参考一下这篇博文:Setting Up WSL with Graphics and Audio(为Windows子系统设置图像和音频)

WSL does not natively support audio devices. If you start Firefox under WSL, you will not hear anything. Neither will audio players work. Usually, audio support under WSL is unnecessary because Windows already provides better support for your music/video needs. If, for whatever reason, you want to hear audio playing under WSL, there is a way to do it. You will need to set up PulseAudio both under both Windows and WSL.

温馨提示:答案为网友推荐,仅供参考
第1个回答  2018-07-23
1.安装Xming
2.安装完直接打开Xming即可
3.安装一个firefox测试
apt-get install firefox
4.运行(在程序指令前加上"DISPLAY=:0 ")
DISPLAY=:0 firefox
5.简化配置
每次运行程序都要输入DISPLAY=:0挺累的,执行下列指令后重启bash(输入bash,即可重启)即可省去这个步骤echo "export DISPLAY=:0.0" >> ~/.bashrc
6.输入firefox,即可产生界面!追问

不知道你哪里抄的。但是请你看一下我的问题好吗?我的问题是已经用xming打开了google-chrome,但是没有声音。