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"/

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

     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.../


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.  Perhaps
they need adjusting?

Reply via email to