Fedora 34: main: warning! User unable to read file

Forum / NoMachine for Linux / Fedora 34: main: warning! User unable to read file

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #34864
    acuteaura
    Participant

    When trying to set up SSH key auth on Fedora 34, the following shows up in nxserver.log when attempting authentication:

    52501 52501 2021-08-16 12:43:49 820.430 NXSERVER WARNING! Process '/usr/NX/bin/nxexec --getkey --user aurelia' with pid '52540/52540' finished with exit code 1 after 0,004 seconds.
    52501 52501 2021-08-16 12:43:49 820.874 NXSERVER ERROR! Authentication with 'NX-private-key' from host '100.65.34.1' failed. Error is 'Public key not recognized'.

    Output of nxexec –getkey when run from a shell is:
    $ doas -u nx /usr/NX/bin/nxexec --getkey --user aurelia
    59957 59957 12:59:48 958 main: WARNING! User 'aurelia' unable to read file.

    I have attempted to setenforce 0 and repeat, but it doesn’t seem to be SELinux related.

    Version:
    $ doas -u nx /usr/NX/bin/nxserver --version
    NoMachine - Version 7.6.2

    #34883
    Carin
    Participant

    Hi acuteaura,

    Did you have a chance to take a look at this article: How to set up key based authentication with NX protocol ?

Viewing 2 posts - 1 through 2 (of 2 total)

This topic was marked as solved, you can't post.