Relocating .nx and NoMachine folders?

Forum / NoMachine for Windows / Relocating .nx and NoMachine folders?

  • This topic has 3 replies, 2 voices, and was last updated 9 years ago by Tor.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9042
    Mr.X
    Participant

    Hi,

    I see under the NoMachine client settings, alternate locations can be specified for Connections/Recordings and also Player settings. This is defined in the player.cfg file, correct?

    Is it possible to preconfigure this file and launch the client for the first time with these locations changed? How do you launch nxplayer using a different player.cfg?

    I want to relocate these directories so they are not part of the normal Windows profile, into a network drive/directory. Is that possible?

    #9048
    Tor
    Participant

    Hi Mr.X.

    The file player.cfg is the right one to modify in order to use different directories than default ones, the only condition is that those paths exist.

    The command line option selecting a different CFG file is ‘–config’:

    nxplayer --config <path to CFG file>

    #9059
    Mr.X
    Participant

    Great. I also found you can do this with environment variables in windows… NX_ROOT, NX_CONF

    Is there an advantage to using either?

    #9070
    Tor
    Participant

    Those environment variables are mainly intended to be used internally, so I discourage you from defining them system-wide (which is common on Windows).
    You may however create a batch file for each user which executes the ‘set’ command to change NX_CONFIG (the directory where the client will read/write all user settings), and at last starts the client.
    I don’t see a real advantage though. Defining that variable may be useful when administrators don’t want to create the settings directory in the default path (%USERPROFILE%\.nx), while in your case you want to change all default paths, so you should still modify player.cfg.

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

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