Files
dysm-rs/references/daemon.conf

46 lines
1.5 KiB
Plaintext

# this file is the configuration file for the SessionMaganer daemon
# daemon
# By default, the daemon will look for this file in the following locations
# /etc/diya/daemon.conf
# or it can be specified using the -c option
# example: diya-session-manager -c /path/to/daemon.conf
# PAM service
# the pam service used for authentication
# if not specified, default to diya
pam_service = "diya"
# Default session command
# The command to run to start a default session when there are'nt
# any session ruining. Often, this default session will be a login
# session that handles the user input and send user
# credentials to the daemon via Dbus message
# this configuration is mandatory
default_session_command = "/usr/bin/diyac -x /usr/bin/diya-login-shell"
# default session user
# The user that owns the default session, root by default
# if this setting is not set
default_session_user = "xdg"
# if false keep only one session at a time
# open a new session will close any previously opened session
# default true (if not specified), optional
enable_multiple_session = false
# User session command
# The command to run to start a user session after the
# login session is successful
# the logged in user will own this session
# this configuration is mandatory
user_session_command = "/usr/bin/diyac -x /usr/bin/diya-shell"
# setting environment variables
# when opening a session, optional
[session.envars]
# format key = string value
# example
DBUS_SESSION_BUS_ADDRESS = "unix:path=/tmp/dbus-1"
DBUS_SESSION_BUS_PID = "3598"