From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F24B515813A for ; Sun, 12 Jan 2025 12:23:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB811E0806; Sun, 12 Jan 2025 12:22:54 +0000 (UTC) Received: from cow.ash.relay.mailchannels.net (cow.ash.relay.mailchannels.net [23.83.222.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DA4E4E07F6 for ; Sun, 12 Jan 2025 12:22:53 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 713E02C5067 for ; Sun, 12 Jan 2025 12:22:52 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1736684571; a=rsa-sha256; cv=none; b=KMCCjBaxReaNFK0GRyFutYgTxOUQgDmretXLwgi/niBkdHrn1UM/jyg27kmWzBFNicZrG1 U0RQXr97R2Nk1ECOG0IwHKjLqgLVtwYsyTbE7Cf5w6dBwN004A8UG1lr0lMs/X0daEk5Yj gCwHZIhQN3GJ1IoN8ICtDDbJpcumsm4hp54w+yl5aDHXolBjr01FKPyQQkjrrzZ6xlu/c3 jIimiri7JGq80vqUebgFqKAKWFAyzM++hChWHpIaCfWMQLotC1wEp9gKwr0YxoePj2Kl2F HNeFRqTU4e7YlnmpZRy9FDcFdJ8Qyn1XjRaSlwh0sk3+BauOqa2hHxiiNJKITw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1736684571; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=z8/to/p4DKV/UvLg2MuYnUO5cqoarUqISQIZ0MWgWSs=; b=qbfOUqmYd7vP9BhQAcV4e64scIAq2J7/chwq5KpK0nSnTVjJbnG9zVmqDIK4BGxmuvP51x aM2IbriSyMi12LBD3l9cxmViLrfNveo7ko5oXO0zBIeGBWOdd6JTAZ0F3cLjCNuLx50WVv Vny9fmE0HUdEZekrmwueREr/SRO+0A918WzruNTH5jeem8GT8y0hT1u8RdxoBfeKmLA9Yz kG6b7NG80oqf4wz2Mwne3GE3HiWRSgaEenVp6oPf6rDOS42FDElQFVERqzWhcm6P0dhHzZ kPUeGr1AAHKveOMJTmJzuyIdCym/zQ66DKYKx/fAJT+vzRQit506eiXDYXytrA== ARC-Authentication-Results: i=1; rspamd-b5645c5d4-tr9xt; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Oafish-Tangy: 3e7890a567bf3f68_1736684572185_4035377863 X-MC-Loop-Signature: 1736684572185:1352826433 X-MC-Ingress-Time: 1736684572185 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.109.200.77 (trex/7.0.2); Sun, 12 Jan 2025 12:22:52 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id D83811E0002 for ; Sun, 12 Jan 2025 12:22:49 +0000 (GMT) Authentication-Results: cloud238.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=rogueboard.localnet Received-SPF: pass (cloud238.thundercloud.uk: connection is authenticated) From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] xpra permissions Date: Sun, 12 Jan 2025 12:22:36 +0000 Message-ID: <8518791.NyiUUSuA9g@rogueboard> In-Reply-To: <4dc106e8-8e2e-48d8-8fcf-59024d2770ba@web.de> References: <53abdd52-9dcc-4f79-a632-dd4558b2271a@web.de> <2296761.iZASKD2KPV@rogueboard> <4dc106e8-8e2e-48d8-8fcf-59024d2770ba@web.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2013359.usQuhbGJ8B"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <173668456847.2551876.16682521561835801601@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Server: mailclean11 X-Rspamd-Queue-Id: D83811E0002 X-Rspamd-Action: no action X-Spamd-Result: default: False [-1.51 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ONCE_RECEIVED(0.20)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; MX_GOOD(-0.01)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; FROM_HAS_DN(0.00)[]; FUZZY_RATELIMITED(0.00)[rspamd.com]; REPLYTO_DOM_NEQ_TO_DOM(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; R_DKIM_NA(0.00)[]; NEURAL_HAM(-0.00)[-0.460]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(0.00)[+mx]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Archives-Salt: fd8a2273-6ffd-476d-9d80-46fa8ea10edf X-Archives-Hash: 8a3684f0885924be3796f985c2d370d7 --nextPart2013359.usQuhbGJ8B Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Subject: Re: [gentoo-user] xpra permissions Date: Sun, 12 Jan 2025 12:22:36 +0000 Message-ID: <8518791.NyiUUSuA9g@rogueboard> In-Reply-To: <4dc106e8-8e2e-48d8-8fcf-59024d2770ba@web.de> MIME-Version: 1.0 On Sunday 12 January 2025 10:41:23 Greenwich Mean Time n952162 wrote: > Thank you, that gave me the hint I needed for the first step ... I use > an ssh option for nixos that's not need for gentoo: /"-o > PreferredAuthentications=password"/ You can use a user password to login over SSH or public key. It is a matter of configuring the sshd accordingly and using either method from the client. > But now I've got a new problem (or problems) that might be gentoo-related: > > /Warning: XDG_RUNTIME_DIR is not defined > and '/run/user/1010' does not exist > using '/tmp' > server socket for display :2 not found I don't know anything about xpra, but the error points to a user account not being available/configured correctly? Have you tried connecting locally on the server with no user (you'll be already logged in), before you try connecting from the client remotely using the correct user@host incantation? > waiting up to 20 seconds > > xpra initialization error: > cannot find live server for display :2 > / > > $XDG_RUNTIME_DIR *does* exist, on the server and the client. > /run/user/1010 exists on the (nixos) client, but there's no /run/user on > gentoo (that I can see). Therefore, my $XDG_RUNTIME_DIR is set to > ~/.xpra, which is present and rwe by the user, as is ~/.xdg/xpra. > There's a ~/.xdg/xpra/2/socket with a recent timestamp. There's nothing > relevant in /tmp on the server or the client. > > Clearly related is this, when I try to stop xpra on the server: > > /$ xpra stop > xpra initialization error: > cannot find any live servers to connect to/ > / > / > /$ ps -ef | grep xpra > user 2544 1 0 09:58 ? 00:00:01 /usr/bin/python3.11 > /bin/xpra start :2 --st.../ Hmm ... the UID cannot say "user" unless you created the username as "user"? --nextPart2013359.usQuhbGJ8B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmeDtAwACgkQseqq9sKV Zxk41Q//ZaaHUCe3Y9f/MOMGMYv+xpWsg6jPh6cAQ0mxNdrvUxQ6QM1UUt2voIQ4 nhOgf3ofOs4+JqTqyXVcdRQcnbbZ+Va+drGW0/NrOccw7oHSzYpZCkAfu09wW9kt nR4vBD+APsrJX6YbBNz+aqnr1muy4r1e5RQ53UMBtrF/cDZ8q6f6KFhb2kMXEZO8 eaN2u3RLV3CE8Zl6o1G/PAfDVy+1Fa4iQSBpKi/kktXCKTdt7xIXWNswK7rcpavT tgDkG/DxTTq/kHJ/C6QGnlLGI/Apt4xvSdizxowOiR6i9+caPNy//HWPQhl3cnAC oYGByznqfLpSTEnmed99jDU92Cga0nzt27HgAqlklZfqK6SzDXQBJHc5ays6AAl1 Ul8plmJ8uU46iCAH3r/Glju6X7xq8c7cqzyF3pSqsd0PuDS7GHp5iFMd1REvRw/P xKA3LKf1DXI68AtpZe0VPDXKm+UJOqJghoqnGxzFmYsSJZi8IENGB/mVQh19w3uz eO660aw/jJDbwTWGuJQsbFFgBwIMyVuQiyB97pzvY3GkbkAv/itY6T7esm7M8pf1 Y6uikzcX78bHsnpe+HIl03PHWPqTchXACrP0kO32zni1lNrb1w9Zx/5y6q5J/D4m GQzqEdEG1sZNftHebiaWylxX8fKrpEld/w6mGHsRlbdBqwH2e1A= =p5yD -----END PGP SIGNATURE----- --nextPart2013359.usQuhbGJ8B--