Problem with sudo prompt

Forum / NoMachine for Linux / Problem with sudo prompt

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29766
    ceritium
    Participant

    Hi, I have a headless manjaro xfce server, it’s just the normal manjaro with the lightdm service disabled.

    The client is a macOS catalina.

    NoMachine works pretty well, the only problem is that I can’t perform “sudo” actions, for example, when an application requires sudo the prompt just never load, or in some cases the credentials fails (I am sure that the credentials are OK).

    NoMachine server – Version 6.12.3

    Thanks.

    #29799
    Britgirl
    Keymaster

    Looks similar to this already known issue:

    Cannot start a virtual session on Arch Linux
    https://www.nomachine.com/TR10P08907

    #29806
    kroy
    Contributor

    There is workaround for this problem (https://forums.nomachine.com/topic/connection-fails-on-headless-client#post-21783):

    1. Create a backup of nx PAM configuration (sudo cp -a /etc/pam.d/nx /etc/pam.d/nx.original). Then change /etc/pam.d/nx in this way:

    auth       include       system-login
    account    include       system-login
    password   include       system-login
    session    include       system-login

     

    #29824
    ceritium
    Participant

    Thanks kroy, it works like a charm.

    Britgirl I didn’t test it because the kroy solution works well, thanks too.

     

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

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