From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cJFmOM72m2EZOAEAgWs5BA (envelope-from ) for ; Mon, 22 Nov 2021 21:00:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kPwRNM72m2E/KwAAB5/wlQ (envelope-from ) for ; Mon, 22 Nov 2021 20:00:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 68CD12B38B for ; Mon, 22 Nov 2021 21:00:14 +0100 (CET) Received: from localhost ([::1]:56180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpFU4-0000ky-Vi for larch@yhetil.org; Mon, 22 Nov 2021 15:00:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpFTv-0000kZ-TB for bug-guix@gnu.org; Mon, 22 Nov 2021 15:00:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37638) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpFTv-0002HA-Jk for bug-guix@gnu.org; Mon, 22 Nov 2021 15:00:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpFTu-0000hP-9O for bug-guix@gnu.org; Mon, 22 Nov 2021 15:00:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52031: gnome-terminal fails to start under sway on core-updates-frozen Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 Nov 2021 20:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52031 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 52031@debbugs.gnu.org Received: via spool by 52031-submit@debbugs.gnu.org id=B52031.16376111612607 (code B ref 52031); Mon, 22 Nov 2021 20:00:02 +0000 Received: (at 52031) by debbugs.gnu.org; 22 Nov 2021 19:59:21 +0000 Received: from localhost ([127.0.0.1]:49184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpFTE-0000fz-S0 for submit@debbugs.gnu.org; Mon, 22 Nov 2021 14:59:21 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:58382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpFTD-0000fm-DX for 52031@debbugs.gnu.org; Mon, 22 Nov 2021 14:59:19 -0500 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mpFT8-0008D7-1j; Mon, 22 Nov 2021 14:59:14 -0500 Date: Mon, 22 Nov 2021 14:59:13 -0500 (EST) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637611214; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=ZDvswc/DS0ZPZ0f5vt7PDIG0hI6jQu6dlKKLB2jma3o=; b=ojb0nnjdpNOxSblFvdg9zg1w4YOHnS7Y0z10fpujnPAFV7m7YWucdT1lOi8W8zHiJSQwpx 6Lb9TiU1PbupsmYrn6ApS0MCHtrBRXb9MV/fm7Ds0Po2b2sE2JgkbpYpSgeKAT/t3nv4yL RkJC/FTM5u0obFY++WIsM7AkNo3pTkbj89LZpeqZczDdEkeM41d9FteODFNuY0LKN0HW/L axGoZSk3ttKdraBHFLmngJCmMsNYNc4YcnJO6S/LsxwTi1mnuxWV6KD/tUczJXeMr7qDcd q11jJzgbveo+R3/k9JXEywhFZCw2Ym/KUea2gS6mvnAolZ9o2xWVApb9/Us92g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637611214; a=rsa-sha256; cv=none; b=Y5w6vK+EQ/ocOi1D8M+xKQD1G71aWUU+1M2DelsSv50XP7R7Dt3b76dqCzg7wzBKmu35Df SZt0n0pNqcKAf48cxlJzL5zhqHwm2icBOoyQtd1tgFEhpDmhm0FzQxbYnXjHJacwtk1psI UUTjqyixogxUTMnKL66WVvvO0WOTzYfeHRB7+gaNuOX2Orm1806raLr6zM5L96VJrTkvjq 4xT0kWr8jUxH/t4Yje9xaExNTTLc8mS7wTGfROoMAoobKOyq5Khqfkv0YPYxaAiVU2GEzX 5bNUT67FdCfhOgX/cp0TGYK2MgSXEQflLaxy530WIlurqYE099Ow/kvJM93pIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.88 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 68CD12B38B X-Spam-Score: -2.88 X-Migadu-Scanner: scn0.migadu.com X-TUID: C3Q07LriX7qV On Mon, 22 Nov 2021, Jack Hill wrote: > Hi Guix, > > With core-updates-frozen commit b033079e47357dcf77ebeeb52b0a5306cd6aa982 > gnome-terminal fails to start under sway either as launched from gdm or > directly from a vt with `dbus-run-session sway`. > > ``` > $ gnome-terminal > # Error constructing proxy for > org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling > StartServiceByName for org.gnome.Terminal: Process org.gnome.Terminal exited > with status 10 > ``` > > It works correctly in a gnome session. Josselin Poiret determined [0] that the root cause of this behavior is that gnome-terminal is being launched via dbus, but the bus doesn't know about the wayland display, so can't start graphical applications. Everything works as expected if dbus is told about the display, which can be done by adding the following like to the sway configuration: ``` exec dbus-update-activation-environment WAYLAND_DISPLAY ``` In my judgment, this issue shouldn't hold up the core-updates-frozen merge, but it would be nice to improve the out-of-the-box sway experience in the future. A possible way I see is a sway service type that puts the necessary configuration in /etc/sway/conf.d or otherwise installs a session .desktop file that performs the necessary setup. [0] https://logs.guix.gnu.org/guix/2021-11-22.log#172513 Thoughts? Jack