From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WP+LIW6x1WGLFQAAgWs5BA (envelope-from ) for ; Wed, 05 Jan 2022 15:55:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EIXdHm6x1WGBdAAA9RJhRA (envelope-from ) for ; Wed, 05 Jan 2022 15:55: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 2BF7C36E88 for ; Wed, 5 Jan 2022 15:55:42 +0100 (CET) Received: from localhost ([::1]:36932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n57hV-0002aA-4P for larch@yhetil.org; Wed, 05 Jan 2022 09:55:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n57aW-0008Ap-1l for help-guix@gnu.org; Wed, 05 Jan 2022 09:48:29 -0500 Received: from out2.mail.ruhr-uni-bochum.de ([134.147.42.229]:39642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n57aT-0004Yw-UM for help-guix@gnu.org; Wed, 05 Jan 2022 09:48:27 -0500 Received: from mx2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out2.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4JTXR83vSjz8Vcw; Wed, 5 Jan 2022 15:48:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rub.de; s=mail-2017; t=1641394100; bh=IlyHvVoQFZy7rlI+U0uPb0kgb3gj6phny/ZQC1nV/s4=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=ErWVST8PEkf+dzBZAWeCwCO6EMtTVZUX7xq3nEj5kp5eFmSrHWw7IUxiqag3qqOcy LNgm9pWTBhBfVMJ28qLGwwoOfrlZer7/BWuUgBb0S8iNTB3wXj9ca+B8m9wnIGJnF1 rJk4PlnrskW8u6KHpJFyZG6LZA1yISXIl9OuXFdA= Received: from out2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx2.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4JTXR83GSpz8Vcp; Wed, 5 Jan 2022 15:48:20 +0100 (CET) X-Envelope-Sender: X-RUB-Notes: Internal origin=IPv6:2a05:3e00:c:1001::8693:2aec Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [IPv6:2a05:3e00:c:1001::8693:2aec]) by out2.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4JTXR80VHJz8Vcn; Wed, 5 Jan 2022 15:48:19 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx2.mail.ruhr-uni-bochum.de Received: from [IPv6:::1] (unknown [IPv6:2a02:3035:c04:a0cb:b7ca:3dff:6a16:d336]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4JTXR72L7RzDgyc; Wed, 5 Jan 2022 15:48:19 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mail2.mail.ruhr-uni-bochum.de Date: Wed, 05 Jan 2022 15:48:17 +0100 From: =?ISO-8859-1?Q?Daniel_Mei=DFner?= To: t@fullmeta.me CC: zimoun , help-guix@gnu.org Subject: Re: Emacs inside container: preserved DISPLAY unavailable etc In-Reply-To: References: <87fsq3k6g4.fsf@fastmail.com> <8735m2uzja.fsf@ruhr-uni-bochum.de> Message-ID: <19752F73-2063-41BA-A8A0-6AB3D68C521E@rub.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=134.147.42.229; envelope-from=daniel.meissner-i4k@rub.de; helo=out2.mail.ruhr-uni-bochum.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: , 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641394542; 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=IlyHvVoQFZy7rlI+U0uPb0kgb3gj6phny/ZQC1nV/s4=; b=nvmKZ4s6jTAG98bGFi4hXaBsX+zvOHdIhLn1a1jT8CJy8w8kgpAzt1+lwlZyty3jvmmYsb PG4wcuV3OKWYwODG/XhEcwNS/EldOnfOZ6H6tg7NVEn+03P5PyDD3562IwzYDDuR5qz71z DaUsjlgTBpIYVXzj3wZC58oqLY9DAVshfLGhCPzniFsLh2Up3KDVnrKgh4uSgsesjJ66Sk IIu1Ou0OyR2HcOMKwDSwVazfaOtzMNmOvP84vf1VhOb0sVFemnSl02XLbuYHJjdwM4rcdN zV9CKjH3mxpqiblEwKwAKviWdvrSTE7TKvR9Mzjz7jbAF4vPRKsdl58baEgijg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641394542; a=rsa-sha256; cv=none; b=nTGWT+lNbBSUdID64NA39wgx//Wh5Q8mHQ1H3Pomgz1pqbK8PVymbmYQxVySzCMYx7KEgv f+p58LK5jAGYmkX47oylIN0IH5s+91OdMEy5XBshBZ7Igeuxe5eVGD6ii8ChRl7v56y2bj EoARY7yrSC8CPiyG4P6egttxOLMCM2RMABwCMU8sqyR5j3zAcwyVD8379+PROK1/V22I9k PHE2yLA0LbDupgGJNDB/aBrsnIFBsyFbJipXTn0OjQEONnLJ8Ozu+4masRco6pPiZK/jZ2 j2x3sr/Ea4YWaZ5jEjP4t95l5lxquTgStwGuvbrpWRJA+8x61flxU97FxBK9iw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=rub.de header.s=mail-2017 header.b=ErWVST8P; dmarc=pass (policy=quarantine) header.from=rub.de; 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.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=rub.de header.s=mail-2017 header.b=ErWVST8P; dmarc=pass (policy=quarantine) header.from=rub.de; 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: 2BF7C36E88 X-Spam-Score: -4.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: XgRA4mFojIC2 t@fullmeta=2Eme writes: > > Authorization required, but no authorization protocol specified >=20 > Actually, mine only said "No protocol specified" making it vague, yours = at least hint at something to investigate=2E Yes, the error message changed indeed the last time I tried the container = example=2E I just blindly copied and pasted the output from my shell withou= t noticing really=2E > Googling around shows people don't seem to know what they are doing and = afraid to dig into X internals, so most posts are just cargo-culting and tr= ying random stuff=2E Sadly, I'm in that group, so lets just randomly try st= uff: >=20 > $ echo $XAUTHORITY > /run/user/1000/gdm/Xauthority >=20 > which stores some magic cookie, so lets add >=20 > --expose=3D$XAUTHORITY --preserve=3D'^XAUTHORITY$' >=20 > standing ovation, everyone congratulates everyone, noone really understa= nds what just happened >=20 > I guess manual needs to be updated, or maybe guix shell --container Sche= me code=2E Dunno >=20 > Thank you very much for that STDERR hint Happy my comment helped and thank you for your solution I will try that fo= r the chromium example as well=2E Best, Daniel