• [gentoo-user] xpra server on gentoo? Any gotchas?

    From n952162@21:1/5 to All on Fri Sep 13 13:40:01 2024
    This is a multi-part message in MIME format.
    Hello all,

    when I run an xpra server on a gentoo box and attach via a client is on
    a nixos box), I get the following:

    /: Permission denied (publickey,password,keyboard-interactive)./
    /2024-09-13 11:04:03,232 Error: failed to receive anything, not an
    xpra server?/
    /2024-09-13 11:04:03,233   could also be the wrong protocol,
    username, password or port/
    /2024-09-13 11:04:03,233   or the session was not found/
    /2024-09-13 11:04:03,233 Connection failed/

    "PasswordAuthentication yes" is left commented out in
    /etc/ssh/sshd_config, i.e. is the default.

    Anyone experience this?


    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <p>Hello all,</p>
    <p>when I run an xpra server on a gentoo box and attach via a client
    is on a nixos box), I get the following:</p>
    <blockquote>
    <p><i>: Permission denied
    (publickey,password,keyboard-interactive).</i><br>
    <i>2024-09-13 11:04:03,232 Error: failed to receive anything,
    not an xpra server?</i><br>
    <i>2024-09-13 11:04:03,233   could also be the wrong protocol,
    username, password or port</i><br>
    <i>2024-09-13 11:04:03,233   or the session was not found</i><br>
    <i>2024-09-13 11:04:03,233 Connection failed</i><br>
    </p>
    </blockquote>
    <p>"PasswordAuthentication yes" is left commented out in
    /etc/ssh/sshd_config, i.e. is the default.</p>
    <p>Anyone experience this?</p>
    <p><br>
    </p>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From n952162@21:1/5 to All on Sat Sep 14 10:10:01 2024
    This is a multi-part message in MIME format.
    Hello all,

    when I run an xpra server on a gentoo box and attach via a client  on a
    nixos box, I get the following:

    /: Permission denied (publickey,password,keyboard-interactive)./
    /2024-09-13 11:04:03,232 Error: failed to receive anything, not an
    xpra server?/
    /2024-09-13 11:04:03,233   could also be the wrong protocol,
    username, password or port/
    /2024-09-13 11:04:03,233   or the session was not found/
    /2024-09-13 11:04:03,233 Connection failed/

    "PasswordAuthentication yes" is left commented out in
    /etc/ssh/sshd_config, i.e. is the default.

    Anyone experience this?


    <html>
    <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <p>Hello all,</p>
    <p>when I run an xpra server on a gentoo box and attach via a
    client  on a nixos box, I get the following:</p>
    <blockquote>
    <p><i>: Permission denied
    (publickey,password,keyboard-interactive).</i><br>
    <i>2024-09-13 11:04:03,232 Error: failed to receive anything,
    not an xpra server?</i><br>
    <i>2024-09-13 11:04:03,233   could also be the wrong protocol,
    username, password or port</i><br>
    <i>2024-09-13 11:04:03,233   or the session was not found</i><br>
    <i>2024-09-13 11:04:03,233 Connection failed</i><br>
    </p>
    </blockquote>
    <p>"PasswordAuthentication yes" is left commented out in
    /etc/ssh/sshd_config, i.e. is the default.</p>
    <p>Anyone experience this?</p>
    <p><br>
    </p>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sat Sep 14 10:11:18 2024
    On Friday 13 September 2024 10:16:14 BST n952162 wrote:
    Hello all,

    when I run an xpra server on a gentoo box and attach via a client on a
    nixos box, I get the following:

    /: Permission denied (publickey,password,keyboard-interactive)./
    /2024-09-13 11:04:03,232 Error: failed to receive anything, not an
    xpra server?/
    /2024-09-13 11:04:03,233 could also be the wrong protocol,
    username, password or port/
    /2024-09-13 11:04:03,233 or the session was not found/
    /2024-09-13 11:04:03,233 Connection failed/

    "PasswordAuthentication yes" is left commented out in
    /etc/ssh/sshd_config, i.e. is the default.

    Anyone experience this?

    I don't use Xpra to know its intricacies, but the error message is giving you
    a hint. Some quick things to check for:

    Is there a listening port on the server box as you have specified?

    Is Xpra running on the server?

    Are you binding the correct address, or all addresses, e.g.:

    xpra start --bind-ssh=0.0.0.0:22222 --start=some_app

    Can the user running the Xpra server access the private key? You can set IdentityFile, or make sure the user can access ~/.ssh/.

    Is there a firewall blocking access?

    And finally, increase verbosity and then check what the logs reveal on both ends of the connection, other than the no response message you posted.

    HTH.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmblUzYACgkQseqq9sKV ZxnwAw/+N0x3PIT/3x2s6GkiVuRQ8nK4GMjruZiFiR/Hf5UVPzB7+t7sfFO6hEWz LmCYAATdZV8dpduVPpy0/qfl5ll919PBNFl0HvjIcR7jUTla0603vGX+SEe4kLJ+ xNKNt4KGUKiIC+luVmzIjGyATcp9i/iKxmZvP7jYke6EICPDO3we2p4xyfGt4WvO cKVxWTCCWIb2MjyUQYjopwvyADOPOdxDz05v4Zio+OlK5IJhwnfMdLBHNm+nrNFa mfR92uQFFesh4+T8LW0nkI5tGDdaI4MlIcnQdSu0+o787C/QcLrspwNUawsMCcaW BTfgMcnM+YV/xGAQiMuUYvduKNZziswTh64Hy13qxKf2xzNQXcbXR97v/bKy+lmD f1ytX7gdYNOHEdXH8NTsaHga9FVwyo3MfzKPfw8+Smvlfblgv17IW460Bf/1+/gh r0tic28TTTVC2j4M1Th4bTH+gyfDPcypA16gBssu/+gJF8inKNBockce7tqQ7l6D IeTOwyO/rrT6lh93Rlk6U1t/og/JXar2rbcbrn0CCJxdml2wnrGU4b07V+9/Xo7z 4wRxeSZCahRQRYL9fmS1uyebiPcIvFyUP2NJablUX0L4QCI37q62f9VpqRNJi3/V OEzWMjBsBFe1K36Rg0K+kI9KwceXoCtlpfHJr+AIZ/MprMJYbhw=
    =vHKw
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)