X Apps Running In WSL Randomly Stop Displaying On X Server In ...

Skip to content Dismiss alert {{ message }} / WSL Public
  • Notifications You must be signed in to change notification settings
  • Fork 822
  • Star 17.5k
  • Code
  • Issues 1.1k
  • Pull requests 8
  • Discussions
  • Actions
  • Projects
  • Wiki
  • Security
  • Insights
Additional navigation options X apps running in WSL randomly stop displaying on X Server in Windows host #5339New issueNew issueClosedClosedX apps running in WSL randomly stop displaying on X Server in Windows host#5339

Description

@gitbls

gitblsopenedon Jun 4, 2020

Environment Windows build number: Version 10.0.19041.264 Your Distribution version: Debian from the Windows Store with apt update/upgrade done Whether the issue is on WSL 2 and/or WSL 1: WSL 2 Steps to reproduce
  1. Start an Xserver on the Windows system. I've reproduced this with both Xming and the Cygwin Xserver and with 3 or 4 different X apps (xterm, xclock, xcolors, for instance)

  2. Start the Debian WSL app using the icon created when Debian installed

  3. ping hostip (192.168.xx.32 in my case) to confirm. It works.

  4. DISPLAY=192.168.xx.32:0 xterm &

Expected behavior

The X app displays on the host through the Xserver. X app continues to run until I kill the Xserver or the app. Happiness throughout the kingdom.

Actual behavior

At some random point later, the xterm window simply disppears, with no action on my part. This seems to take a few hours sometimes.

A ps aux in Debian still shows the xterm process as active.

I have tried doing some logging to capture the exact timing, but since the xterm and bash processes are still running, it's difficult to determine exactly when the app stopped displaying.

👍7

Metadata

Assignees

No one assigned

Labels

needs-investigationlikely actionable and/or needs more investigationnetwork

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You can’t perform that action at this time.

Từ khóa » Xming Vs Vcxsrv