/
30_default.conf
75 lines (63 loc) · 2.8 KB
/
30_default.conf
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
## This file is part of Whonix.
## Copyright (C) 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net>
## See the file COPYING for copying conditions.
## Please use "/etc/rads.d/50_user.conf" for your custom configuration,
## which will override the defaults found here. When rads is updated, this
## file may be overwritten.
## This file is responsible for configuring /etc/profile.d/30_desktop.sh,
## which is a script, which decides based on these settings, whether to
## autostart the login manager (graphical desktop environment) or not.
## If set to 1, this feature is enabled.
## Otherwise, it will be completely disabled.
## When not enabled, it might make sense to run
## "sudo update-rc.d kdm defaults" to re-enable autostart of kdm,
## if that is your display manager.
rads_autostart_decision_feature=1
## If set to 1, it will start the display manager,
## if there is enough total RAM (configurable below).
rads_start_display_manager=1
## Minimum amount of total RAM, which has to be available
## to start the display manager. If less RAM is
## available, no display manager will be autostarted.
## Note: When using VirtualBox, Video RAM gets subtracted from the total
## amount of RAM, which RAM Desktop Loader can detect minus a few other MB RAM.
## So better set the amount of minimum RAM a bit lower than your threshold.
## By default we use 480 MB below, so a minimum of 500 MB RAM will load a
## desktop.
rads_minium_ram=480
## When set to 1, the check for enough total RAM
## will be disabled.
rads_skip_ram_test=0
## If set to 1, wait a configurable (below)
## amount of seconds, before starting the
## display manager. During this perioid you
## can press "ctrl + c" to abort starting
## the display manager.
rads_wait=1
## If rads_wait is set to 1,
## wait the following amount of seconds,
## before starting the display manager.
## During the waiting period you could press "ctrl + c" to abort starting a
## display manager.
rads_wait_seconds=10
## Set to 1 to enable debugging.
rads_debug=0
## Disable update-rc.d $dm remove in display-manager-dpkg-post-invoke:
## kdm, gdm, gdm3, lightdm, slim, wdm, xdm, nodm, sddm.
## Only set to 1 if you know what you are doing.
rads_disable_rc_d_remove=0
## Default config file which tells us which is the systems defaults display
## manager.
## Only change this if you know what you are doing.
x_default_dm_config_file="/etc/X11/default-display-manager"
## Which display manager should be started by rads
## using "sudo /usr/sbin/service "$rads_display_manager" start".
## If empty, defaults to
## rads_display_manager="$(basename "$(cat "$x_default_dm_config_file")")"
## Usually you are better off using,
## sudo dpkg-reconfigure kdm
## or
## sudo dpkg-reconfigure gdm
## to change your display manager.
## Only change this if you know what you are doing.
rads_display_manager=""