Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 35 |
Nodes: | 6 (0 / 6) |
Uptime: | 29:51:12 |
Calls: | 322 |
Calls today: | 1 |
Files: | 959 |
Messages: | 81,842 |
Posted today: | 3 |
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.
On Sunday 12 January 2025 09:08:51 Greenwich Mean Time n952162 wrote:
Hello all,Check the content of .ssh/authorized_keys and the file's permissions. Perhaps
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.
they need adjusting?
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 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 useYou 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.
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: >>I don't know anything about xpra, but the error points to a user account not being available/configured correctly?
/Warning: XDG_RUNTIME_DIR is not defined
and '/run/user/1010' does not exist
using '/tmp'
server socket for display :2 not found
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 secondsHmm ... the UID cannot say "user" unless you created the username as "user"?
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.../