microsoft / wslg

Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
MIT License
10.14k stars 303 forks source link

xcowsay doesn't open a window #490

Open dan1994 opened 3 years ago

dan1994 commented 3 years ago

Environment

Windows build number: 10.0.22000.0
Your Distribution version: 20.04
Your WSLg version: [Open 'Apps and Features' and check the version of 'Windows Subsystem for Linux GUI app support', e.g: 0.2.3.13]

Steps to reproduce

You can access the wslg logs using explorer at: \\wsl$\<Distro-Name>\mnt\wslg (e.g.: \\wsl$\Ubuntu-20.04\mnt\wslg)

W: [pulseaudio] authkey.c: Failed to open cookie file '/home/wslg/.config/pulse/cookie': No such file or directory W: [pulseaudio] authkey.c: Failed to load authentication key '/home/wslg/.config/pulse/cookie': No such file or directory W: [pulseaudio] authkey.c: Failed to open cookie file '/home/wslg/.pulse-cookie': No such file or directory W: [pulseaudio] authkey.c: Failed to load authentication key '/home/wslg/.pulse-cookie': No such file or directory E: [pulseaudio] module-console-kit.c: GetSessionsForUnixUser() call failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files E: [pulseaudio] module.c: Failed to load module "module-console-kit" (argument: ""): initialization failed. E: [rdp-sink] module-rdp-sink.c: RDP Sink - Trying to connect to /mnt/wslg/PulseAudioRDPSink E: [rdp-sink] module-rdp-sink.c: Connected failed E: [rdp-sink] module-rdp-sink.c: RDP Sink - Trying to connect to /mnt/wslg/PulseAudioRDPSink E: [rdp-sink] module-rdp-sink.c: RDP Sink - Connected to fd 12

Date: 2021-10-08 IDT [15:19:15.959] weston 9.0.0 https://wayland.freedesktop.org Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/ Build: 9.0.0-38-g46756d0e [15:19:15.959] Command line: /usr/bin/weston --backend=rdp-backend.so --xwayland --shell=rdprail-shell.so --logger-scopes=log,rdp-backend,rdprail-shell --log=/mnt/wslg/weston.log [15:19:15.959] OS: Linux, 5.10.60.1-microsoft-standard-WSL2, #1 SMP Wed Aug 25 23:20:18 UTC 2021, x86_64 [15:19:15.959] Using config file '/home/wslg/.config/weston.ini' [15:19:15.959] Output repaint window is 7 ms maximum. [15:19:15.960] Loading module '/usr/lib/libweston-9/rdp-backend.so' [15:19:15.966] using FreeRDP version 2.3.2 Date: 2021-10-08 IDT [15:19:15.966] RDP backend: WESTON_RDP_DEBUG_LEVEL: 3 [15:19:15.966] RDP backend: WESTON_RDP_MONITOR_REFRESH_RATE: 60000 [15:19:15.966] RDP backend: timer resolution tv_sec:0 tv_nsec:1 [15:19:15.966] RDP backend: Environment dump - start [15:19:15.966] WSL_DISTRO_NAME= [15:19:15.966] WSL2_SHARED_MEMORY_OB_DIRECTORY=WSL\FCD8593C-BD2D-4A4D-8BAB-972CEC64754C\wslg [15:19:15.966] PWD=/ [15:19:15.966] NAME=dan-desktop [15:19:15.966] WSL_FEATURE_FLAGS=7 [15:19:15.966] SHLVL=1 [15:19:15.966] WSL2_GUI_APPS_ENABLED=1 [15:19:15.966] WSL2_DISTRO_NAME=Ubuntu-20.04 [15:19:15.966] WSL2_VMID=FCD8593C-BD2D-4A4D-8BAB-972CEC64754C [15:19:15.966] =/usr/bin/WSLGd [15:19:15.966] HOME=/home/wslg [15:19:15.966] USER=wslg [15:19:15.966] LOGNAME=wslg [15:19:15.966] SHELL=/bin/bash [15:19:15.966] PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games [15:19:15.966] XDG_RUNTIME_DIR=/mnt/wslg/runtime-dir [15:19:15.966] WAYLAND_DISPLAY=wayland-0 [15:19:15.966] DISPLAY=:0 [15:19:15.966] XCURSOR_PATH=/usr/share/icons [15:19:15.966] XCURSOR_THEME=whiteglass [15:19:15.966] XCURSOR_SIZE=16 [15:19:15.966] PULSE_AUDIO_RDP_SINK=/mnt/wslg/PulseAudioRDPSink [15:19:15.966] PULSE_AUDIO_RDP_SOURCE=/mnt/wslg/PulseAudioRDPSource [15:19:15.966] USE_VSOCK=3 [15:19:15.966] WSL2_DEFAULT_APP_ICON=/usr/share/icons/wsl/linux.png [15:19:15.966] WSL2_DEFAULT_APP_OVERLAY_ICON=/usr/share/icons/wsl/linux.png [15:19:15.966] WESTON_DISABLE_ABSTRACT_FD=1 [15:19:15.966] WSL2_SHARED_MEMORY_MOUNT_POINT=/mnt/shared_memory [15:19:15.966] WESTON_CONFIG_FILE=/home/wslg/.config/weston.ini [15:19:15.966] RDP backend: Environment dump - end [15:19:15.966] Using external fd for incoming connections: 3 [15:19:15.966] Default head is being added [15:19:15.966] Registered plugin API 'weston_rdprail_api_v1' of size 56 [15:19:15.966] RDPAPPLIST_MODULEDIR is set to /usr/lib/rdpapplist [15:19:15.967] RDP backend: use_rdpapplist = 1 [15:19:15.977] RDP backend: use_gfxredir = 1 [15:19:15.977] RDP backend: enable_hi_dpi_support = 1 [15:19:15.977] RDP backend: enable_fractional_hi_dpi_support = 0 [15:19:15.977] RDP backend: debug_desktop_scaling_factor = 0 [15:19:15.977] RDP backend: enable_window_zorder_sync = 1 [15:19:15.977] RDP backend: enable_distro_name_title = 1 [15:19:15.977] RDP backend: enable_copy_warning_title = 0 [15:19:15.977] Using VSOCK for incoming connections: 3 [15:19:15.978] Registered plugin API 'weston_rdp_output_api_v1' of size 16 [15:19:15.978] Head attaching: rdp-0, index:0, is_primary: 1 [15:19:15.978] get_config: attached head [0]: make:(null), mode:(null), name:rdp-0, (0x55cbfd01e400) [15:19:15.978] get_config: attached head [0]: x:0, y:0, width:0, height:0 [15:19:15.978] set_size: attached head [0]: make:weston, mode:rdp, name:rdp-0, (0x55cbfd01e400) [15:19:15.978] set_size: attached head [0]: x:0, y:0, width:0, height:0 [15:19:15.978] Output 'rdp-0' enabled with head(s) rdp-0 [15:19:15.978] Compositor capabilities: arbitrary surface rotation: yes screen capture uses y-flip: no presentation clock: CLOCK_MONOTONIC_RAW, id 4 presentation clock resolution: 0.000000001 s [15:19:15.978] Loading module '/usr/lib/weston/rdprail-shell.so' [15:19:15.979] RDPRAIL-shell: WESTON_RDPRAIL_SHELL_DEBUG_LEVEL: 3. Date: 2021-10-08 IDT [15:19:15.979] wet_shell_init: distro name Ubuntu-20.04 (12) [15:19:15.979] WESTON_RDPRAIL_SHELL_DISABLE_APPEND_DISTRONAME_STARTMEN:1 [15:19:15.980] WSL2_DEFAULT_APP_ICON:/usr/share/icons/wsl/linux.png [15:19:15.980] WSL2_DEFAULT_APP_OVERLAY_ICON:/usr/share/icons/wsl/linux.png [15:19:15.980] WESTON_RDPRAIL_SHELL_DISABLE_BLEND_OVERLAY_ICON_TASKBAR:1 [15:19:15.980] WESTON_RDPRAIL_SHELL_DISABLE_BLEND_OVERLAY_ICON_APPLIST:1 [15:19:15.980] rdp_rail_shell_initialize_notify: shell: distro name: Ubuntu-20.04 [15:19:15.981] app_list_monitor_thread: running in system-distro with user-distro: Ubuntu-20.04 [15:19:15.981] app_list_monitor_thread: open(/proc/self/ns/mnt) [15:19:15.981] app_list_monitor_thread: open(/proc/2/ns/mnt) [15:19:15.981] Loading module '/usr/lib/libweston-9/xwayland.so' [15:19:15.981] app_list_monitor_thread: inotify_add_watch(/usr/share/applications) [15:19:15.983] app_list_monitor_thread: /usr/local/share/applications doesn't exist, skipping.

[15:19:15.983] Registered plugin API 'weston_xwayland_v1' of size 32 [15:19:15.983] Registered plugin API 'weston_xwayland_surface_v1' of size 48 [15:19:15.983] Not using abstract fd for Xwayland [15:19:15.983] xserver listening on display :0 [15:19:15.983] desktop file: /usr/share/applications/gnome-diagnostics-panel.desktop has NoDisplay specified [15:19:15.983] app list entry failed to update: Key:gnome-diagnostics-panel [15:19:15.983] free_app_entry(): (null): /usr/share/applications/gnome-diagnostics-panel.desktop [15:19:15.984] desktop file: /usr/share/applications/snap-handle-link.desktop has NoDisplay specified [15:19:15.984] app list entry failed to update: Key:snap-handle-link [15:19:15.984] free_app_entry(): (null): /usr/share/applications/snap-handle-link.desktop [15:19:15.984] desktop file: /usr/share/applications/yelp.desktop has OnlyShowIn GNOME;Unity; [15:19:15.984] app list entry failed to update: Key:yelp [15:19:15.984] free_app_entry(): (null): /usr/share/applications/yelp.desktop [15:19:15.984] desktop file: /usr/share/applications/rygel.desktop has NoDisplay specified [15:19:15.984] app list entry failed to update: Key:rygel [15:19:15.984] free_app_entry(): (null): /usr/share/applications/rygel.desktop [15:19:15.984] desktop file: /usr/share/applications/gnome-color-panel.desktop has NoDisplay specified [15:19:15.984] app list entry failed to update: Key:gnome-color-panel [15:19:15.984] free_app_entry(): (null): /usr/share/applications/gnome-color-panel.desktop [15:19:15.985] desktop file: /usr/share/applications/gnome-region-panel.desktop has NoDisplay specified [15:19:15.985] app list entry failed to update: Key:gnome-region-panel [15:19:15.985] free_app_entry(): (null): /usr/share/applications/gnome-region-panel.desktop [15:19:15.985] desktop file: /usr/share/applications/gnome-user-accounts-panel.desktop has NoDisplay specified [15:19:15.985] app list entry failed to update: Key:gnome-user-accounts-panel [15:19:15.985] free_app_entry(): (null): /usr/share/applications/gnome-user-accounts-panel.desktop [15:19:15.985] desktop file: /usr/share/applications/gnome-sharing-panel.desktop has NoDisplay specified [15:19:15.985] app list entry failed to update: Key:gnome-sharing-panel [15:19:15.985] free_app_entry(): (null): /usr/share/applications/gnome-sharing-panel.desktop [15:19:15.985] desktop file: /usr/share/applications/gnome-notifications-panel.desktop has NoDisplay specified [15:19:15.985] app list entry failed to update: Key:gnome-notifications-panel [15:19:15.985] free_app_entry(): (null): /usr/share/applications/gnome-notifications-panel.desktop [15:19:15.986] desktop file: /usr/share/applications/byobu.desktop is terminal based app [15:19:15.986] app list entry failed to update: Key:byobu [15:19:15.986] free_app_entry(): (null): /usr/share/applications/byobu.desktop [15:19:15.986] desktop file: /usr/share/applications/gnome-control-center.desktop has OnlyShowIn GNOME;Unity; [15:19:15.986] app list entry failed to update: Key:gnome-control-center [15:19:15.986] free_app_entry(): (null): /usr/share/applications/gnome-control-center.desktop [15:19:15.986] desktop file: /usr/share/applications/gnome-universal-access-panel.desktop has NoDisplay specified [15:19:15.986] app list entry failed to update: Key:gnome-universal-access-panel [15:19:15.986] free_app_entry(): (null): /usr/share/applications/gnome-universal-access-panel.desktop [15:19:15.986] desktop file: /usr/share/applications/org.gnome.Shell.Extensions.desktop has NoDisplay specified [15:19:15.986] app list entry failed to update: Key:org.gnome.Shell.Extensions [15:19:15.986] free_app_entry(): (null): /usr/share/applications/org.gnome.Shell.Extensions.desktop [15:19:15.987] desktop file: /usr/share/applications/mutter.desktop has NoDisplay specified [15:19:15.987] app list entry failed to update: Key:mutter [15:19:15.987] free_app_entry(): (null): /usr/share/applications/mutter.desktop [15:19:15.992] desktop file: /usr/share/applications/gnome-language-selector.desktop [15:19:15.992] Name[en_US]:Language Support (Ubuntu-20.04) [15:19:15.992] Exec:/usr/bin/gnome-language-selector [15:19:15.992] TryExec:(null) [15:19:15.992] WorkingDir:(null) [15:19:15.992] Icon name:preferences-desktop-locale [15:19:15.992] Icon file:(null) [15:19:15.992] app list entry updated: Key:gnome-language-selector, Name:Language Support (Ubuntu-20.04) [15:19:15.992] desktop file: /usr/share/applications/geoclue-demo-agent.desktop has NoDisplay specified [15:19:15.992] app list entry failed to update: Key:geoclue-demo-agent [15:19:15.992] free_app_entry(): (null): /usr/share/applications/geoclue-demo-agent.desktop [15:19:15.992] desktop file: /usr/share/applications/org.freedesktop.IBus.Panel.Extension.Gtk3.desktop has NoDisplay specified [15:19:15.992] app list entry failed to update: Key:org.freedesktop.IBus.Panel.Extension.Gtk3 [15:19:15.992] free_app_entry(): (null): /usr/share/applications/org.freedesktop.IBus.Panel.Extension.Gtk3.desktop [15:19:15.993] desktop file: /usr/share/applications/gkbd-keyboard-display.desktop has NoDisplay specified [15:19:15.993] app list entry failed to update: Key:gkbd-keyboard-display [15:19:15.993] free_app_entry(): (null): /usr/share/applications/gkbd-keyboard-display.desktop [15:19:15.993] desktop file: /usr/share/applications/gnome-search-panel.desktop has NoDisplay specified [15:19:15.993] app list entry failed to update: Key:gnome-search-panel [15:19:15.993] free_app_entry(): (null): /usr/share/applications/gnome-search-panel.desktop [15:19:15.993] desktop file: /usr/share/applications/gnome-wacom-panel.desktop has NoDisplay specified [15:19:15.993] app list entry failed to update: Key:gnome-wacom-panel [15:19:15.993] free_app_entry(): (null): /usr/share/applications/gnome-wacom-panel.desktop [15:19:15.993] desktop file: /usr/share/applications/gnome-camera-panel.desktop has NoDisplay specified [15:19:15.993] app list entry failed to update: Key:gnome-camera-panel [15:19:15.993] free_app_entry(): (null): /usr/share/applications/gnome-camera-panel.desktop [15:19:15.993] desktop file: /usr/share/applications/gnome-applications-panel.desktop has NoDisplay specified [15:19:15.993] app list entry failed to update: Key:gnome-applications-panel [15:19:15.993] free_app_entry(): (null): /usr/share/applications/gnome-applications-panel.desktop [15:19:15.994] desktop file: /usr/share/applications/gnome-network-panel.desktop has NoDisplay specified [15:19:15.994] app list entry failed to update: Key:gnome-network-panel [15:19:15.994] free_app_entry(): (null): /usr/share/applications/gnome-network-panel.desktop [15:19:15.994] desktop file: /usr/share/applications/nm-applet.desktop has NoDisplay specified [15:19:15.994] app list entry failed to update: Key:nm-applet [15:19:15.994] free_app_entry(): (null): /usr/share/applications/nm-applet.desktop [15:19:15.994] desktop file: /usr/share/applications/gnome-online-accounts-panel.desktop has NoDisplay specified [15:19:15.994] app list entry failed to update: Key:gnome-online-accounts-panel [15:19:15.994] free_app_entry(): (null): /usr/share/applications/gnome-online-accounts-panel.desktop [15:19:15.994] desktop file: /usr/share/applications/gcr-viewer.desktop has NoDisplay specified [15:19:15.994] app list entry failed to update: Key:gcr-viewer [15:19:15.994] free_app_entry(): (null): /usr/share/applications/gcr-viewer.desktop [15:19:15.995] desktop file: /usr/share/applications/gnome-location-panel.desktop has NoDisplay specified [15:19:15.995] app list entry failed to update: Key:gnome-location-panel [15:19:15.995] free_app_entry(): (null): /usr/share/applications/gnome-location-panel.desktop [15:19:15.995] desktop file: /usr/share/applications/system-config-printer.desktop

[15:19:15.995] Exec:system-config-printer [15:19:15.995] TryExec:(null) [15:19:15.995] WorkingDir:(null) [15:19:15.995] Icon name:printer [15:19:15.995] Icon file:(null) [15:19:15.995] app list entry updated: Key:system-config-printer, Name:Printers (Ubuntu-20.04) [15:19:15.995] desktop file: /usr/share/applications/org.gnome.Evolution-alarm-notify.desktop has NoDisplay specified [15:19:15.995] app list entry failed to update: Key:org.gnome.Evolution-alarm-notify [15:19:15.995] free_app_entry(): (null): /usr/share/applications/org.gnome.Evolution-alarm-notify.desktop [15:19:15.995] desktop file: /usr/share/applications/vim.desktop is terminal based app [15:19:15.995] app list entry failed to update: Key:vim [15:19:15.995] free_app_entry(): (null): /usr/share/applications/vim.desktop [15:19:15.996] desktop file: /usr/share/applications/org.gnome.gedit.desktop [15:19:15.996] Name[en_US]:Text Editor (Ubuntu-20.04) [15:19:15.996] Exec:gedit [15:19:15.996] TryExec:(null) [15:19:15.996] WorkingDir:(null) [15:19:15.996] Icon name:org.gnome.gedit [15:19:15.996] Icon file:/usr/share/icons/hicolor/scalable/apps/org.gnome.gedit.svg [15:19:15.996] app list entry updated: Key:org.gnome.gedit, Name:Text Editor (Ubuntu-20.04) [15:19:15.996] desktop file: /usr/share/applications/gnome-background-panel.desktop has NoDisplay specified [15:19:15.996] app list entry failed to update: Key:gnome-background-panel [15:19:15.996] free_app_entry(): (null): /usr/share/applications/gnome-background-panel.desktop [15:19:15.996] desktop file: /usr/share/applications/org.freedesktop.IBus.Panel.Emojier.desktop has NoDisplay specified [15:19:15.996] app list entry failed to update: Key:org.freedesktop.IBus.Panel.Emojier [15:19:15.996] free_app_entry(): (null): /usr/share/applications/org.freedesktop.IBus.Panel.Emojier.desktop [15:19:15.997] desktop file: /usr/share/applications/gnome-ubuntu-panel.desktop has NoDisplay specified [15:19:15.997] app list entry failed to update: Key:gnome-ubuntu-panel [15:19:15.997] free_app_entry(): (null): /usr/share/applications/gnome-ubuntu-panel.desktop [15:19:15.997] desktop file: /usr/share/applications/gnome-display-panel.desktop has NoDisplay specified [15:19:15.997] app list entry failed to update: Key:gnome-display-panel [15:19:15.997] free_app_entry(): (null): /usr/share/applications/gnome-display-panel.desktop [15:19:15.997] desktop file: /usr/share/applications/gnome-usage-panel.desktop has NoDisplay specified [15:19:15.997] app list entry failed to update: Key:gnome-usage-panel [15:19:15.997] free_app_entry(): (null): /usr/share/applications/gnome-usage-panel.desktop [15:19:15.997] desktop file: /usr/share/applications/nm-connection-editor.desktop [15:19:15.997] Name[en_US]:Advanced Network Configuration (Ubuntu-20.04) [15:19:15.997] Exec:nm-connection-editor [15:19:15.997] TryExec:(null) [15:19:15.997] WorkingDir:(null) [15:19:15.997] Icon name:preferences-system-network [15:19:15.997] Icon file:(null) [15:19:15.997] app list entry updated: Key:nm-connection-editor, Name:Advanced Network Configuration (Ubuntu-20.04) [15:19:15.997] desktop file: /usr/share/applications/gnome-bluetooth-panel.desktop has NoDisplay specified [15:19:15.997] app list entry failed to update: Key:gnome-bluetooth-panel [15:19:15.997] free_app_entry(): (null): /usr/share/applications/gnome-bluetooth-panel.desktop [15:19:15.997] desktop file: /usr/share/applications/gnome-datetime-panel.desktop has NoDisplay specified [15:19:15.997] app list entry failed to update: Key:gnome-datetime-panel [15:19:15.997] free_app_entry(): (null): /usr/share/applications/gnome-datetime-panel.desktop [15:19:15.998] desktop file: /usr/share/applications/gnome-lock-panel.desktop has NoDisplay specified [15:19:15.998] app list entry failed to update: Key:gnome-lock-panel [15:19:15.998] free_app_entry(): (null): /usr/share/applications/gnome-lock-panel.desktop [15:19:15.998] desktop file: /usr/share/applications/gnome-printers-panel.desktop has NoDisplay specified [15:19:15.998] app list entry failed to update: Key:gnome-printers-panel [15:19:15.998] free_app_entry(): (null): /usr/share/applications/gnome-printers-panel.desktop [15:19:15.998] desktop file: /usr/share/applications/gnome-thunderbolt-panel.desktop has NoDisplay specified [15:19:15.998] app list entry failed to update: Key:gnome-thunderbolt-panel [15:19:15.998] free_app_entry(): (null): /usr/share/applications/gnome-thunderbolt-panel.desktop [15:19:15.998] desktop file: /usr/share/applications/gnome-power-panel.desktop has NoDisplay specified [15:19:15.998] app list entry failed to update: Key:gnome-power-panel [15:19:15.998] free_app_entry(): (null): /usr/share/applications/gnome-power-panel.desktop [15:19:15.998] desktop file: /usr/share/applications/org.gnome.Shell.PortalHelper.desktop has NoDisplay specified [15:19:15.998] app list entry failed to update: Key:org.gnome.Shell.PortalHelper [15:19:15.998] free_app_entry(): (null): /usr/share/applications/org.gnome.Shell.PortalHelper.desktop [15:19:15.999] desktop file: /usr/share/applications/gcr-prompter.desktop has NoDisplay specified [15:19:15.999] app list entry failed to update: Key:gcr-prompter [15:19:15.999] free_app_entry(): (null): /usr/share/applications/gcr-prompter.desktop [15:19:15.999] desktop file: /usr/share/applications/gnome-session-properties.desktop has OnlyShowIn GNOME;Unity; [15:19:15.999] app list entry failed to update: Key:gnome-session-properties [15:19:15.999] free_app_entry(): (null): /usr/share/applications/gnome-session-properties.desktop [15:19:15.999] desktop file: /usr/share/applications/evolution-calendar.desktop has NoDisplay specified [15:19:15.999] app list entry failed to update: Key:evolution-calendar [15:19:15.999] free_app_entry(): (null): /usr/share/applications/evolution-calendar.desktop [15:19:15.999] desktop file: /usr/share/applications/gnome-keyboard-panel.desktop has NoDisplay specified [15:19:15.999] app list entry failed to update: Key:gnome-keyboard-panel [15:19:15.999] free_app_entry(): (null): /usr/share/applications/gnome-keyboard-panel.desktop [15:19:15.999] desktop file: /usr/share/applications/org.freedesktop.IBus.Setup.desktop [15:19:15.999] Name[en_US]:IBus Preferences (Ubuntu-20.04) [15:19:15.999] Exec:ibus-setup [15:19:15.999] TryExec:(null) [15:19:15.999] WorkingDir:(null) [15:19:15.999] Icon name:ibus-setup [15:19:15.999] Icon file:/usr/share/icons/hicolor/scalable/apps/ibus-setup.svg [15:19:15.999] app list entry updated: Key:org.freedesktop.IBus.Setup, Name:IBus Preferences (Ubuntu-20.04) [15:19:16.000] desktop file: /usr/share/applications/gnome-wifi-panel.desktop has NoDisplay specified [15:19:16.000] app list entry failed to update: Key:gnome-wifi-panel [15:19:16.000] free_app_entry(): (null): /usr/share/applications/gnome-wifi-panel.desktop [15:19:16.000] desktop file: /usr/share/applications/io.snapcraft.SessionAgent.desktop has NoDisplay specified [15:19:16.000] app list entry failed to update: Key:io.snapcraft.SessionAgent [15:19:16.000] free_app_entry(): (null): /usr/share/applications/io.snapcraft.SessionAgent.desktop [15:19:16.000] desktop file: /usr/share/applications/gnome-sound-panel.desktop has NoDisplay specified [15:19:16.000] app list entry failed to update: Key:gnome-sound-panel [15:19:16.000] free_app_entry(): (null): /usr/share/applications/gnome-sound-panel.desktop [15:19:16.000] desktop file: /usr/share/applications/gnome-microphone-panel.desktop has NoDisplay specified [15:19:16.000] app list entry failed to update: Key:gnome-microphone-panel [15:19:16.000] free_app_entry(): (null): /usr/share/applications/gnome-microphone-panel.desktop [15:19:16.000] desktop file: /usr/share/applications/htop.desktop is terminal based app [15:19:16.000] app list entry failed to update: Key:htop [15:19:16.000] free_app_entry(): (null): /usr/share/applications/htop.desktop [15:19:16.000] desktop file: /usr/share/applications/gnome-default-apps-panel.desktop has NoDisplay specified [15:19:16.000] app list entry failed to update: Key:gnome-default-apps-panel [15:19:16.000] free_app_entry(): (null): /usr/share/applications/gnome-default-apps-panel.desktop [15:19:16.000] desktop file: /usr/share/applications/org.gnome.Shell.desktop has NoDisplay specified [15:19:16.000] app list entry failed to update: Key:org.gnome.Shell [15:19:16.001] free_app_entry(): (null): /usr/share/applications/org.gnome.Shell.desktop [15:19:16.001] desktop file: /usr/share/applications/im-config.desktop has OnlyShowIn KDE;LXQt; [15:19:16.001] app list entry failed to update: Key:im-config [15:19:16.001] free_app_entry(): (null): /usr/share/applications/im-config.desktop [15:19:16.001] desktop file: /usr/share/applications/gnome-removable-media-panel.desktop has NoDisplay specified [15:19:16.001] app list entry failed to update: Key:gnome-removable-media-panel [15:19:16.001] free_app_entry(): (null): /usr/share/applications/gnome-removable-media-panel.desktop [15:19:16.001] desktop file: /usr/share/applications/gnome-connectivity-panel.desktop has NoDisplay specified [15:19:16.001] app list entry failed to update: Key:gnome-connectivity-panel [15:19:16.001] free_app_entry(): (null): /usr/share/applications/gnome-connectivity-panel.desktop [15:19:16.001] desktop file: /usr/share/applications/info.desktop is terminal based app [15:19:16.001] app list entry failed to update: Key:info [15:19:16.001] free_app_entry(): (null): /usr/share/applications/info.desktop [15:19:16.001] desktop file: /usr/share/applications/gnome-info-overview-panel.desktop has NoDisplay specified [15:19:16.001] app list entry failed to update: Key:gnome-info-overview-panel [15:19:16.001] free_app_entry(): (null): /usr/share/applications/gnome-info-overview-panel.desktop [15:19:16.001] desktop file: /usr/share/applications/gnome-mouse-panel.desktop has NoDisplay specified [15:19:16.001] app list entry failed to update: Key:gnome-mouse-panel [15:19:16.001] free_app_entry(): (null): /usr/share/applications/gnome-mouse-panel.desktop [15:19:16.002] desktop file: /usr/share/applications/python3.8.desktop has NoDisplay specified [15:19:16.002] app list entry failed to update: Key:python3.8 [15:19:16.002] free_app_entry(): (null): /usr/share/applications/python3.8.desktop

[15:19:16.486] Client: ClientStatus:0x3f5 [15:19:16.486] - TS_RAIL_CLIENTSTATUS_ALLOWLOCALMOVESIZE [15:19:16.486] - TS_RAIL_CLIENTSTATUS_ZORDER_SYNC [15:19:16.486] - TS_RAIL_CLIENTSTATUS_WINDOW_RESIZE_MARGIN_SUPPORTED [15:19:16.486] - TS_RAIL_CLIENTSTATUS_HIGH_DPI_ICONS_SUPPORTED [15:19:16.486] - TS_RAIL_CLIENTSTATUS_APPBAR_REMOTING_SUPPORTED [15:19:16.486] - TS_RAIL_CLIENTSTATUS_POWER_DISPLAY_REQUEST_SUPPORTED [15:19:16.486] - TS_RAIL_CLIENTSTATUS_GET_APPID_RESPONSE_EX_SUPPORTED [15:19:16.486] - TS_RAIL_CLIENTSTATUS_BIDIRECTIONAL_CLOAK_SUPPORTED [15:19:16.486] Client HandShake buildNumber:22000 [15:19:16.532] Server AppList caps version:3 [15:19:16.553] Client: gfxredir_caps: length:28 [15:19:16.553] Client: GrfxCaps count:0x8

[15:19:16.553] Client: GrfxCaps[0] version:0x80004 length:4 flags:0x0

[15:19:16.553] Version : RDPGFX_CAPVERSION_8

[15:19:16.553] Client: GrfxCaps[1] version:0x80105 length:4 flags:0x0

[15:19:16.553] Version : RDPGFX_CAPVERSION_81 [15:19:16.553] Client: GrfxCaps[2] version:0xa0002 length:4 flags:0x0 [15:19:16.553] Version : RDPGFX_CAPVERSION_10

[15:19:16.553] Client: gfxredir selected caps: version:0x2000 [15:19:16.553] Client: GrfxCaps[3] version:0xa0200 length:4 flags:0x0 [15:19:16.553] Version : RDPGFX_CAPVERSION_102 [15:19:16.553] Client: GrfxCaps[4] version:0xa0301 length:4 flags:0x0 [15:19:16.553] Version : RDPGFX_CAPVERSION_103 [15:19:16.553] Client: GrfxCaps[5] version:0xa0400 length:4 flags:0x0 [15:19:16.553] Version : RDPGFX_CAPVERSION_104 [15:19:16.553] Client: GrfxCaps[6] version:0xa0502 length:4 flags:0x0 [15:19:16.553] Version : RDPGFX_CAPVERSION_105 [15:19:16.553] Client: GrfxCaps[7] version:0xa0600 length:4 flags:0x0 [15:19:16.553] Version : RDPGFX_CAPVERSION_106 [15:19:16.563] Pulse Audio source listener socket on /mnt/wslg/PulseAudioRDPSource [15:19:16.563] xf_peer_adjust_monitor_layout: [15:19:16.563] DesktopWidth:1920, DesktopHeight:1080 [15:19:16.563] AudioIn source_thread: Listening for audio in connection. [15:19:16.563] UseMultimon:0 [15:19:16.563] ForceMultimon:0 [15:19:16.563] MonitorCount:0 [15:19:16.563] HasMonitorAttributes:0 [15:19:16.563] HiDefRemoteApp:1 [15:19:16.563] disp_monitor_validate_and_compute_layout:---INPUT--- [15:19:16.563] rdpMonitor[0]: x:0, y:0, width:1920, height:1080, is_primary:1 [15:19:16.563] rdpMonitor[0]: physicalWidth:521, physicalHeight:293, orientation:0 [15:19:16.563] rdpMonitor[0]: desktopScaleFactor:100, deviceScaleFactor:100 [15:19:16.563] rdpMonitor[0]: scale:1, client scale :1.00 [15:19:16.563] Client desktop upper left coordinate (0,0) [15:19:16.563] disp_monitor_validate_and_compute_layout:---OUTPUT--- [15:19:16.563] rdpMonitor[0]: x:0, y:0, width:1920, height:1080, is_primary:1 [15:19:16.563] rdpMonitor[0]: weston x:0, y:0, width:1920, height:1080 [15:19:16.563] rdpMonitor[0]: physicalWidth:521, physicalHeight:293, orientation:0 [15:19:16.563] rdpMonitor[0]: desktopScaleFactor:100, deviceScaleFactor:100 [15:19:16.563] rdpMonitor[0]: scale:1, clientScale:1.00 [15:19:16.563] Head mode change:rdp-0 OLD width:0, height:0, scale:1, clientScale:1.000000 [15:19:16.563] Head mode change:rdp-0 NEW width:1920, height:1080, scale:1, clientScale:1.000000 [15:19:16.563] move head/output rdp-0 (0,0) -> (0,0) [15:19:16.563] client origin (0,0) is (0,0) in Weston space [15:19:16.563] client virtual desktop is (0,0) - (1920,1080) [15:19:16.563] weston virtual desktop is (0,0) - (1920,1080) [15:19:16.563] kbd_layout:0x409 kbd_type:0x4 kbd_subType:0x0 kbd_functionKeys:0xc [15:19:16.563] convert_rdp_keyboard_to_xkb_rule_names: matching layout=us variant=(null) options=(null) [15:19:16.570] Detected a monitor change on head 'rdp-0', not bothering to do anything about it. [15:19:16.570] Client ExecOrder:0x00000008, Program:dummy-entry, WorkingDir:(null), RemoteApplicationArguments:(null) [15:19:16.570] Client ExecOrder launching dummy-entry [15:19:16.570] launching 'dummy-entry' [15:19:16.571] Client: ClientSysparam: filterKeys [15:19:16.571] Client: ClientSysparam: toggleKeys:62 [15:19:16.571] Client: ClientSysparam: stickyKeys:510 [15:19:16.571] Client: ClientSysparam: caretWidth:1 [15:19:16.571] Client: ClientSysparam: highContrast [15:19:16.571] Client: ClientSysparam: taskbarPos:(left:0, top:1032, right:1920, bottom:1080) [15:19:16.571] Client: ClientSysparam: mouseButtonSwap:0 [15:19:16.571] Client: ClientSysparam: keyboardPref:0 [15:19:16.571] Client: ClientSysparam: dragFullWindows:1 [15:19:16.571] Client: ClientSysparam: keyboardCues:0 [15:19:16.571] Client: ClientSysparam: workArea:(left:0, top:0, right:1920, bottom:1032) [15:19:16.571] Translated workarea:(0,0)-(1920,1032) at rdp-0:(0,0)-(1920,1080) [15:19:16.571] compositor: executing 'dummy-entry' failed: No such file or directory [15:19:16.571] Client AppList caps version:3 [15:19:16.571] Client AppList client language id: en_US [15:19:16.571] app_list_monitor_thread: startRdpNotifyEvent is signalled. 0 - en_US [15:19:16.571] Client: ClientSysparam: filterKeys [15:19:16.571] Client: ClientSysparam: toggleKeys:62 [15:19:16.571] Client: ClientSysparam: stickyKeys:510 [15:19:16.571] Client: ClientSysparam: caretWidth:1 [15:19:16.571] Client: ClientSysparam: highContrast [15:19:16.571] Client: ClientSysparam: taskbarPos:(left:0, top:1032, right:1920, bottom:1080) [15:19:16.571] Client: ClientSysparam: mouseButtonSwap:0 [15:19:16.571] Client: ClientSysparam: keyboardPref:0 [15:19:16.571] Client: ClientSysparam: dragFullWindows:1 [15:19:16.571] Client: ClientSysparam: keyboardCues:0 [15:19:16.571] Client: ClientSysparam: workArea:(left:0, top:0, right:1920, bottom:1032) [15:19:16.571] Translated workarea:(0,0)-(1920,1032) at rdp-0:(0,0)-(1920,1080) [15:19:16.571] Client ExecOrder program terminated [15:19:16.571] dummy-entry exited with status 255 [15:19:16.571] rdp_rail_notify_app_list(): rdp_peer 0x55cbfd027e00 [15:19:16.571] inSync: 1 [15:19:16.571] syncStart: 1 [15:19:16.571] syncEnd: 0 [15:19:16.571] newAppId: 1 [15:19:16.571] deleteAppId: 0 [15:19:16.571] deleteAppProvider: 0 [15:19:16.571] appId: org.gnome.gedit [15:19:16.571] appGroup: (null) [15:19:16.571] appExecPath: gedit [15:19:16.571] appWorkingDir: (null) [15:19:16.571] appDesc: Text Editor (Ubuntu-20.04) [15:19:16.571] appIcon: 0x55cbfd047a80 [15:19:16.571] appProvider: (null) [15:19:16.571] rdp_rail_notify_app_list(): rdp_peer 0x55cbfd027e00 [15:19:16.571] inSync: 1 [15:19:16.571] syncStart: 0 [15:19:16.571] syncEnd: 0 [15:19:16.571] newAppId: 1 [15:19:16.571] deleteAppId: 0 [15:19:16.571] deleteAppProvider: 0 [15:19:16.571] appId: nm-connection-editor [15:19:16.571] appGroup: (null) [15:19:16.571] appExecPath: nm-connection-editor [15:19:16.571] appWorkingDir: (null) [15:19:16.571] appDesc: Advanced Network Configuration (Ubuntu-20.04) [15:19:16.571] appIcon: 0x55cbfd047a80 [15:19:16.571] appProvider: (null) [15:19:16.571] rdp_rail_notify_app_list(): rdp_peer 0x55cbfd027e00 [15:19:16.571] inSync: 1 [15:19:16.571] syncStart: 0 [15:19:16.571] syncEnd: 0 [15:19:16.571] newAppId: 1 [15:19:16.571] deleteAppId: 0 [15:19:16.571] deleteAppProvider: 0 [15:19:16.571] appId: gnome-language-selector [15:19:16.571] appGroup: (null) [15:19:16.571] appExecPath: /usr/bin/gnome-language-selector [15:19:16.571] appWorkingDir: (null) [15:19:16.571] appDesc: Language Support (Ubuntu-20.04) [15:19:16.571] appIcon: 0x55cbfd047a80 [15:19:16.571] appProvider: (null) [15:19:16.571] rdp_rail_notify_app_list(): rdp_peer 0x55cbfd027e00 [15:19:16.571] inSync: 1 [15:19:16.571] syncStart: 0 [15:19:16.571] syncEnd: 0 [15:19:16.571] newAppId: 1 [15:19:16.571] deleteAppId: 0 [15:19:16.571] deleteAppProvider: 0 [15:19:16.571] appId: system-config-printer [15:19:16.571] appGroup: (null) [15:19:16.571] appExecPath: system-config-printer [15:19:16.571] appWorkingDir: (null) [15:19:16.571] appDesc: Printers (Ubuntu-20.04) [15:19:16.571] appIcon: 0x55cbfd047a80 [15:19:16.571] appProvider: (null) [15:19:16.572] rdp_rail_notify_app_list(): rdp_peer 0x55cbfd027e00 [15:19:16.572] inSync: 1 [15:19:16.572] syncStart: 0 [15:19:16.572] syncEnd: 1 [15:19:16.572] newAppId: 1 [15:19:16.572] deleteAppId: 0 [15:19:16.572] deleteAppProvider: 0 [15:19:16.572] appId: org.freedesktop.IBus.Setup [15:19:16.572] appGroup: (null) [15:19:16.572] appExecPath: ibus-setup [15:19:16.572] appWorkingDir: (null) [15:19:16.572] appDesc: IBus Preferences (Ubuntu-20.04) [15:19:16.572] appIcon: 0x55cbfd047a80 [15:19:16.572] appProvider: (null) [15:19:16.573] rdp_audio_server_activated: 1 audio formats supported. [15:19:16.573] [0] - Format(WAVE_FORMAT_PCM) - Bits(16), Channels(2), Frequency(44100) [15:19:16.573] RDPAudio - Agreed on format 0. [15:19:16.573] rdp_audio_server_activated: bytesPerFrame:4, latency:5 [15:19:16.573] Pulse Audio Sink listener socket on /mnt/wslg/PulseAudioRDPSink [15:19:16.573] Audio sink thread: Listening for audio connection. [15:19:20.984] Audio sink thread: connection successful on socket (64). [15:19:20.984] RDP Sink version (1 - 1) [15:24:16.563] rdp_rail_idle_handler is called on peerCtx:0x55cbfd027e00 [15:25:32.188] Spawned Xwayland server, pid 856 [15:25:33.632] xfixes version: 5.0 [15:25:33.640] created wm, root 576 [15:25:33.640] xfixes selection notify event: owner 2097153 [15:25:33.640] our window, skipping [15:25:33.869] rdp_rail_wake_handler is called on peerCtx:0x55cbfd027e00 [15:25:33.869] Client: ClientGetAppidReq: pid:853 appId:gedit [15:25:33.874] app_list_monitor_thread: loadIconEvent is signalled. gedit [15:25:33.874] app_list_monitor_thread: entry (nil), image (nil) [15:25:33.885] !!!cursor role is added after creation - WindowId:0x3 [15:30:35.846] rdp_rail_idle_handler is called on peerCtx:0x55cbfd027e00 [15:33:58.274] xfixes selection notify event: owner 2097153 [15:33:58.274] our window, skipping [15:39:04.620] xfixes selection notify event: owner 2097153 [15:39:04.620] our window, skipping [15:39:04.620] xfixes selection notify event: owner 2097153 [15:39:04.620] our window, skipping [15:39:04.620] xfixes selection notify event: owner 2097153 [15:39:04.620] our window, skipping [15:39:04.620] xfixes selection notify event: owner 2097153 [15:39:04.620] our window, skipping [15:39:04.620] xfixes selection notify event: owner 2097153 [15:39:04.620] our window, skipping [15:39:04.620] xfixes selection notify event: owner 2097153 [15:39:04.620] our window, skipping [15:39:04.620] xfixes selection notify event: owner 2097153 [15:39:04.620] our window, skipping

WSLg ( x86_64 ): 1.0.26+Branch.main.Sha.26ce2c09b86442f3c7f4f6462f770ed2afa76a25 Mariner: VERSION="1.0.20210224" FreeRDP: b05321cd4e6a862aef76163a69db4e1910245736 weston: 46756d0e77e5c01b5995fbbee6f3ab0db9b30612 pulseaudio: 2f0f0b8c3872780f15e275fc12899f4564f01bd5 mesa:

Expected behavior

A cow should appear on the screen for 1 second.

Actual behavior

The program exits normally without showing the cow.

Extra Comments

aadi123 commented 2 years ago

Interestingly, when I run gnome-terminal and then run xcowsay -t 1 hello in that terminal session, it seems to work for me. Not sure why this is the case... Could it be related to this? https://github.com/nickg/xcowsay/blob/master/src/floating_shape.c#L54

ccgfok commented 1 year ago

Interestingly, when I run gnome-terminal and then run xcowsay -t 1 hello in that terminal session, it seems to work for me. Not sure why this is the case... Could it be related to this? https://github.com/nickg/xcowsay/blob/master/src/floating_shape.c#L54

Tested on windows 10, that xcowsay will only run IF its INSIDE other linux apps, rather than seperated window.

Saurbaum commented 2 months ago

If I run another application like lmms first then close it, xcowsay will display