
###############################################
# -- Thinstation sample configuration file -- #
###############################################
#
# This file must be named "thinstation.conf<xxx>" where <xxx> can be:
# .buildtime   Defines the defaults build into the image (note the leading .)
# .network     Default global config file loaded from the TFTP server.
# .user        Config file on local storage.
# -<name>      Specific config file on the TFTP server for the terminal
#              "name" (e.g. thinstation.conf-paul). Requires thinstation.hosts. 
# .group-<id>  Config file for a group of terminals (e.g. with printer setup
#              for those terminal with local printers. Requires thinstation.hosts.
# -<IP>        Specific config file on the TFTP server for the terminal with
#              the IP number <IP> specified (e.g. thinstation.conf-10.0.0.9).
# -<MAC>       Specific config file on the TFTP server for the terminal with 
#              the MAC address specified (e.g thinstation.conf-112233445566).

##
# --- General Options
#
# AUDIO_LEVEL        Audio Level for sound, 0-100
# MIC_LEVEL          Recording level for input devices, 0-100
# LOCALE             If multiple locales are included in the image, you can use this to
#                     select one during boot with a .conf file.	
# TIME_ZONE          Used to set time zone on a TS client with a zone info file. If multiple
#                      zone-info files are included, this selection can be refined with additional
#                      .conf files.
# SYSLOG_SERVER      Log server ip address or hostname.
#                    If the work "local" is used, then syslog starts logging locally
#                    If not specified syslogd is not loaded.
# USB_STORAGE_SYNC   ON    Safer writing
#                    OFF   Faster writes to USB storage devices
#                    WARNING: This may lead to data corruption when the device is unplugged
#                             before buffers have been flushed
# USB_MOUNT_DIR      Directory to use for mounting usbdisks (default: /mnt/usbdevice/)
# USB_MOUNT_USELABEL Label to use for individual usb disks
#                    default is to use the device name (eg. sda1 - /mnt/usbdevice/sda1)
#                    NO       use default ONLY
#                    YES      will use label on usb volume if exists or fallback to default
#                    <label>  will use label on usb volume if exists or <label> otherwise
#                    adds suffix of n (1,2,3,etc.) if duplicate labels found
# USB_MOUNT_OPTIONS  additional mount options for usb devices (eg. utf8,shortname=win95)
# 		     see mount documentation for details (man mount)
# DISK_STORAGE_SYNC  ON    Safer writing
#                    OFF   Faster writes to USB storage devices
#                    WARNING: This may lead to data corruption when the device is unplugged
#                             before buffers have been flushed
# DISK_MOUNT_OPTIONS  additional mount options for disk devices (eg. utf8,shortname=win95)
# 		     see mount documentation for details (man mount)
# CDROM_MOUNT_OPTIONS  additional mount options for cdrom devices (eg. utf8,shortname=win95)
# 		     see mount documentation for details (man mount)
# BIND_MOUNT#        A disk label to bind mount point mapping (eg. boot:/boot or home:/root)
# DAILY_REBOOT       Will reboot server if up over a day and one of the session
#                    types is closed
# AUTOPLAYCD         If enabled this will autoplay music cds when inserted.
# CUSTOM_CONFIG      Allows choosing custom boot config, On/Off 
# RECONNECT_PROMPT   This displays the reconnection/shutdown options for when a session is ended
#
#                    OFF    No reconnect prompt
#                    ON     Reconnect prompt will be displayed
#		     FORCE  Just reconnect
#                    AUTO   Automatic reconnect
#                    AUTOXX Automatic reconnect attempt after XX seconds - msg is displayed
#                    MENU   Shows a menu with a shutdown and reconnection option
#                    MENUXX As MENU option, but the XX is a time period in minutes.
#                           After XX minutes shutdown will occur unless the reconnect option
#                           is choosen
# NO_SESSION	     What to do in the event that all sessions have exited and not reconnected.
#		     POWEROFF  Shutdown the terminal.(default)
#		     REBOOT    Reboot the terminal.
# DEBUGPAUSE	     Will pause at prompt after load of all modules and packages but before starting
#		     Only works if debug package included
#		     true	pause at prompt to allow debug
#		     false	don't pause (default)
# CRON_JOBx	     Will add this crontab entry (1 - 9)
# FASTBOOT_URL       Normally fastboot will try to load lib.squash in the same way that vmlinuz and initrd
#		     were loaded. This will force fastboot to download lib.squash using a specific protocol
#		     and location

AUDIO_LEVEL=67
TIME_ZONE="America/Los_Angeles"
SYSLOG_SERVER=local
#USB_STORAGE_SYNC=On
#USB_MOUNT_DIR="/mnt/usbdevice"
#USB_MOUNT_USELABEL="Yes"
#USB_MOUNT_OPTIONS="utf8,shortname=win95"
BIND_MOUNT0="home:/root"
BIND_MOUNT1="boot:/boot"
BIND_MOUNT2="tsdev:/thinstation"
FASTBOOT_URL="http://www.thinstation.org"
DAILY_REBOOT=On
#AUTOPLAYCD=On
CUSTOM_CONFIG=Off
RECONNECT_PROMPT=On
#DEBUGPAUSE=true

##
# --- Session Defaults
# -- Default Settings for all sessions
#
# AUTOSTART		ON   Application will be executed immediately at startup
#			OFF  Application will appear in a menu to be started manually
# WORKSPACE		Workspace in the window manager to run the application in
# ICONMODE		MANUAL  Default sessions are not created in window manager/idesk or wbar
#			AUTO    Default sessions types are created in window manager/idesk or wbar
# ALWAYS_ENTER_SERVER	Whether or not the server entry dialog box is always displayed
# 			By default, autostarted sessions have this off and menu sessions have this on
#			OFF will disable the prompt for everything.
#			ON will enable the prompt for everything.
# ALLOW_EXIT		Whether or not a user will be allowed to cancel the server address entry.
# 			By default, autostarted sessions will not be allowed to exit and menu sessions will.
#			OFF will force entry for everything.
#			ON will allow exit from everything.

WORKSPACE=1
AUTOSTART=On
ICONMODE=AUTO
ALWAYS_ENTER_SERVER=Off
ALLOW_EXIT=Off

##
# --- Session Details
#
# Note:                     # is a number equal to or greater than 0
#
# SESSION_#_TITLE           Title description for SESSION. Needed for replimenu.
# SESSION_#_TYPE            Package type, choose beetwen:
#                           - vncviewer        Start vncviewer in X
#                           - rdesktop         Start rdesktop in X
#                           - x                Start x-terminal session (xdm)
#                           - xnest            Start x-terminal session (xdm) from within blackbox
#                           - ssh              Start ssh client in linux console
#                           - telnet           Start telnet client in linux console
#                           - ica              Start Citrix ICA client in X
#                           - ica_wfc          Start ICA Manager
#                           - openbox          Start openbox window manager session
#                           - icewm            Start icewm window manager session
#                           - dillo            Start Web Browser in X
#                           - tftpd            Start tftp daemon
#                           - tarantella       Start tarantella client
#                           - rxvt             Start light xterm client
#                           - xterm            Start xterm client
#                           - tn5250           Start AS400 client in linux console
#                           - nx               Start NX Client Session
# SESSION_#_AUTOSTART       ON      Application will be executed immediately at startup
#                           OFF     Application will appear in a menu to be started manually
# SESSION_#_CUSTOM_CONFIG   ON      Allows choosing custom config for when session starts
#                           OFF     Session boots normally
# SESSION_#_ICON            ON      Places Icon on Desktop if package xtdesk is selected and
#                                   in Window Manager Main Menu
#                           SUBMENU Places Icon on Desktop if package xtdesk is selected and
#                                   in a Submenu within the window manager
# SESSION_#_WORKSPACE       Workspace to run program on in a window manager
# SESSION_#_type_SERVER     IP address/hostname of the server
# SESSION_#_type_OPTIONS    Command line options for the session type
# SESSION_#_type_USER       Specify the user for sessions types that require a user
# SESSION_#_type_PASS_ENABLE Can be set to false, to override a session type that wants password input.
#
# SESSION_#_type_specific   This allows you to specify specific config file details for certain session
#                           types.  Currently support is NX and ICA.  Any configuration file setting
#                           can be changed with this setting.  An example of this is
#                           SESSION_0_NX_GENERAL_DESKTOP="Gnome"
#                           SESSION_0_ICA_APPSRV_USEFULLSCREEN="Yes"
#                           See your application manual for documentation on the settings which
#                           can be used.

# Individual Session Settings, override defaults (Likely Depricated)
#
# IMPORTANT:  Make sure you minimum have a SESSION_0. Otherwise you will get an error 
# on boot. You may have additional sessions: SESSION_1, SESSION_2 ...
# SESSION_0 is on ctrl-alt-F3
# SESSION_1 is on ctrl-alt-F4
# ... etc.

##
# --- Proxy Options
#
# PROXY_HOST             DNS Name or IP Address of HTTP Proxy Server
# PROXY_PORT             TCP/IP Port to use on HTTP Proxy Server
# PROXY_IGNORE		 Comma seperated list of hosts for which to bypass the proxy. "localhost,127.0.0.1/8" by default
# PROXY_USER             HTTP Proxy Authentication User
# PROXY_PASSWORD         HTTP Proxy User Password
# PROXY_USE_SAME         True/False, If enabled, HTTP Proxy settings will be used for all Protocols
# PROXY_SECURE_HOST      HTTPS Proxy Host
# PROXY_SECURE_PORT      HTTPS Proxy Port
# PROXY_SOCKS_HOST       SOCKS Proxy Host
# PROXY_SOCKS_PORT       SOCKS Proxy Port
# PROXY_FTP_HOST         FTP Proxy Host
# PROXY_FTP_PORT         FTP Proxy Port


#PROXY_HOST=192.168.1.1
#PROXY_PORT=8080
#PROXY_USE_SAME=true
#PROXY_IGNORE="localhost,127.0.0.1/8"

##
# --- Gtk Theme Engine Selection
#
# GTK_THEME              Selects the theme engine that gtk will use to
#                        render buttons and sliders. Adwaita by default
#                        Set to ALL to include all theme engines.
#                        Available themes:
#                                         Adwaita
#                                         Crux
#                                         Industrial
#                                         Mist
#                                         Redmond
#                                         ThinIce
#                                         Xfce   if xfwm4 package is included


GTK_THEME=Adwaita
# Global FreeRDP commands affecting all session and icon connections
# These modify /etc/cmd/freerdp.global and /etc/cmd/freerdp.window
#  FREERDP_GETUSER=off		# OFF removes user/password prompt
#  FREERDP_SMARTCARD=on		# Equiv to adding /smartcard
#  FREERDP_SMARTCARD=00		# Equiv to adding /smartcard:<option>
#  FREERDP_SOUND=sys:pulse	# Equiv to adding /sound:<option>
#  FREERDP_CERTIGNORE=off	# ON is adding /cert:ignore
#  FREERDP_CERT=deny		# Equiv to adding /cert:<option>

# FreeRDP - A Free Remote Desktop Protocol Implementation
# See www.freerdp.com for more information
#
# Usage: xfreerdp [file] [options] [/v:<server>[:port]]
#
# Syntax:
#    /flag (enables flag)
#    /option:<value> (specifies option with value)
#    +toggle -toggle (enables or disables toggle, where '/' is a synonym of '+')
#
#    /a:<addin>[,<options>]            Addin
#    /action-script:<file-name>        Action script
#    /admin                            Admin (or console) session
#    +aero                             Enable desktop composition
#    /app:<path> or ||<alias>          Remote application program
#    /app-cmd:<parameters>             Remote application command-line parameters
#    /app-file:<file-name>             File to open with remote application
#    /app-guid:<app-guid>              Remote application GUID
#    /app-icon:<icon-path>             Remote application icon for user interface
#    /app-name:<app-name>              Remote application name for user interface
#    /app-workdir:<workspace path>     Remote application workspace path
#    /assistance:<password>            Remote assistance password
#    /auto-request-control             Automatically request remote assistance
#                                      input control
#    +async-channels                   Enable Asynchronous channels
#                                      (experimental)
#    +async-input                      Enable Asynchronous input
#    +async-update                     Enable Asynchronous update
#    /audio-mode:<mode>                Audio output mode
#    +auth-only                        Enable Authenticate only
#    -authentication                   Disable Authentication (experimental)
#    +auto-reconnect                   Enable Automatic reconnection
#    /auto-reconnect-max-retries:<retries>
#                                      Automatic reconnection maximum retries, 0
#                                      for unlimited [0,1000]
#    +bitmap-cache                     Enable bitmap cache
#    /bpp:<depth>                      Session bpp (color depth)
#    /buildconfig                      Print the build configuration
#    /cert:[deny,ignore,name:<name>,tofu,fingerprint:<hash>:<hash as hex>
#          [,fingerprint:<hash>:<another hash>]]
#                                      Certificate accept options. Use with care!
#                                      * deny         ... Automatically abort
#                                      connection if the certificate does not
#                                      match, no user interaction.           *
#                                      ignore       ... Ignore the certificate
#                                      checks altogether (overrules all other
#                                      options)                           * name 
#                                             ... Use the alternate <name>
#                                      instead of the certificate subject to
#                                      match locally stored certificates * tofu  
#                                            ... Accept certificate
#                                      unconditionally on first connect and deny
#                                      on subsequent connections if the
#                                      certificate does not match * fingerprints
#                                      ... A list of certificate hashes that are
#                                      accepted unconditionally for a connection
#    /cert-deny                        [deprecated, use /cert:deny] Automatically
#                                      abort connection for any certificate that
#                                      can not be validated.
#    /cert-ignore                      [deprecated, use /cert:ignore] Ignore
#                                      certificate
#    /cert-name:<name>                 [deprecated, use /cert:name:<name>]
#                                      Certificate name
#    /cert-tofu                        [deprecated, use /cert:tofu] Automatically
#                                      accept certificate on first connect
#    /client-build-number:<number>     Client Build Number sent to server
#                                      (influences smartcard behaviour, see
#                                      [MS-RDPESC])
#    /client-hostname:<name>           Client Hostname to send to server
#    -clipboard[:[use-selection:<atom>]]
#                                      Disable Redirect clipboard.                       
#                                      * use-selection:<atom>  ... (X11) Specify
#                                      which X selection to access. Default is
#                                      CLIPBOARD. PRIMARY is the X-style
#                                      middle-click selection.
#    /codec-cache:[rfx|nsc|jpeg]       Bitmap codec cache
#    -compression                      Disable compression
#    /compression-level:<level>        Compression level (0,1,2)
#    +credentials-delegation           Enable credentials delegation
#    /d:<domain>                       Domain
#    -decorations                      Disable Window decorations
#    /disp                             Display control
#    /drive:<name>,<path>              Redirect directory <path> as named share
#                                      <name>. Hotplug support is enabled with
#                                      /drive:hotplug,*. This argument provides
#                                      the same function as "Drives that I plug
#                                      in later" option in MSTSC.
#    +drives                           Enable Redirect all mount points as shares
#    /dvc:<channel>[,<options>]        Dynamic virtual channel
#    /dynamic-resolution               Send resolution updates when the window is
#                                      resized
#    /echo                             Echo channel
#    -encryption                       Disable Encryption (experimental)
#    /encryption-methods:[40,][56,][128,][FIPS]
#                                      RDP standard security encryption methods
#    /f                                Fullscreen mode (<Ctrl>+<Alt>+<Enter>
#                                      toggles fullscreen)
#    -fast-path                        Disable fast-path input/output
#    +fipsmode                         Enable FIPS mode
#    /floatbar[:sticky:[on|off],default:[visible|hidden],show:
#               [always|fullscreen||window]]
#                                      floatbar is disabled by default (when
#                                      enabled defaults to sticky in fullscreen
#                                      mode)
#    -fonts                            Disable smooth fonts (ClearType)
#    /frame-ack:<number>               Number of frame acknowledgement
#    /from-stdin[:force]               Read credentials from stdin. With <force>
#                                      the prompt is done before connection,
#                                      otherwise on server request.
#    /g:<gateway>[:<port>]             Gateway Hostname
#    /gateway-usage-method:[direct|detect]
#                                      Gateway usage method
#    /gd:<domain>                      Gateway domain
#    /gdi:sw|hw                        GDI rendering
#    /geometry                         Geometry tracking channel
#    +gestures                         Enable Consume multitouch input locally
#    /gfx[:[[RFX|AVC420|AVC444],mask:<value>]]
#                                      RDP8 graphics pipeline
#    /gfx-h264[:[[AVC420|AVC444],mask:<value>] 
#               [DEPRECATED] use /gfx:avc420 instead]
#                                      RDP8.1 graphics pipeline using H264 codec
#    +gfx-progressive                  Enable RDP8 graphics pipeline using progressive
#                                      codec
#    +gfx-small-cache                  Enable RDP8 graphics pipeline using small cache
#                                      mode
#    +gfx-thin-client                  Enable RDP8 graphics pipeline using thin client
#                                      mode
#    +glyph-cache                      Enable Glyph cache (experimental)
#    /gp:<password>                    Gateway password
#    -grab-keyboard                    Disable Grab keyboard
#    /gt:[rpc|http[,no-websockets]|auto[,no-websockets]]
#                                      Gateway transport type
#    /gu:[[<domain>\]<user>|<user>[@<domain>]]
#                                      Gateway username
#    /gat:<access token>               Gateway Access Token
#    /h:<height>                       Height
#    -heartbeat                        Disable Support heartbeat PDUs
#    /help                             Print help
#    +home-drive                       Enable Redirect user home as share
#    /ipv6                             Prefer IPv6 AAA record over IPv4 A record
#    /jpeg                             JPEG codec support
#    /jpeg-quality:<percentage>        JPEG quality
#    /kbd:0x<id> or <name>             Keyboard layout
#    /kbd-lang:0x<id>                  Keyboard active language identifier
#    /kbd-fn-key:<value>               Function key value
#    /kbd-list                         List keyboard layouts
#    /kbd-lang-list                    List keyboard languages
#    /kbd-remap:List of <key>=<value>,... pairs to remap scancodes
#                                      Keyboard scancode remapping
#    /kbd-subtype:<id>                 Keyboard subtype
#    /kbd-type:<id>                    Keyboard type
#    /load-balance-info:<info-string>  Load balance info
#    /log-filters:<tag>:<level>[,<tag>:<level>[,...]]
#                                      Set logger filters, see wLog(7) for
#                                      details
#    /log-level:[OFF|FATAL|ERROR|WARN|INFO|DEBUG|TRACE]
#                                      Set the default log level, see wLog(7) for
#                                      details
#    /max-fast-path-size:<size>        Specify maximum fast-path update size
#    /max-loop-time:<time>             Specify maximum time in milliseconds spend
#                                      treating packets
#    +menu-anims                       Enable menu animations
#    /microphone[:[sys:<sys>,][dev:<dev>,][format:<format>,][rate:<rate>,]
#                 [channel:<channel>]] Audio input (microphone)
#    /monitor-list                     List detected monitors
#    /monitors:<id>[,<id>[,...]]       Select monitors to use
#    -mouse-motion                     Disable Send mouse motion
#    /multimon[:force]                 Use multiple monitors
#    +multitouch                       Enable Redirect multitouch input
#    +multitransport                   Enable Support multitransport protocol
#    -nego                             Disable protocol security negotiation
#    /network:[modem|broadband|broadband-low|broadband-high|wan|lan|auto]
#                                      Network connection type
#    /nsc                              NSCodec support
#    +offscreen-cache                  Enable offscreen bitmap cache
#    /orientation:[0|90|180|270]       Orientation of display in degrees
#    +old-license                      Enable Use the old license workflow (no CAL and
#                                      hwId set to 0)
#    /p:<password>                     Password
#    /parallel[:<name>[,<path>]]       Redirect parallel device
#    /parent-window:<window-id>        Parent window id
#    +password-is-pin                  Enable Use smart card authentication with
#                                      password as smart card PIN
#    /pcb:<blob>                       Preconnection Blob
#    /pcid:<id>                        Preconnection Id
#    /pheight:<height>                 Physical height of display (in
#                                      millimeters)
#    /play-rfx:<pcap-file>             Replay rfx pcap file
#    /port:<number>                    Server port
#    -suppress-output                  Disable suppress output when minimized
#    +print-reconnect-cookie           Enable Print base64 reconnect cookie after
#                                      connecting
#    /printer[:<name>[,<driver>]]      Redirect printer device
#    /proxy:[<proto>://][<user>:<password>@]<host>:<port>
#                                      Proxy settings: override env. var (see
#                                      also environment variable below). Protocol
#                                      "socks5" should be given explicitly where
#                                      "http" is default.
#    /pth:<password-hash>              Pass the hash (restricted admin mode)
#    /pwidth:<width>                   Physical width of display (in millimeters)
#    /rdp2tcp:<executable path[:arg...]>
#                                      TCP redirection
#    /reconnect-cookie:<base64-cookie> Pass base64 reconnect cookie to the
#                                      connection
#    /redirect-prefer:<FQDN|IP|NETBIOS>,[...]
#                                      Override the preferred redirection order
#    /relax-order-checks               Do not check if a RDP order was announced
#                                      during capability exchange, only use when
#                                      connecting to a buggy server
#    /restricted-admin                 Restricted admin mode
#    /rfx                              RemoteFX
#    /rfx-mode:[image|video]           RemoteFX mode
#    /scale:[100|140|180]              Scaling factor of the display
#    /scale-desktop:<percentage>       Scaling factor for desktop applications
#                                      (value between 100 and 500)
#    /scale-device:100|140|180         Scaling factor for app store applications
#    /sec:[rdp|tls|nla|ext]            Force specific protocol security
#    +sec-ext                          Enable NLA extended protocol security
#    -sec-nla                          Disable NLA protocol security
#    -sec-rdp                          Disable RDP protocol security
#    -sec-tls                          Disable TLS protocol security
#    /serial[:<name>[,<path>[,<driver>[,permissive]]]]
#                                      Redirect serial device
#    /shell:<shell>                    Alternate shell
#    /shell-dir:<dir>                  Shell working directory
#    /size:<width>x<height> or <percent>%[wh]
#                                      Screen size
#    /smart-sizing[:<width>x<height>]  Scale remote desktop to window size
#    /smartcard[:<str>[,<str>...]]     Redirect the smartcard devices containing
#                                      any of the <str> in their names.
#    /smartcard-logon                  Activates Smartcard Logon authentication.
#                                      (EXPERIMENTAL: NLA not supported)
#    /sound[:[sys:<sys>,][dev:<dev>,][format:<format>,][rate:<rate>,]
#            [channel:<channel>,][latency:<latency>,][quality:<quality>]]
#                                      Audio output (sound)
#    /span                             Span screen over multiple monitors
#    /spn-class:<service-class>        SPN authentication service class
#    /ssh-agent                        SSH Agent forwarding channel
#    /t:<title>                        Window title
#    -themes                           Disable themes
#    /timeout:<time in ms>             Advanced setting for high latency links:
#                                      Adjust connection timeout, use if you
#                                      encounter timeout failures with your
#                                      connection
#    /tls-ciphers:[netmon|ma|ciphers]  Allowed TLS ciphers
#    /tls-seclevel:<level>             TLS security level - defaults to 1
#    -toggle-fullscreen                Disable Alt+Ctrl+Enter to toggle
#                                      fullscreen
#    /tune:<setting:value>,<setting:value>
#                                      [experimental] directly manipulate freerdp
#                                      settings, use with extreme caution!
#    /tune-list                        Print options allowed for /tune
#    /u:[[<domain>\]<user>|<user>[@<domain>]]
#                                      Username
#    +unmap-buttons                    Enable Let server see real physical pointer
#                                      button
#    /usb:[dbg,][id:<vid>:<pid>#...,][addr:<bus>:<addr>#...,][auto]
#                                      Redirect USB device
#    /v:<server>[:port]                Server hostname
#    /vc:<channel>[,<options>]         Static virtual channel
#    /version                          Print version
#    /video                            Video optimized remoting channel
#    /vmconnect[:<vmid>]               Hyper-V console (use port 2179, disable
#                                      negotiation)
#    /w:<width>                        Width
#    -wallpaper                        Disable wallpaper
#    +window-drag                      Enable full window drag
#    /window-position:<xpos>x<ypos>    window position
#    /wm-class:<class-name>            Set the WM_CLASS hint for the window
#                                      instance
#    /workarea                         Use available work area
#
#Examples:
#    xfreerdp connection.rdp /p:Pwd123! /f
#    xfreerdp /u:CONTOSO\JohnDoe /p:Pwd123! /v:rdp.contoso.com
#    xfreerdp /u:JohnDoe /p:Pwd123! /w:1366 /h:768 /v:192.168.1.100:4489
#    xfreerdp /u:JohnDoe /p:Pwd123! /vmconnect:C824F53E-95D2-46C6-9A18-23A5BB403532 /v:192.168.1.100
#
#Clipboard Redirection: +clipboard
#
#Drive Redirection: /drive:home,/home/user
#Smartcard Redirection: /smartcard:<device>
#Serial Port Redirection: /serial:<name>,<device>,[SerCx2|SerCx|Serial],[permissive]
#Serial Port Redirection: /serial:COM1,/dev/ttyS0
#Parallel Port Redirection: /parallel:<name>,<device>
#Printer Redirection: /printer:<device>,<driver>
#TCP redirection: /rdp2tcp:/usr/bin/rdp2tcp
#
#Audio Output Redirection: /sound:sys:oss,dev:1,format:1
#Audio Output Redirection: /sound:sys:alsa
#Audio Input Redirection: /microphone:sys:oss,dev:1,format:1
#Audio Input Redirection: /microphone:sys:alsa
#
#Multimedia Redirection: /video
#USB Device Redirection: /usb:id:054c:0268#4669:6e6b,addr:04:0c
#
#For Gateways, the https_proxy environment variable is respected:
#    export https_proxy=http://proxy.contoso.com:3128/
#    xfreerdp /g:rdp.contoso.com ...
    
#SESSION_#_TITLE="Big Bad Server Donald"
#SESSION_#_TYPE=freerdp
#SESSION_#_FREERDP_SERVER=192.168.1.1
#SESSION_#_FREERDP_OPTIONS="/u:user /p:password /bpp:16"
#SESSION_#_AUTOSTART=Off

# /u:'' gives a blank user name
#SESSION_#_TITLE="Big Bad Server Road Runner"
#SESSION_#_TYPE=freerdp
#SESSION_#_FREERDP_SERVER=192.168.1.1
#SESSION_#_FREERDP_OPTIONS="/u:'' /bpp:8"
#SESSION_#_AUTOSTART=Off

#Example on USB and CD redirection for freerdp
#SESSION_#_TITLE="Remote Desktop"
#SESSION_#_TYPE=freerdp
#SESSION_#_FREERDP_SERVER=192.168.1.1
#SESSION_#_FREERDP_OPTIONS="+drives /multimedia /rfx +fonts +aero"
#SESSION_#_AUTOSTART=Off

FREERDP_SELECT_SERVER=true
FREERDP_SERVER_0="Big_Bad_Server_Donald"
FREERDP_SERVER_0_OPTIONS="/d:thinstation.local"
FREERDP_KNOWN_HOST_0="Big_Bad_Server_Donald 7a:a4:af:8a:98:da:50:52:ba:33:8d:e6:15:4e:49:7b:b3"
FREERDP_SERVER_1="Big_Bad_Server_Road_Runner"
FREERDP_SERVER_1_OPTIONS="/cert:ignore /d:thinstation.local"
SESSION_#_TITLE="Server Select"
SESSION_#_TYPE=freerdp
SESSION_#_AUTOSTART=ON
SESSION_#_FREERDP_USER=testuser		#Seed the user field
SESSION_#_FREERDP_PASS_ENABLE=true	#Force asking for a password

##
# --- X Server Options
#
# SCREEN_RESOLUTION       Screen resolutions available in the workstations
# SCREEN_COLOR_DEPTH      Number of bits per pixel (8,16,24), just use ONE value
# SCREEN_HORIZSYNC        Monitor horizontal sync frequency in Khz.
#                         If left blank Xorg will try to detect with DDC
# SCREEN_VERTREFRESH      Monitor vertical refresh frecuency in Hz.
#                         If left blank Xorg will try to detect with DDC
#                       
#                         Screen Saver Settings
# SCREEN_BLANK_TIME       Minutes to X session goes blank
# SCREEN_STANDBY_TIME     Minutes to X session goes into standby mode
# SCREEN_SUSPEND_TIME     Minutes to X session goes into suspend mode
# SCREEN_OFF_TIME         Minutes to X session turn off
# DONT_VT_SWITCH_STATE    If true, don't allow vt switching in X
# DONT_ZAP_STATE	  If true, don't allow hot key exit from X 
#
# MOUSE_PROTOCOL          Mouse protocol type (Microsoft, PS/2, etc.)
#                         (mouse is autodetected, use this only if it fails)
# MOUSE_DEVICE            Mouse device:  /dev/ttyS0 -> COM1
#                                   /dev/ttyS1 -> COM2
#                                   /dev/ttyS2 -> COM3
#                                   /dev/ttyS3 -> COM4
#                                   /dev/psaux -> PS/2 mouse port
#                                   /dev/input/mice -> USB mouse (needs USB package)
# MOUSE_RESOLUTION        Mouse resolution
# MOUSE_ACCELERATION      Mouse acceleration
# X_NUMLOCK		  Set numlock state on boot
# X_COOKIE                Will set X Cookie if specified

SCREEN_RESOLUTION="800x600 | 1024x768 | 640x480 | *"
SCREEN_COLOR_DEPTH="24"
#SCREEN_HORIZSYNC="30-64 | *"
#SCREEN_VERTREFRESH="56-87 | 60 | 56 | 70 | 72 | 75"
SCREEN_BLANK_TIME=10
SCREEN_STANDBY_TIME=20
SCREEN_SUSPEND_TIME=30
SCREEN_OFF_TIME=60
#MOUSE_PROTOCOL=PS/2
#MOUSE_DEVICE=/dev/psaux
MOUSE_RESOLUTION=100
#MOUSE_ACCELERATION=1/2
X_COOKIE=36d71ab65c10ef065702c111a3d31593
#X_NUMLOCK=Off


##
# -- Advanced XServer Options - Experts Only
# X_DRIVER_NAME           Driver for X, this will override the autodetection scripts
# X_DRIVER_BUSID          Screen Card BusID
# X_<SECTION>_OPTIONn	Where <SECTION>=SERVERFLAGS,SERVERLAYOUT,MODULES,FILES,DRI,DEVICE,MONITOR,SCREEN,MODES
# X_DEVICE_OPTION1-9	Addditional options for driver
# X_MONITOR_OPTION1-9	Addditional options for monitor
# X_MONITOR_MODELINE	Add user defined ModeLine
# X_MONITOR_MODELINE1-9	Add more user defined ModeLines
# X_KEYBOARD_OPTION1-9	Add keyboard options
# X_MOUSE_OPTION1-9	Add mouse options
# USE_XRANDR		Use xrandr to set diplay size and orientation
# XRANDR_OPTIONS	Specific options to pass to xrandr instead of just the bootresolution
# -- Advanced Options - Experts Only
#X_DRIVER_NAME="mga"
#X_DRIVER_BUSID="PCI:1:0:0"

X_DEVICE_OPTION1="swcursor On"
USE_XRANDR=TRUE
#XRANDR_OPTIONS="-s 1680x1050"
#X_DEVICE_OPTION2="ActiveDevice CRT"
#X_DEVICE_OPTION3="noDDC Off"
#X_DEVICE_OPTION4="UseBios Off"
#X_KEYBOARD_OPTION1="XkbModel pc98"
#X_KEYBOARD_OPTION2="XkbLayout nec/jp,us"
#X_KEYBOARD_OPTION3="XkbOptions grp:alt_shift_toggle"
#X_MONITOR_OPTION1="DPMS On"
#X_MONITOR_OPTION2="TargetRefresh 60"
#X_MONITOR_MODELINE='"1680x1050" 146.2 1680 1784 1960 2240 1050 1053 1059 1089 -HSync -VSync'


##
# --- LP Server Printing Options
#
# PRINTER_0_NAME     Workstation Printer Name, Can be Any Valid Name
#                    If you have turned ICA_PRINTER=ON then this is the 
#                    name of the printer driver
# PRINTER_0_DEVICE   Workstation printer device (if not specified devices
#                    are not loaded).
#                       /dev/printers/[0-2]   for parallel ports
#                       /dev/ttyS[0-3] for serial ports
#                       /dev/usb/lp[0-2] for USB printers
#
# PRINTER_0_TYPE     P for parallel, S for serial, U for USB printer
# PRINTER_0_OPTIONS  Serial port options.
# PRINTER_1_*        See PRINTER_0_*
# PRINTER_2_*        See PRINTER_0_*
# PRINTER_3_*        See PRINTER_0_*

#PRINTER_0_NAME="parallel"
#PRINTER_0_DEVICE=/dev/printers/0
#PRINTER_0_TYPE=P

#PRINTER_1_NAME="serial"
#PRINTER_1_DEVICE=/dev/ttyS1
#PRINTER_1_TYPE=S
#PRINTER_1_OPTIONS="speed 38400 -imaxbel"

#PRINTER_#_NAME="usb"
#PRINTER_#_DEVICE=/dev/usb/lp0
#PRINTER_#_TYPE=U

#PRINTER_#_NAME="usb"
#PRINTER_#_DEVICE=/dev/usb/lp0
#PRINTER_#_TYPE=U

#ICA Autocreate Printer Example

#PRINTER_0_NAME="HP LaserJet Series II"
#PRINTER_0_DEVICE=/dev/printers/0
#PRINTER_0_TYPE=P

##
# -- Card Reader Options

#PCSCD_CARDREADER_PORT           # Specify port for serial card, not needed for USB
#PCSCD_CARDREADER_TYPE           # Can be SERIAL or USB

#PCSCD_CARDREADER_PORT="/dev/ttyS0"
#PCSCD_CARDREADER_TYPE="USB"


##
# --- PKG Options
#
# PKG_PACKAGES       Choice of packages to download for PKG
#                    You can also use PKG_PACKAGES1-8 for additional package selections
#                    This is useful for using multiple network group files
# PKG_PREFIX         Download PKGs from a subdir of /tftpboot or PKG Path if PKG_PATH
#                    is set in thinstation.conf
# PKG_PATH           Path to PKG files if not using tftpboot
#                    Floppy: /mnt/floppy
#                    CD-ROM: /mnt/cdrom
#                    HD:     /mnt/disc/hdX/part1   (first disc, first partition)
#                    NFS:    /mnt/nfs
#                    Samba:  /mnt/smb
# MOD_PACKAGES       Choice of modules to download for MPKG
#                    You can also use MOD_PACKAGES1-8 for additional package selections
#                    This is useful for using multiple network group files
# MOD_PREFIX         Downloads and insmod's a module from a subdir of /tftpboot
#                    if MOD_PREFIX is set in thinstation.conf

#PKG_PACKAGES="blackbox rxvt"
#PKG_PREFIX=pkg
#PKG_PATH=/mnt/cdrom
#MOD_PACKAGES="usb-hid usb-storage"
#MOD_PREFIX=modules


##
# --- Networking Options
#
# NET_HOSTNAME           Hostname to use if not using a thinstation.hosts file, note
#                        that the machine MAC address will replace any * if used.
# NET_SMTP_SERVER        Email server address for error logs
# NET_SMTP_EMAIL         Email address of administrator
# NET_TIME_SERVER        Time server on network with which to sync. NTP Time Server. Recommend <country code>.pool.ntp.org
# NET_TELNETD            Enables built-in telnetd server package
# NET_REMOTE_ACCESS_FROM List of hostnames/ip address accepted by the server
#                        for remote control, used by telnetd and www packages
# NET_USE		 Sets which interfaces to try and enable at boot time
#			 LAN  Only try and initialize wired interfaces
#			 WLAN Only try and initialize wireless interfaces (You still need to set other parameters)
#			 BOTH Try and enable all interfaces
# 
# -- Mounting networked filesystems --
#
# NET_NFS_SERVER         This is the path to the NFS server, ie
#                        server:/path/to/share.
# NET_SMB_SERVER         This is the path to the SMB server, ie
#                        server:/path/to/share. 
# NET_SMB_WORKGROUP      Workgroup of samba server
# NET_SMB_USER           This is the username for SMB mounts, password is
#                        defined at build time in build.conf
# NET_LINKWAIT		 Amount of time to wait for a link.

NET_LINKWAIT=6
NET_USE=BOTH
#NET_HOSTNAME=donald
NET_HOSTNAME=ts_*
NET_TIME_SERVER=pool.ntp.org
NET_DHCP_TIMEOUT=30
#NET_SMTP_SERVER=donald
#NET_SMTP_EMAIL=donald@duck.org.nz
#NET_TIME_SERVER=mickey
NET_TELNETD_ENABLED=On
NET_REMOTE_ACCESS_FROM="duck.quak.org.au 192.168.0.0 .disney.us"
#NET_NFS_SERVER=bigserver:/opt/thinstation
#NET_SMB_USER=duck


# -- For use in thinstation.conf.buildtime only:
#
# NET_USE_DHCP           Enable DHCP Resolution
#                        ON     Use DHCP, fail if it doesn't get a lease
#                        OFF    Don't use DHCP, manual configuration required
#                        BOTH   Use DHCP in first instance, failing to get a lease, try manual config
# NET_IP_ADDRESS         IP Address of client
# NET_MASK               Network mask of client
# NET_GATEWAY            IP Address of gateway
# NET_DHCP_DELAY	 Delay before continuing script after bringing up interface, only needed if
#                        using spanning tree "port discovery" in a switched environment.  Default is 0 seconds.
# NET_FILE_METHOD        Method to download files. Can be either of the following values: tftp, wget, http, scp.
#                        scp is only available if package ssh is selected in build as a "package".
#                        With the package netfiles you can use NET_FILE_METHOD, NET_FILE_ENABLED and NET_FILE_ALTERNATE
#                        to download configuration files (thinstation.conf.group-<my group>, thinstation.conf.<mac-address> etc.)
# NET_FILE_ENABLED       Use server for config file, On/Off
# NET_FILE_USER          User to connect to SCP server as
# NET_FILE_ALTERNATE     Alternate server for vmware or non-standard dhcp servers
# NET_DNS1               DNS Server 1
# NET_DNS2               DNS Server 2
# NET_DNS_SEARCH         Default DNS domain to search

#NET_USE_DHCP=Off
#NET_IP_ADDRESS=192.168.0.1
#NET_MASK=255.255.255.0
#NET_GATEWAY=192.168.0.254
#NET_DHCP_DELAY=30
#NET_FILE_ENABLED=Off
#NET_FILE_METHOD=http
#NET_FILE_USER=not_needed_for_tftp
#NET_FILE_ALTERNATE=192.168.0.4
#NET_DNS1=192.168.0.2
#NET_DNS2=192.168.0.3
#NET_DNS_SEARCH=cartoons.org.nz



##
# --- Permanent Storage Options
#
# STORAGE_PATH           Path to where storage device is mounted to save
#                        profile settings.  This should be one of
#                        /mnt/usbdevice/sdX/partX or disc
#                        /mnt/floppy
#                        /mnt/disc/hdX/partX
#                        /mnt/nfs
#                        /mnt/smb
#
#                        Note that the profile settings are stored under
#                        a subfolder for this path.  So the path to the
#                        stored settings would be something like
#                        /mnt/floppy/thinstation.profile
#                        See the FAQ on the website for more details on this
#
#                        Also checkout README.IMPORTANT for the valid
#                        config files which you can place here
#                        a typical file to store config file settings is
#                        /mnt/floppy/thinstation.profile/thinstation.conf.user
#
#                        Also note that the .profile can be changed by using
#                        the below STORAGE_PREFIX
# STORAGE_PREFIX         This is prefex for the folder name to store settings
#                        in on the storage device.   You can also use one of the
#                        special characters below.
#
#                        M = Mac Address
#                        H = Hostname
#                        I = Ip Address
#
#                        Note default prefix for storing the profile is
#                        .profile
# STORAGE_CONFIG1-8      This is the path for any user defined settings
#                        which will always override the profile path above
#                        The files are tried on order on each device specified


#STORAGE_PATH=/mnt/nfs
#STORAGE_PREFIX=H
#STORAGE_CONFIG1=/mnt/floppy
#STORAGE_CONFIG2=/mnt/cdrom
#STORAGE_CONFIG3=/mnt/disc/hda/part1
#STORAGE_CONFIG4=/mnt/usbdevice/sda/part1


##
#**** EXPERIMENTAL ****
# Dual Head Support
#
# This allows two seperate X sessions to be started with seperate input devices.  This allows
# effectively two seperate machines within the same PC.  You will need seperate screen cards
# to enable this.  It is best to use with 1 AGP card and 1 PCI card.

# Check out http://www.ltn.lv/~aivils/eng-video.html for a list of known compatable screen cards

# Input Device support should be:
#
# Primary mouse and keyboard PS/2
# Secondary mouse and keyboard USB
#
# There is some basic detection scripts for this, but these will need to be improved in TS 3.0.
# If thinstation doesn't detect both a USB keyboard and mouse it will default back to dual
# screen support, not dual head.
#
# This is not considered stable.  If you exit the session, or try to change to a console screen
# with Alt-F1 etc... it will probably crash the machine.  If it doesn't work with your hardware
# there is nothing that can be done about it.

# The kernel Advanced Power Management module is disabled when using dual screen as it causes the
# second screen to crash.

# Note the below option only supports 1-2, anything more than two won't work.  This is provided
# for future development, to create a machine with more than two seperate sessions.

# SESSION_#_SCREEN_POSITION 1-X When using dual screen support you can specify the position
#                               of each session.  This allows to seperate sessions to be on
#                               seperate screens.  If only 1 session is in use, this option will
#                               make no differnece.  You can specify between 1+ positions

