NoMachine Support

Your questions answered

Knowledge Base

Searching in: Articles & FAQs
Filter the search results
Applies to:
Last update:
Searching in: Articles & FAQs
ID: AR09P00999
Applies to: NX Server Products
Added on: 2018-09-21
Last update: 2019-02-06
Server side configuration keys requiring to restart NoMachine

The majority of server configuration keys don't require to restart the NoMachine server and/or services to apply different settings: changes will be effective at the new session startup and will not influence sessions already running.

In some cases however it's necessary to restart the NoMachine server and/or its services to make changes effective.
Please note that restarting the server implies to terminate all the running sessions that will be no longer available for reconnection.

SERVER CONFIGURATION (server.cfg)

Setting the following keys requires to restart NoMachine server (nxserver --restart):

UpdateFrequency
EnableUPnP
NXUPnPPort
SSHDUPnPPort
HTTPUPnPPort
StartHTTPDaemon
StartNXDaemon
StartSSHDaemon
ClientConnectionMethods
ScriptBeforeServerDaemonStart
ScriptAfterServerDaemonStart
ScriptBeforeServerDaemonStop
ScriptAfterServerDaemonStop
EnableNetworkBroadcast
EnableFirewallConfiguration
NetLogonDependency
CreateDisplay
DisplayOwner
DisplayGeometry
EnableScreenBlanking
EnableLockScreen
ApacheUname
ApacheGname

 

Setting the following keys, doesn't require to restart NoMachine server

SystemLogFile
SessionLogLevel
NXPort -> it requires to restart the nxd service (nxserver --restart nxd)
SSHDPort -> it requires to restart the nxsshd service (nxserver --restart nxsshd). This applies to Windows only.
UDPPort
DisplayBase
DisplayLimit
ConnectionsLimit
ConnectionsUserLimit
VirtualDesktopsLimit
VirtualDesktopsUserLimit
SessionHistory -> it requires to run 'nxserver --list'
EnableAutokillSessions
AutomaticDisconnection
EnablePersistentSession
DisablePersistentSession
EnableClipboard
EnableUserDB
EnablePasswordDB
ConnectPolicy
RoundRobinXdmList
EnableRoundRobinXdmQuery
EnableIndirectXdmQuery
EnableDirectXdmQuery
EnableBroadcastXdmQuery
LoadBalancingAlgorithm
NodeSelectionScript
CommandSessreg
SSHAuthorizedKeys
SSHDCheckIP
GuestName
BaseGuestUserId
GuestUserIdLimit
GuestUserGroup
GuestUserLimit
GuestUserConnectionLimit
GuestUserAccountExpiry
GuestConnectionExpiry
GuestUserAllowDisconnect
GuestUserHome
EnableGuestWipeout
EnableGuestQuota
GuestQuotaProtoname
GuestQuotaInodeSoftlimit
GuestQuotaInodeHardlimit
GuestQuotaBlockSoftlimit
GuestQuotaBlockHardlimit
GuestQuotaInodeGracePeriod
GuestQuotaBlockGracePeriod
GuestQuotaFilesystems
UserId
UserGroup
UserHome
VirtualDesktopSharing
VirtualDesktopMode
VirtualDesktopAuthorization
PhysicalDesktopSharing
PhysicalDesktopMode
PhysicalDesktopAuthorization
LoginScreenAccess
UserScriptBeforeLogin
UserScriptAfterLogin
UserScriptBeforeSessionStart
UserScriptAfterSessionStart
UserScriptBeforeSessionClose
UserScriptAfterSessionClose
UserScriptBeforeSessionReconnect
UserScriptAfterSessionReconnect
UserScriptBeforeSessionDisconnect
UserScriptAfterSessionDisconnect
UserScriptBeforeSessionFailure
UserScriptAfterSessionFailure
UserScriptBeforeCreateUser
UserScriptAfterCreateUser
UserScriptBeforeDeleteUser
UserScriptAfterDeleteUser
UserScriptBeforeDisableUser
UserScriptAfterDisableUser
UserScriptBeforeEnableUser
UserScriptAfterEnableUser
EnableAdministratorLogin
SSHClient
AvailableSessionTypes
RunNodeMode
EnableSyslogSupport
DisconnectedSessionExpiry
AuthorizationTimeout
EnableNXKerberosAuthentication
NXKerberosAuthenticationTimeout
NXKerberosRequestLimit
EnableNXKerberosForwardingToRemote
EnableNXClientAuthentication
AcceptedAuthenticationMethods
ClientMenuConfiguration
EnableClientCredentialsStoring
NXGSSAPIStrictAcceptorCheck
EnableServerRole
WebSessionLogLevel
EnableWebPlayer
WebDirPath
EnableWebGuest
EnableWebMenuTutorial
EnableWebConnectionName
EnableWebPreconfiguration
AcceptedWebMethods
OneTimePasswordValidityPeriod
WebSessionLanguage
WebSessionTheme
WebSessionWave
EnableDebug
CommandDebug
AcceptedDebuggerCommands
DebugOptions
EnableClientAutoreconnect

 

NODE CONFIGURATION (node.cfg)

New settings will be applied to new sessions, restarting NoMachine server and/or services is not required.

 

nxhtd configuration (htd.cfg)

In case you modified the HTTP/HTTPS ports for the NoMachine web server in the htd.cfg file, it's required to restart the nxhtd service:

nxserver --restart nxhtd