/etc/winswitch/server_defaults.conf is in winswitch 0.12.20+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | # Window Switch Configuration File
#
# This is the default server configuration.
#
# When starting a winswitch_server instance for the first time
# this file will be used as template to create the initial configuration.
#
# For more information on configuration, see:
# http://winswitch.org/documentation/server-config.html
# Hint about the type of system this is:
#type="workstation"
# Require an SSH tunnel to access this server?:
#ssh_tunnel=True
# Protocols that can be tunnelled:
#tunnel_fs=False
#tunnel_sink=True
#tunnel_source=True
#tunnel_printer=False
# Will the local display be exported to remote clients:
#export_local_displays=True
# You should not allow root logins unless you know what you are doing!
#allow_root_logins=False
# Root authentication allows you to login as another user without knowing their password
#allow_root_authentication=True
# allow clients to stop the server remotely:
#clients_can_stop=True
# Close sessions when server stops (the server is normally able to reload them on re-start):
#close_sessions_on_exit=False
# Cleanup session directory when session terminates:
#delete_session_files=True
# mDNS settings:
#mDNS_publish=True
#mDNS_publish_username=True
#reversed_mdns=False
# Debugging options:
debug_mode=True
verbose_mode=False
# For integrating with a firewall via scripts:
#firewall_script="/usr/libexec/winswitch/firewall"
firewall_enabled=False
# The maximum connection speed from this server to remote clients:
max_line_speed=100000000
# Which authentication module to use (only PAM is supported for now):
#authentication_module="PAM"
# Grant SSH access to users who have authenticated: (adds their ssh public key to SSH authorized_keys)
grant_ssh_access=True
# Does the server support SSH X11 display forwarding?:
#supports_ssh=True
#ssh_host_public_key_file="/etc/ssh/ssh_host_rsa_key.pub"
# Warning: if set and non-empty, this password can be used to login - bypassing any system password set!
#magic_password_bypass=""
# Whitelist of commands: commands must match these to be enabled:
whitelist_commands[0]="*"
whitelist_xsessions[0]="*"
# Can the clients start custom commands not found in .desktop files:
allow_custom_commands=True
# Can the clients send files to open:
allow_file_transfers=True
# Where to store the files uploaded:
download_directory="~/Downloads"
# Path to some commands:
#screen_command="/usr/bin/screen"
#pulseaudio_command="/usr/bin/pulseaudio"
#xpra_command="/usr/bin/xpra"
# Xnest is used for simulating desktop mode with xpra and ssh:
#xnest_command="/usr/bin/Xephyr"
# SMB commands used for mounting and unmounting:
#smbmount_command="sudo -n mount -t cifs"
#smbumount_command="sudo -n umount"
# to capture screenshots:
#screen_capture_command="/usr/bin/import -screen -silent -window root -compress JPEG jpeg:"
# command to use for opening files sent by the clients:
#default_open_command="/usr/libexec/winswitch/mime_open"
# Can clients mount remote filesystems and where?
mount_client=True
mount_location="~/Desktop"
# to turn off sound completely:
#supports_sound=True
# gstreamer sound configuration for receiving/exporting sound from/to the local display:
#gst_sound_sink_module="pulsesink"
#gst_sound_sink_options={}
#gst_sound_source_module="pulsesrc"
#gst_sound_source_options={}
# gstreamer video configuration:
# known options: autovideosrc (all), ximagesrc (*nix)
#gstvideo_src_plugin="ximagesrc"
# pre-launch some sessions:
#prelaunch_users=[]
#prelaunch_enabled=False
# commands to start automatically with desktop sessions:
#desktop_session_commands[0]="/usr/bin/xset s off"
#desktop_window_manager_command="/usr/bin/metacity --no-composite"
#dbus_command="dbus-daemon --fork --print-address=1 --print-pid=1 --session"
# NX:
#nxagent_command="/usr/bin/nxagent"
# libvirt support:
#virsh_command="/usr/bin/virsh"
#libvirt_uris[0]="qemu:///session"
#libvirt_uris[1]="uml:///session"
# vnc support:
#xvnc_command="/usr/bin/Xvnc"
#xvnc_options[0]="+extension"
#xvnc_options[1]="RANDR"
#xvnc_options[2]="-once"
#xvnc_options[3]="-br"
#vnc_session_commands[0]="/usr/bin/devilspie /usr/share/winswitch/devilspie/Xvnc.ds"
#vnc_session_commands[1]="/usr/bin/xloadimage -fullscreen -onroot /usr/share/winswitch/background.jpg"
#vnc_session_commands[2]="/usr/bin/vncconfig -nowin"
#vncshadow_command="/usr/bin/x0vncserver"
#vncpasswd_command="/usr/bin/vncpasswd"
# How often to run screen capture in seconds (use 0 or a negative value to disable it):
#screen_capture_delay=30
|