Problem with sudo prompt

Forums / NoMachine for Linux / Problem with sudo prompt

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29766
    Avatarceritium
    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
    AvatarBritgirl
    Keymaster

    Looks similar to this already known issue:

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

    #29806
    Avatarkroy
    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
    Avatarceritium
    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)

You must be logged in to reply to this topic.