Bug#864221: DISPLAY and WAYLAND_DISPLAY not set in systemd --user env

Laurent Bigonville bigon at debian.org
Wed Jun 7 13:56:28 BST 2017


On Tue, 6 Jun 2017 10:58:31 +0200 Laurent Bigonville <bigon at debian.org> 
wrote:
 > On Mon, 05 Jun 2017 14:25:55 +0200 Laurent Bigonville <bigon at debian.org>
 > wrote:
 >
 > > Hi,
 > >
 > > When clicking on a link in gnome-terminal, the page is not being 
opened.
 > >
 > > In the journal I can see the following message:
 > >
 > > gnome-terminal-server[3319]: Error: GDK_BACKEND does not match
 > available displays
 > >
 > > If I'm setting an other default browser (ie epiphany) it's working as
 > > expected.
 > >
 > > Not too sure what's happening here.
 >
 > The problem apparently is that the DISPLAY and WAYLAND_DISPLAY
 > environment variable is not present when /usr/bin/gnome-session is
 > called and then are then obviously not exported by the call of
 > dbus-update-activation-environment.


The problem here is a mix of SELinux, systemd and dbus.

I made a patch for dbus that should solve that issue, see: 
https://bugs.freedesktop.org/show_bug.cgi?id=101315

Would be great if this was fixed for stretch r1



More information about the Pkg-systemd-maintainers mailing list