Possible to reserve a DISPLAY number for a user?

Forum / NoMachine Terminal Server Products / Possible to reserve a DISPLAY number for a user?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8330
    ostromark
    Participant

    Is it possible to configure NoMachine Workstation to reserve a virtual display number for a user? We have some in-house apps that store a user’s DISPLAY so that alarm pop-ups can be fired directly to the user’s display.  This doesn’t work if the display number can change any time the user re-connects.

    We have a working solution for NX 3.5.  Support helped me to set up a way to use script hooks to manipulate /usr/NX/var/db/running/display{last}.  This file apparently isn’t used in NoMachine 4.X.

    I tried modifying DisplayBase (/usr/NX/etc/server.cfg) in a UserScriptAfterLogin script, but the change doesn’t take effect for that current logon. It appears that nxserver reads DisplayBase at some point before the script hook.  I have to login, logout, then login again (hoping that nobody else connects in the meantime) to see the result of the change.

    I’m testing NoMachine Workstation v4.6.16 (evaluation) on Oracle Linux 6.7, connecting only to virtual displays using KDE sessions.

     

    #8352
    Haven
    Participant

    Hello ostromark,
    I cannot recommend any assured way to reserve display for the user.
    Could you maybe use nxserver --list command output to identify user display?
    We have also command nxserver --message where you can send message to the session, maybe it could be helpful.

    #8356
    Britgirl
    Keymaster

    This is really a question specific to your environment and is better dealt with via our traditional support channels since there is sensitive data being asked for. This will be closed.

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

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