Install VcXsrv
Start VcXsrv:
Multiple windows,
Start no client,
Native OpenGL – unchecked,
Disable access control – checked.
Download Pulse audio server from https://www.freedesktop.org/wiki/Software/PulseAudio/Ports/Windows/Support/
Edit ‘etc\pulse\default.pa’
Add
load-module module-native-protocol-tcp auth-ip-acl=YourLinuxOrWSLIp auth-anonymous=1
load-module module-waveout sink_name=output source_name=input record=0
Edit ‘etc\pulse\daemon.conf’
exit-idle-time = -1
Run ‘bin\pulseaudio.exe’
In WSL Ubuntu:
Add to /.bashrc
export DISPLAY=YourMainIp:0
export LIBGL_ALWAYS_INDIRECT=0
export PULSE_SERVER=YourMainIp
sudo apt-get install x11-apps
xeyes
sudo apt-get install mesa-utils
glxgears
glxinfo | grep renderer
glxinfo | grep OpenGL
glxinfo | grep ‘^direct rendering:’
sudo apt install libpulse0
pactl list
sudo apt-get install -y frozen-bubble
frozen-bubble
Leave a Reply