session.json


Default profile for Xrdp sessions.  New sessions will use these parameters.

Multiple profiles can be created.  They are placed in the config/profile.d directory and have the same format

 

The file is a JSON object with the following parameters

name

Profile name (string) — Ignored by the default profile

description

Profile Description (string) — Ignored by the default profile

id

Profile ID (string)– Ignored by the default profile

session

Session Configuration parameters.  This is a JSON object with the following parameters

clipmgr

enable copy/paste (bool – default true)

sharing

enable session sharing (bool -default true)

offlineSharing

enable sharing when owner of the session is not connected (bool -default false)

rail

enable multiple window mode (bool – default false)

disconnectTimeout

terminate session if it has been disconnected for X minutes (int – default 0 = never)

polling

send status updates to the web server (bool – default true)

iglx

enable indirect GLX (bool – default false)

listenTCP

allow session to listen for incoming TCP connections to X11 server (bool – default false)

videoRam

Memory to allocate for frame buffer. Must be > 32000 and < 512000

cpuPercentage

Maximum CPU percentage that a FastX session will use (default 50)

schedule

Options for job scheduling. This is a JSON object with the following parameters

script

path to the scheduling script used (string)

nodeExec

exec the script as the web server (nodejs) user rather than the currently logged in user (bool — default: false)