From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ML9SEz7D82HAHgEAgWs5BA (envelope-from ) for ; Fri, 28 Jan 2022 11:19:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aKINED7D82ELHQEAauVa8A (envelope-from ) for ; Fri, 28 Jan 2022 11:19:42 +0100 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 D08BD2AD13 for ; Fri, 28 Jan 2022 11:19:41 +0100 (CET) Received: from localhost ([::1]:40044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDOM0-0008P8-CP for larch@yhetil.org; Fri, 28 Jan 2022 05:19:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDOIv-0005ax-PJ for help-guix@gnu.org; Fri, 28 Jan 2022 05:16:29 -0500 Received: from sender4-op-o11.zoho.com ([136.143.188.11]:17110) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDOIt-0006F7-D1 for help-guix@gnu.org; Fri, 28 Jan 2022 05:16:29 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1643364973; cv=none; d=zohomail.com; s=zohoarc; b=bOs5uCUpsU0hDVubGYZ7+gKzfpwjBm50oMPYoDez6lDQQ6Im1Yb9epxDQTPgOJJ0Ie9ZuJlx09iSfImxuu1GpnTjZfWw9/Bvo1N9TyO90KkqLr5nMf3nTJMmpF1+EiJRM42KDD5gX6CbEHw7JqqJ/d6U4W5wh/NP/svZvCKgOtI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643364973; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=5scyUHyM57e6dKM18fd91ZvuLFnUmRC5NuCI/aYNaP8=; b=m0KyJN1PSdReOWVtgmv8s3d0LkT3NIZp+nDuChN5aqRXNGHdCMWOuqjzs3M7oNYISIEIukBIIw99nBwoAXXM4G7gz0u8xp5WSEqfKRrA+CkKkbW3MTGzO1ICSYfQQb6S70hBhQ7EyD3aUxqYR/0+lHPNhTeCSmEJ9OXw50T9k9M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=rdklein.fr; spf=pass smtp.mailfrom=edou@rdklein.fr; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1643364973; s=zoho; d=rdklein.fr; i=edou@rdklein.fr; h=References:From:To:Cc:Subject:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=5scyUHyM57e6dKM18fd91ZvuLFnUmRC5NuCI/aYNaP8=; b=bEZ6W+FtZ4Ah0YPIThb05HXR3Bw0dGtKfahVG+ZN7OLyJS4WS04egZvznqGgL1xW mJZ/USvfEKfHkwWQaK/5RixYY7G1aRpBK+F7M+Gnp0kW7UsKtYMR8VLYiW/zOXi7i8k dT3DFy5KmitKpIl2DXB+gS17NYsdbUQ2g+zzWIM0= Received: from schwarzy (lfbn-idf3-1-159-220.w90-22.abo.wanadoo.fr [90.22.158.220]) by mx.zohomail.com with SMTPS id 1643364972427122.25941072713931; Fri, 28 Jan 2022 02:16:12 -0800 (PST) References: <_sUGXAdCvo3BV2gTs80KOeKy9wBY_5m2CVeQ0oy2DFbOdA4C_MabuwdfJ56ESbJ-bQHrs7sy6ZmUR5Pw7QmztSeCKV0cMMHhvvO77DfkIAc=@protonmail.com> User-agent: mu4e 1.6.10; emacs 27.2 From: Edouard Klein To: Luis Felipe Subject: Re: Running graphical apps with guix shell --container Date: Fri, 28 Jan 2022 11:11:25 +0100 In-reply-to: <_sUGXAdCvo3BV2gTs80KOeKy9wBY_5m2CVeQ0oy2DFbOdA4C_MabuwdfJ56ESbJ-bQHrs7sy6ZmUR5Pw7QmztSeCKV0cMMHhvvO77DfkIAc=@protonmail.com> Message-ID: <87bkzw9ngl.fsf@rdklein.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.11; envelope-from=edou@rdklein.fr; helo=sender4-op-o11.zoho.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643365181; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=5scyUHyM57e6dKM18fd91ZvuLFnUmRC5NuCI/aYNaP8=; b=nzcp9Lodfumw0DSP63alKHfU5cWBYC6S6EMcqON+v6nM0gjE3pg+FYCJqQRD4U7sWy/h9N Fs4frK6pv4TG0GcyI1vst2DUC0xQsJvyu67W4ZjNNE9SO+ajjp8rFYiGJFr3V56dM2nudA A71tz7ZTpGBxMwyvvDbRpnUOE16xx+6Bv7a0iTRfF4q6dFjkSwkjWSdei38zDuqy47Z+Xb 5ScrP7llqImNQo2txI8dgGqqNaQW+RE9/ilgla56xOed5A7ZDqTIoiJt3uaVbtepvMZvMF VXm4LS8GGEKE1yo11PnDAZ7W3x4ACNOOaTwt4bo8YDp+rseM3ZVgMQXN5CDpsw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1643365181; a=rsa-sha256; cv=pass; b=RlkXxofB3DTwOJZ3R4QWhbQnwK9JKSBO86gTe/fxmkyfi9buptgC4/QA9qrlE0puaLrVVN 2aIz1pqQGaosGMKMbWEBGpar6XGJ5vtUUPywWj46rPqdI8scfyYDog+WosdIKa+TtKtE4u 3X7uHdWCU34E3Z7iAmDTg45xdmCI3KB/COdbXSucGygtzsKAIHAMufZskDHsuhc9y5rorX nOaLLnvcCwTGeUKFfXjc5a33YvN3StlTNQDbWvHpJ+Bg5ZDWInIDotppSYgbo7K/EiPo0I qEBJMyR1cg4NsSJuxO3c/ZQ/WecLhB62a0SbZEP7kc20z3OCA18drfIvkMfglQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=rdklein.fr header.s=zoho header.b=bEZ6W+Ft; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.63 Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=rdklein.fr header.s=zoho header.b=bEZ6W+Ft; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D08BD2AD13 X-Spam-Score: -4.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: NntHAdgkVToG I won't be specifically helpful, but I never managed to get chromium to run in a container. It crashes almost immediately. If you ever manage it, I'd be happy to know the magic command that allows it. Cheers, Edouard. Luis Felipe writes: > [[PGP Signed Part:Undecided]] > Hi, > > I'm trying to run a GTK application in an isolated environment, but the a= pplication seems to fail when trying to be displayed. I'm running these com= mands: > > EXAMPLE: > $ guix shell -C --preserve=3D'^DISPLAY$' > $ python3 mazo > INFO: No database found. Creating it. > INFO: Database created. > Unable to init server: Could not connect: Connection refused > Unable to init server: Could not connect: Connection refused > Unable to init server: Could not connect: Connection refused > > (mazo:2): Gtk-WARNING **: 23:24:28.154: cannot open display: :1 > END EXAMPLE > > Also, trying the following example from Guix manual, the browser does not= start: > > EXAMPLE: > $ guix shell --container --network --no-cwd ungoogled-chromium --preserve= =3D'^DISPLAY$' -- chromium > Authorization required, but no authorization protocol specified > END EXAMPLE > > I'm using Guix System 037c2b6. > > > --- > Luis Felipe L=C3=B3pez Acevedo > https://luis-felipe.gitlab.io/ > > [2. application/pgp-keys; publickey - luis.felipe.la@protonmail.com - 0x1= 2DE1598.asc]... > > [[End of PGP Signed Part]]