Skip to content

xwayland doesn't close #843

@lewisdonofrio

Description

@lewisdonofrio

Version

Microsoft Windows [Version 10.0.25206.1000]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.15.62.1

Distro Version

Ubuntu 20.04

Other Software

No response

Repro Steps

setup using ms store 20.04 LTS then configure as outlined by https://tinyurl.com/donofrioworkremmina2020 mainly:
1.) wsl --install (type from admin powershell prompt)
2.) setup using Microsoft Store to install Ubuntu 20.04.01 LTS
From ubuntu terminal
3.) sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y && sudo apt-get autoremove -y && sudo apt-get autoclean -y && sudo sync && sudo sync
4.) sudo apt-get install inxi -y
inxi -Fxz
5.) sudo apt-get install xfce* xfce-* hexchat inxi ubuntu-desktop -y
6.) cp .bashrc .bashrc-backup
7.) echo "export DISPLAY=localhost:0.0" >> ~/.bashrc
8.) echo "export LIBGL_ALWAYS_INDIRECT=1" >> ~/.bashrc
9.) echo "export NO_AT_BRIDGE=1" >> ~/.bashrc
10.):sudo chown root -r /tmp/.ICE-unix/
11 ) sudo service cron start && sudo service cups start && sudo service dbus start
12.) Xwayland :1 &
WAYLAND_DISPLAY= DISPLAY=:1 xfce4-session

Expected Behavior

once xwayland session exited from parent (Xwayland :1 &) then the "top-level window" (penguin icon/window) aka "x close window" should exit the Xwayland session but it doesn't and only fix I've found is to logout/restart w11 machine

Actual Behavior

xwayland window just stays open (usable if I start up another session but if I am finished and want to clean up the tasktray it is still running - though cannot see in taskman)

Diagnostic Logs

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions