! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
[Wayland]: xfce4-terminal confuses DISPLAY and WAYLAND_DISPLAY under Wayland
Status:
RESOLVED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description Olivier Fourdan editbugs 2016-09-21 12:51:49 CEST
Description:

When run under Wayland, xfce4-terminal forces the X11 display to the Wayland display, which is wrong and prevents from using X11 apps under Wayland (via Xwayland)

Steps to reproduce:

1. Log-in on GNOME on Wayland session
2. Run xfce4-terminal built with gtk3 support
3. Try to run an X11 app such as xterm

Actual result:

The X11 app fails to start

Expected results:

The X11 app connects to the Xwayland X11 server using the value of the DISPLAY env var.

Additional data:

xfce4-terminal wrongly sets DISPLAY to be the same as WAYLAND_DISPLAY

  $ env
  WAYLAND_DISPLAY=wayland-0
  ...
  DISPLAY=wayland-0

The value of DISPLAY here is invalid, as set by xfce4-terminal
Comment 1 Igor editbugs 2016-09-21 15:11:52 CEST
Unfortunately, my Fedora 25 VM installation has broken and wouldn't let me in into a Wayland session. But, the following commit seems to fix the issue: at least, it has resolved it for xfce4-terminal run in weston on my machine.
Could you please test it? https://git.xfce.org/apps/xfce4-terminal/commit/?id=fdfec0f99efd3d4eb064e3a01dd57cb374544489
Comment 2 Olivier Fourdan editbugs 2016-09-21 15:14:12 CEST
Works for me, as tested on Fedora 25. Thanks!
Comment 3 Igor editbugs 2016-09-21 15:15:31 CEST
Thank you!

Bug #12867

Reported by:
Olivier Fourdan
Reported on: 2016-09-21
Last modified on: 2016-09-21

People

CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information