Bug 99489

Summary: weston cannot display second DISPLAY
Product: Wayland Reporter: soloturn
Component: XWaylandAssignee: Wayland bug list <wayland-bugs>
Status: NEW --- QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description soloturn 2017-01-22 08:09:36 UTC
on tty0 i start gnome as described here:
https://wiki.archlinux.org/index.php/GNOME#Wayland_sessions
export QT_QPA_PLATFORM=wayland
XDG_SESSION_TYPE=wayland dbus-run-session gnome-session

on tty1 i start weston:
nohup weston &

on weston i open a weston-terminal. the following works:
xeyes
export DISPLAY=:0
xeyes
xport DISPLAY=:1
xeyes

then, i go to gnome, open a gnome terminal, and i can one time open xeyes, then nothing works.

$ xeyes
$ firefox 
Gdk-Message: firefox: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.

funny is as well, if after the start of weston, no x application was run, connecting from gnome does not work.

this is on arch linux, versions:
weston 1.12.0-2
wayland 1.12.0-1
gnome-shell 3.22.2+18+gdf7727a-1
xorg-server 1.19.1-1
Comment 1 soloturn 2017-01-22 08:35:04 UTC
after the connection attempt from gnome-terminal to weston, X on weston does not work any more. marking therefor as critical.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.