Prevent non-admin users from changing settings

Forums / NoMachine for Linux / Prevent non-admin users from changing settings

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18306
    ascwonter
    Participant

    Hello everyone,

    I run ubuntu 16.04 and would like to know how to prevent non-admin users from changing connection options via the monitor panel. Even better I would like to prevent any NoMachine access to non-admin users, but would like to maintain the ability to remote into the non-admin account.

    I changed nxclient.bin to root:sudo and chmod’ed o-x, which prevented the non-admin user from accessing the control panel, but it also preventing me from remoting into the non-admin account.

    Thanks!!

    #18329
    kroy
    Contributor

    First of all changes on the server preferences require system administrator password. There are two easy ways to hide server settings GUI.

    1) Hide NoMachine Client monitor on the tray. To do that edit /usr/NX/etc/node.cfg uncomment and set DisplayMonitorIcon 0.
    2) Disable server settings GUI. To do that edit node.cfg uncomment and set EnableServerPreferences 0

    If that’s not enough and you want to prevent non-admin users from accessing any NoMachine settings, changing nxclient.bin rights is a possibility. But if you want to connect to the desktop you need to have original rights on the system. So as a workaround, a solution could be to create a startup script which changes the rights which you have mentioned if the nxclient process has started already.

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

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