X-Git-Url: https://git.plutz.net/?p=rpi_small;a=blobdiff_plain;f=files%2Fetc%2Fdefault%2Fnodm;fp=files%2Fetc%2Fdefault%2Fnodm;h=f1662664099e8c715c2d32f6030cdb6a8580ecc0;hp=0000000000000000000000000000000000000000;hb=1c8257c67b251af806b9d8b629e73e72f4e5740a;hpb=af6c5d6bdc4a16580cc8556e81a11f40cea553d3 diff --git a/files/etc/default/nodm b/files/etc/default/nodm new file mode 100644 index 0000000..f166266 --- /dev/null +++ b/files/etc/default/nodm @@ -0,0 +1,33 @@ +# nodm configuration + +# Set NODM_ENABLED to something different than 'false' to enable nodm +NODM_ENABLED=true + +# User to autologin for +NODM_USER=local + +# First vt to try when looking for free VTs +NODM_FIRST_VT=7 + +# X session +#NODM_XSESSION=/etc/X11/Xsession +NODM_XSESSION=/usr/bin/chromium-browser --app=http://localhost/ + +# Options for nodm itself +NODM_OPTIONS= + +# Options for the X server. +# +# Format: [/usr/bin/] [:] +# +# The Xserver executable and the display name can be omitted, but should +# be placed in front, if nodm's defaults shall be overridden. +NODM_X_OPTIONS='-nolisten tcp' + +# If an X session will run for less than this time in seconds, nodm will wait an +# increasing bit of time before restarting the session. +NODM_MIN_SESSION_TIME=60 + +# Timeout (in seconds) to wait for X to be ready to accept connections. If X is +# not ready before this timeout, it is killed and restarted. +NODM_X_TIMEOUT=300