openvpn icon indicating copy to clipboard operation
openvpn copied to clipboard

WSLg apps are disappearing when I connect to a VPN server with OpenVPN

Open speller opened this issue 2 years ago • 4 comments

Describe the bug WSLg apps disappear when I connect to a VPN server with OpenVPN. The processes of these apps keep running but no UI at all.

To Reproduce

  • Run a GUI app under WSL2v2 Ubuntu distro.
  • Connect to a VPN server.

Expected behavior WSLg apps keep running normally.

Version information (please complete the following information):

  • OS: Windows 11 10.0.22631.2506, WSL2 Ubuntu 22.04, WSL version: 2.0.6.0
  • OpenVPN version: 2.6.5
  • OpenVPN GUI: 11.43.0.0

It seems that WSLg uses network connections to communicate with the Linux subsystem and these connections got interrupted on VPN connection.

speller avatar Nov 14 '23 07:11 speller

To me it looks more like WSLg issue, no?

lstipakov avatar Nov 14 '23 08:11 lstipakov

The builtin Windows VPN client doesn't cause this issue. This is why I decided to file an OpenVPN bug.

speller avatar Nov 14 '23 08:11 speller

This may be related to a known WSL bug (e.g., see https://github.com/microsoft/wslg/issues/1092 and ones linked there).

selvanair avatar Feb 15 '24 19:02 selvanair

This may be related to a known WSL bug (e.g., see microsoft/wslg#1092 and ones linked there).

Apologies, yes, you are correct. I've deleted my comment.

greghenderson1986 avatar Feb 15 '24 20:02 greghenderson1986