From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-205262-garchives=archives.gentoo.org@lists.gentoo.org> 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 ECB4D15813A for <garchives@archives.gentoo.org>; Sun, 12 Jan 2025 10:41:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F759E0801; Sun, 12 Jan 2025 10:41:32 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.17.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 23A65E07EF for <gentoo-user@lists.gentoo.org>; Sun, 12 Jan 2025 10:41:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1736678484; x=1737283284; i=n952162@web.de; bh=2DvwA68BrYMJkfJARZ4iEms4f15mhPOR3Lz34SJm4vs=; h=X-UI-Sender-Class:Content-Type:Message-ID:Date:MIME-Version: Subject:To:References:From:In-Reply-To:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=ujfAII5zBBG/iyFtHDM8pNw9bAsustsEfrqSrgvuW67V8d0SDbL08EBfXPbea6LW nyuHLl2QymUYmUM3iyV9Gs5SIvZIRz/fRr2jgQ0Ul3j05/wdl+/PiAr7FtV4YtmQ4 2i7wMaSySb/JTPzgI+UfNqMc08xoqdvqaizx7qrWuWv10Uz6TTn+6HfjhiDsMo1+H 2TE5GBIgKAqIDRNnSk+n9N1omIjJ3Z/lneR57NHuLP2Z6x9tGE9cWpHoUhveyAR0V 5FJe8rl9qfDqNmSM5raYOVlKXKu1l64Ko46v6sXwtUsv6tfr+SJxbdvz99sv2q5cB qCRG/KVUbreIpX6h1Q== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.178.120] ([195.52.156.238]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1M2PdU-1tZfEQ2ukQ-0030H1 for <gentoo-user@lists.gentoo.org>; Sun, 12 Jan 2025 11:41:24 +0100 Content-Type: multipart/alternative; boundary="------------BWPPA90vjeTgXgzwa8aFnVzP" Message-ID: <4dc106e8-8e2e-48d8-8fcf-59024d2770ba@web.de> Date: Sun, 12 Jan 2025 11:41:23 +0100 Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> 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 User-Agent: Mozilla Thunderbird Subject: Re: [gentoo-user] xpra permissions To: gentoo-user@lists.gentoo.org References: <53abdd52-9dcc-4f79-a632-dd4558b2271a@web.de> <2296761.iZASKD2KPV@rogueboard> Content-Language: de-DE From: n952162 <n952162@web.de> In-Reply-To: <2296761.iZASKD2KPV@rogueboard> X-Provags-ID: V03:K1:TdPvjCCveOHq/B7HtGfboKnk7X4D4+g/izsP6xColunjYWQfqfP XP8yzTQYPecujAsOZxuZ8E4HMONT7h5KX7iR0VQq6U31mJ9U3qA8ztA5jig7MwSvX0P54Ro umRrtXJFbx4RL+TdAIw5uwyoXdI0opnA61bTC20/FP82WrL+vFZuFuhoUrbH2EuZAL+hroy 3cJLzrtktnV/FnppIaU1Q== X-Spam-Flag: NO UI-Outbound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TIl5B1QaNet8GZmaelx0lfSyHXMdDzSfdimhCkiXPi6nNjTmOVIG6l4li4vBLdaL7o+3i v73xTLOPg= X-Archives-Salt: bf7b8159-26f5-409d-baec-ac04dc8c2eba X-Archives-Hash: ed50390499f49f0f9523ecdc6774c510 This is a multi-part message in MIME format. --------------BWPPA90vjeTgXgzwa8aFnVzP Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable 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=3Dpassword"/ But now I've got a new problem (or problems) that might be gentoo-related: /Warning: XDG_RUNTIME_DIR is not defined =C2=A0and '/run/user/1010' does not exist =C2=A0using '/tmp' server socket for display :2 not found =C2=A0waiting up to 20 seconds xpra initialization error: =C2=A0cannot 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.=C2=A0 There's a ~/.xdg/xpra/2/socket with a recent timestamp.=C2=A0 There's noth= ing 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: =C2=A0cannot find any live servers to connect to/ / / /$ ps -ef | grep xpra user =C2=A0 2544=C2=A0=C2=A0=C2=A0=C2=A0 1=C2=A0 0 09:58 ?=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 00:00:01 /usr/bin/python3.11 /bin/xpra start :2 --st.../ On 2025/01/12 11:07, Michael wrote: > On Sunday 12 January 2025 09:08:51 Greenwich Mean Time n952162 wrote: >> Hello all, >> >> I'm trying to run xpra as a server on a gentoo box but I get the >> following error on connection: >> >> /user@host: Permission denied (publickey,keyboard-interactive)./ >> >> My nixos client works well with nixos servers, just not gentoo servers. >> I don't find a use flag that looks relevant, but maybe I'm overlooking >> something? >> >> TIA. > Check the content of .ssh/authorized_keys and the file's permissions. P= erhaps > they need adjusting? --------------BWPPA90vjeTgXgzwa8aFnVzP Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html> <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-= 8"> </head> <body> <p>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:=C2=A0 <i>"= -o PreferredAuthentications=3Dpassword"</i></p> <p>But now I've got a new problem (or problems) that might be gentoo-related:</p> <blockquote> <p><i>Warning: XDG_RUNTIME_DIR is not defined<br> =C2=A0and '/run/user/1010' does not exist<br> =C2=A0using '/tmp'<br> server socket for display :2 not found<br> <br> =C2=A0waiting up to 20 seconds<br> <br> xpra initialization error:<br> =C2=A0cannot find live server for display :2<br> </i><br> </p> </blockquote> <div class=3D"moz-cite-prefix">$XDG_RUNTIME_DIR <b>does</b> exist, on the server and the client.</div> <div class=3D"moz-cite-prefix">/run/user/1010 exists on the (nixos) client, but there's no /run/user on gentoo (that I can see).=C2=A0 Therefore, my $XDG_RUNTIME_DIR is set to ~/.xpra, which is present and rwe by the user, as is ~/.xdg/xpra.=C2=A0 There's a ~/.xdg/xpra/2/socket with a recent timestamp.=C2=A0 There's nothing relevant in /tmp on the server or the client.<br> </div> <div class=3D"moz-cite-prefix"><br> </div> <div class=3D"moz-cite-prefix">Clearly related is this, when I try to stop xpra on the server:</div> <div class=3D"moz-cite-prefix"><br> </div> <blockquote> <div class=3D"moz-cite-prefix"><i>$ xpra stop<br> xpra initialization error:<br> =C2=A0cannot find any live servers to connect to</i></div> <div class=3D"moz-cite-prefix"><i><br> </i></div> <div class=3D"moz-cite-prefix"><i>$ ps -ef | grep xpra<br> user =C2=A0 2544=C2=A0=C2=A0=C2=A0=C2=A0 1=C2=A0 0 09:58 ?=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 00:00:01 /usr/bin/python3.11 /bin/xpra start :2 --st...</i></div> </blockquote> <div class=3D"moz-cite-prefix"><br> </div> <div class=3D"moz-cite-prefix">On 2025/01/12 11:07, Michael wrote:<br> </div> <blockquote type=3D"cite" cite=3D"mid:2296761.iZASKD2KPV@rogueboard"> <pre class=3D"moz-quote-pre" wrap=3D"">On Sunday 12 January 2025 09:= 08:51 Greenwich Mean Time n952162 wrote: </pre> <blockquote type=3D"cite"> <pre class=3D"moz-quote-pre" wrap=3D"">Hello all, I'm trying to run xpra as a server on a gentoo box but I get the following error on connection: /user@host: Permission denied (publickey,keyboard-interactive)./ My nixos client works well with nixos servers, just not gentoo servers. I don't find a use flag that looks relevant, but maybe I'm overlooking something? TIA. </pre> </blockquote> <pre class=3D"moz-quote-pre" wrap=3D""> Check the content of .ssh/authorized_keys and the file's permissions. Per= haps they need adjusting?</pre> </blockquote> </body> </html> --------------BWPPA90vjeTgXgzwa8aFnVzP--