This file is indexed.

/usr/share/gnome/help/ltsp/C/lts.conf.xml is in ltsp-docs 1.2-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
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<refentry id="lts.conf" revision="0.1">
  <refentryinfo>
    <date>2008-11-18</date>
  </refentryinfo>

  <refmeta>
    <refentrytitle>lts.conf</refentrytitle>

    <manvolnum>5</manvolnum>

    <refmiscinfo class="manual">File Formats and Conversions</refmiscinfo>

    <refmiscinfo class="source">LTSP</refmiscinfo>

    <refmiscinfo class="version">5</refmiscinfo>
  </refmeta>

  <refnamediv id="lts-conf-name">
    <refname>lts.conf</refname>

    <refpurpose>Main configuration file for LTSP</refpurpose>
  </refnamediv>

  <!-- body begins here -->

  <refsynopsisdiv id="lts-conf-synopsis">
    <para>Any line beginning with a '#' is considered a comment. Options are
    of the format:</para>

    <synopsis>VARIABLE=value</synopsis>
  </refsynopsisdiv>

  <refsect1>
    <title>Description</title>

    <para>This file gets parsed when LTSP client starts up. The section
    defined by [default] gets applied to all clients, unless there is a
    specification for a particular client that overrides it. The per-client
    specs are prefixed by [&lt;mac address&gt;]</para>

    <para>You may also name an arbitrary section with a name, with settings
    underneath that section. You may then inherit that section with the
    <varname>LIKE</varname> variable. The Example section has an illustration
    of this.</para>

    <para>boolean values are specified by 'Y,y,True,true' for true and
    'N,n,False,false' for false</para>
  </refsect1>

  <refsect1 id="lts-conf-general">
    <title>lts.conf - general parameters</title>

    <variablelist id="lts-conf-general-list">
      <varlistentry>
        <term><varname>CONFIGURE_FSTAB</varname></term>

        <listitem>
          <para>boolean, default <emphasis>True</emphasis></para>

          <para>/etc/fstab is generated by boot scripts</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>FSTAB_0..FSTAB_9</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Complete lines to add to /etc/fstab, for example:<screen>
FSTAB_1="server:/home    /home           nfs     defaults,nolock 0       0"
 </screen></para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>CRONTAB_01..CRONTAB_10</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>A crontab line to add for a thin client.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>DNS_SERVER</varname></term>

        <listitem>
          <para>IP address, default <emphasis>unset</emphasis></para>

          <para>A valid IP for domain name server Used to build the client's
          resolv.conf file. Not needed by default.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>SEARCH_DOMAIN</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>sets a valid search domain in the clients's resolv.conf file.
          Used to build the resolv.conf file. Not needed by default.</para>

          <para>Needed if <varname>DNS_SERVER</varname> is set</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>HOSTNAME</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>This parameter sets the host name for the thin client, for
          situations when if no DNS is available. A hostname is auto-generated
          if no hostname is set.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>HOSTNAME_BASE</varname></term>

        <listitem>
          <para>string, default <emphasis>ltsp</emphasis></para>

          <para>This parameter sets the base for the autogenerated host name
          for the thin client.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>HOSTNAME_EXTRA</varname></term>

        <listitem>
          <para>string, default <emphasis>ip</emphasis></para>

          <para>This parameter determines weather autogenerated host names are
          appended with information based on the ip address or mac address.
          Values are "ip" or "mac".</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>NBD_SWAP</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>Set this to <command>True</command> if you want to turn on NBD
          swap.</para>

          <para>If unspecified, it's automatically enabled for thin clients
          with less than 300 MB RAM and for fat clients with less than 800 MB
          RAM.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>NBD_SWAP_PORT</varname></term>

        <listitem>
          <para>integer, default <emphasis>10809</emphasis></para>

          <para>The port on which NBD swapping will occur. An nbd-server
          export named <varname>swap</varname> is normally used.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>NBD_SWAP_SERVER</varname></term>

        <listitem>
          <para>IP address, default <emphasis>SERVER</emphasis></para>

          <para>The NBD swap server can exist on any server on the network
          that is capable of handling it. You can specify the IP address of
          that server. The default is whatever the value of
          <varname>SERVER</varname> set to.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>NBD_SWAP_THRESHOLD</varname></term>

        <listitem>
          <para>integer, default <emphasis>300</emphasis></para>

          <para>Automatically enable <varname>NBD_SWAP</varname> if the client
          has less RAM than the specified. For FAT clients, it defaults to
          800.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>RM_SYSTEM_SERVICES</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>A space separated list of services that shouldn't start on the
          clients even if they're installed, for example:<screen>RM_SYSTEM_SERVICES="apache2 dnsmasq mysql nbd-server nfs-kernel-server"</screen></para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>RM_THIN_SYSTEM_SERVICES</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Same as <varname>RM_SYSTEM_SERVICES</varname>, but it only
          affects thin clients.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>KEEP_SYSTEM_SERVICES</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Some services are deleted by default when an LTSP client
          boots, either to save RAM, or because they don't make sense for
          netbooted machines. If you need some of them you can list them in
          <varname>KEEP_SYSTEM_SERVICES</varname>, for example:<screen>KEEP_SYSTEM_SERVICES="acpid avahi-daemon bluetooth cups"</screen></para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>SERVER</varname></term>

        <listitem>
          <para>IP address, default <emphasis>unset</emphasis></para>

          <para>This is the server that is used for the
          <varname>XDM_SERVER</varname>, <varname>TELNET_HOST</varname>,
          <varname>XFS_SERVER</varname> and <varname>SYSLOG_HOST</varname>, if
          any of those are not specified explicitly. If you have one machine
          that is acting as the server for everything, then you can just
          specify the address here and omit the other server parameters. If
          this value is not set, it will be auto detected as the machine that
          the thin client booted from.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>SYSLOG_HOST</varname></term>

        <listitem>
          <para>IP address, default <emphasis>unset</emphasis></para>

          <para>If you want to send logging messages to a machine other than
          the default server, then you can specify the machine here. If this
          parameter is NOT specified, then it will use the
          <varname>SERVER</varname> parameter described above. Starting from
          LTSP 5.4.1 and on, this parameter must be specified to enable remote
          logging.</para>

          <para>You have to configure your server to accept remote logging as
          well.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>USE_LOCAL_SWAP</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>If you have a hard drive installed in the thin client, with a
          valid swap partition on it, this parameter will allow the thin
          client to swap to the local hard drive.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>TIMEZONE</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>The timezone code for the thin client to use.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>TIMESERVER</varname></term>

        <listitem>
          <para>IP address, default <emphasis>unset</emphasis></para>

          <para>The address of an NTP time server that the thin client can set
          it's time from. If unset, the thin client just uses the BIOS
          time.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>SHUTDOWN_TIME</varname></term>

        <listitem>
          <para>string, format hh:mm:ss in 24 hour format, default
          <emphasis>unset</emphasis></para>

          <para>Time at which thin client will automatically shut down.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LTSP_FATCLIENT</varname></term>

        <listitem>
          <para>boolean, default <emphasis>unset</emphasis></para>

          <para>Enable Fat Client support. It's automatically enabled if any
          sessions exist in /usr/share/xsessions.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>FAT_RAM_THRESHOLD</varname></term>

        <listitem>
          <para>integer, default <emphasis>300</emphasis></para>

          <para>Disable fat client support if less RAM is present.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1 id="lts-conf-localdev">
    <title>lts.conf - local devices</title>

    <variablelist id="lts-conf-localdev-list">
      <varlistentry>
        <term><varname>LOCALDEV</varname></term>

        <listitem>
          <para>boolean, default <emphasis>True</emphasis></para>

          <para>This parameter enables local devices support, like CD's and
          USB sticks. Users plugging them in should see them on the desktop,
          after they've been allowed to access the FUSE subsystem on the
          server. Check your distibutions docs to see how this is done on your
          distribution.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LOCALDEV_DENY_CD</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>This parameter disables local device support for CD and
          DVD-rom devices.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LOCALDEV_DENY_FLOPPY</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>This parameter disables local device support for floppy
          devices.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LOCALDEV_DENY_INTERNAL_DISKS</varname></term>

        <listitem>
          <para>boolean, default <emphasis>True</emphasis></para>

          <para>This parameter disables local device support for internal ATA
          and SCSI hard disk devices.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LOCALDEV_DENY_USB</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>This parameter disables local device support for USB
          devices.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LOCALDEV_DENY</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>This parameter disables local device support for devices
          matching certain patterns. Values are specified as a comma-separated
          list of sysfs attributes, which can be obtained by using udevadm
          info (or udevinfo). for example: <screen>
                        udevadm info -q env -n /dev/hda
                        ID_TYPE=disk
                        ID_BUS=ata
                        </screen> should return a list of the attributes
          relevent to /dev/hda. to exclude this disk and disks like it using
          LOCALDEV_DENY: LOCALDEV_DENY="ID_BUS:ata+ID_TYPE:disk" would match
          devices that were on the ata bus that were disks.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1 id="lts-conf-modules">
    <title>lts.conf - scripts and modules</title>

    <variablelist id="lts-conf-modules-list">
      <varlistentry>
        <term><varname>MODULE_01...MODULE_10</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Up to 10 kernel modules can be loaded by using these
          configuration entries. The entire command line that you would use
          when running insmod can be specified here. For example:</para>

          <screen>
MODULE_01 = uart401.o
MODULE_02 = "sb.o io=0x220 irq=5 dma=1"
MODULE_03 = opl3.o
                    </screen>

          <para>If the value of this parameter is an absolute path name, then
          <command>insmod</command> will be used to load the module.
          Otherwise, <command>modprobe</command> will be used.</para>

          <para>In normal circumstances, you shouldn't need to specify
          anything here, as most hardware will be auto-detected.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>RCFILE_01...RCFILE_10</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Commands to be executed from
          <filename>/etc/rc.local</filename> when the client boots.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1 id="lts-conf-printer">
    <title>lts.conf - printer parameters</title>

    <variablelist id="lts-conf-printer-list">
      <varlistentry>
        <term><varname>PRINTER_0_DEVICE</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>The device name of the printer. Valid device names such as
          <filename>/dev/lp0</filename>, or <filename>/dev/usblp0</filename>
          are allowed.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>PRINTER_0_PORT</varname></term>

        <listitem>
          <para>integer, default <emphasis>9100</emphasis></para>

          <para>The TCP/IP Port number to use for the print server.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>PRINTER_0_TYPE</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Can either be set to P (for parallel), U (for USB) or S (for
          serial). Autodetected in most cases (except for serial).</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>PRINTER_0_WRITE_ONLY</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>Some parallel printers may need this set in order for the thin
          client to communicate to them properly. If you have problems with a
          parallel printer only printing part of the print job, try setting
          this to <emphasis>True</emphasis>.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>PRINTER_0_SPEED</varname></term>

        <listitem>
          <para>integer, default <emphasis>9600</emphasis></para>

          <para>Should be set to the baud rate of the printer (serial printers
          only).</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>PRINTER_0_FLOWCTRL</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Should be set to the flow control desired for the printer
          (serial printers only).</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>PRINTER_0_PARITY</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>Specifies whether parity should be enabled for the printer
          (serial printers only).</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>PRINTER_0_DATABITS</varname></term>

        <listitem>
          <para>integer, default <emphasis>8</emphasis></para>

          <para>Specifies how many data bits for the printer (serial printers
          only).</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>PRINTER_0_OPTIONS</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Specifies specific options for the printer (serial printers
          only).</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_PRINTER_LIST</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Comma separated list of printers that will be displayed for
          that thin client (requires patched cups, included in Debian and
          Ubuntu).</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_PRINTER_DEFAULT</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Default printer for the thin client.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>SCANNER</varname></term>

        <listitem>
          <para>boolean, default <emphasis>unset</emphasis></para>

          <para>This parameter enables scanners for the thin client.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1 id="lts-conf-keyboard">
    <title>lts.conf - keyboard parameters</title>

    <variablelist id="lts-conf-keyboard-list">
      <varlistentry>
        <term><varname>CONSOLE_KEYMAP</varname></term>

        <listitem>
          <para>string, default <emphasis>en</emphasis></para>

          <para>A valid console keymap. Allows you to specify a valid console
          keymap for TELNET_HOST sessions.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XKBLAYOUT</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>A valid xkb layout. Consult the X.org documentation for valid
          settings.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XKBMODEL</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>A valid xkb model. Consult the X.org documentation for valid
          settings.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XKBVARIANT</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>A valid xkb variant. Consult the X.org documentation for valid
          settings.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XKBRULES</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>A valid xkb rules specifier. Consult the X.org documentation
          for valid settings.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XKBOPTIONS</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>A valid xkb options specifier. Consult the X.org documentation
          for valid settings.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1 id="lts-conf-touchscreen">
    <title>lts.conf touchscreen parameters</title>

    <variablelist id="lts-conf-touchscreen-list">
      <varlistentry>
        <term><varname>USE_TOUCH</varname></term>

        <listitem>
          <para>Enable touchscreen</para>

          <para>default &lt;unset&gt;, Enable touchscreen</para>

          <informaltable frame="none">
            <tgroup cols="4">
              <tbody>
                <row>
                  <entry>X_TOUCH_DEVICE</entry>

                  <entry>Path to device</entry>

                  <entry>/dev/ttyS0</entry>

                  <entry>set device for touchscreen</entry>
                </row>

                <row>
                  <entry>X_TOUCH_DRIVER</entry>

                  <entry>Touchscreen driver</entry>

                  <entry>elographics</entry>

                  <entry>set driver for touchscreen</entry>
                </row>

                <row>
                  <entry>X_TOUCH_MAXX</entry>

                  <entry>integer</entry>

                  <entry>3588</entry>

                  <entry>Xmax</entry>
                </row>

                <row>
                  <entry>X_TOUCH_MAXY</entry>

                  <entry>integer</entry>

                  <entry>3526</entry>

                  <entry>Ymax</entry>
                </row>

                <row>
                  <entry>X_TOUCH_MINX</entry>

                  <entry>integer</entry>

                  <entry>433</entry>

                  <entry>Xmin</entry>
                </row>

                <row>
                  <entry>X_TOUCH_MINY</entry>

                  <entry>integer</entry>

                  <entry>569</entry>

                  <entry>Ymin</entry>
                </row>

                <row>
                  <entry>X_TOUCH_UNDELAY</entry>

                  <entry>integer</entry>

                  <entry>10</entry>

                  <entry>Untouch delay</entry>
                </row>

                <row>
                  <entry>X_TOUCH_RTPDELAY</entry>

                  <entry>integer</entry>

                  <entry>10</entry>

                  <entry>Repeat touch delay</entry>
                </row>
              </tbody>
            </tgroup>
          </informaltable>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1 id="lts-conf-sound">
    <title>Sound and volume control parameters</title>

    <para>These parameters allow you to control the volume on the thin
    client.</para>

    <variablelist id="lts-conf-sound-list">
      <varlistentry>
        <term><varname>SOUND</varname></term>

        <listitem>
          <para>boolean, default <emphasis>True</emphasis></para>

          <para>This parameter enables sound for the thin client.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>SOUND_DAEMON</varname></term>

        <listitem>
          <para>string, default <emphasis>pulse</emphasis></para>

          <para>This parameter sets which sound daemon to use on the thin
          client. Values are esd, nasd, and pulse (default).</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>VOLUME</varname></term>

        <listitem>
          <para>integer, default <emphasis>90</emphasis></para>

          <para>This represents an integer percentage of the volume, ranging
          from 0 to 100%.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>HEADPHONE_VOLUME</varname></term>

        <listitem>
          <para>integer, default <emphasis>unset</emphasis></para>

          <para>This represents an integer percentage of the headphone volume,
          ranging from 0 to 100%.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>PCM_VOLUME</varname></term>

        <listitem>
          <para>integer, default <emphasis>unset</emphasis></para>

          <para>This represents an integer percentage of the PCM volume,
          ranging from 0 to 100%.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>CD_VOLUME</varname></term>

        <listitem>
          <para>integer, default <emphasis>unset</emphasis></para>

          <para>This represents an integer percentage of the CD input volume,
          ranging from 0 to 100%.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>FRONT_VOLUME</varname></term>

        <listitem>
          <para>integer, default <emphasis>unset</emphasis></para>

          <para>This represents an integer percentage of the front speaker
          volume, ranging from 0 to 100%.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>MIC_VOLUME</varname></term>

        <listitem>
          <para>integer, default <emphasis>unset</emphasis></para>

          <para>This represents an integer percentage of the microphone input
          volume, ranging from 0 to 100%.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1 id="lts-conf-xorg">
    <title>lts.conf - Xorg parameters</title>

    <para>These parameters affect how Xorg behaves.</para>

    <variablelist id="lts-conf-xorg-list">
      <varlistentry>
        <term><varname>USE_XFS</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>Instructs the thin client to look at the
          <varname>XFS_SERVER</varname> option, and use XFS for serving
          fonts.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XFS_SERVER</varname></term>

        <listitem>
          <para>IP address, default <emphasis>unset</emphasis></para>

          <para>If you are using an X Font Server to serve fonts, then you can
          use this entry to specify the IP address of the host that is acting
          as the font server. If this is not specified, it will use the
          default server, which is specified with the
          <varname>SERVER</varname> entry described above.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>CONFIGURE_X</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>If you want to be able to configure the individual settings of
          the X configuration file, without having the X automatically
          configure the graphics card for you, you must enable this option. By
          default this option is turned off. To turn it on do: <screen>CONFIGURE_X = True</screen>You
          don't need this option just for keyboard and mouse settings. It
          corresponds to the graphic card and monitor options only.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>X_CONF</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>If you want to create your own complete X.org config file, you
          can do so and place it in the
          <filename>/opt/ltsp/&lt;arch&gt;/etc/X11</filename> directory. Then,
          whatever you decide to call it needs to be entered as a value for
          this configuration variable. For example: X_CONF =
          /etc/X11/my-custom-xorg.conf Note that for the thin client, you
          reference it from <filename>/etc/X11</filename>.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>X_RAMPERC</varname></term>

        <listitem>
          <para>integer, default <emphasis>100</emphasis></para>

          <para>Percentage of RAM for X server. Some programs allocate a large
          amount of ram in the X.org server running on your thin client.
          Programs like <command>Firefox</command> and
          <command>Evince</command> can use up so much ram, that they
          eventually exhaust all your physical ram, and NBD swap, causing your
          thin client to crash. If you find your clients being booted back to
          a login prompt, or freezing up when viewing certain PDF's or web
          pages, this may be the problem.</para>

          <para>The <varname>X_RAMPERC</varname> variable stands for X RAM
          PERCent, and is a number between 0 and 100 that specifies how much
          of the free space on your thin client X.org is allowed to consume.
          You'll generally want to set it at something lower than 100 percent,
          if you're having problems. Experimentation has shown a value between
          80 and 90 will usually keep the terminal alive. What will then
          happen is the program consuming the memory will die, as opposed to
          the thin client itself. If you're having unexplained terminal
          problems, specifying:</para>

          <para>X_RAMPERC = 80</para>

          <para>in your <filename>lts.conf</filename> file may improve
          things.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>X_VIRTUAL</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>If you want to have a virtual screen which is larger than the
          physical screen on your thin client, you would configure that by
          providing a string of the form "width height" in this parameter,
          similar to the <filename>xorg.conf</filename> format.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XDM_SERVER</varname></term>

        <listitem>
          <para>IP address, default <emphasis>unset</emphasis></para>

          <para>If you're using the older <command>startx</command> screen
          script, and need to specify a different XDMCP server, then you can
          specify the server here. If this parameter is NOT specified, then it
          will use the <varname>SERVER</varname> parameter described
          above.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XSERVER</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>You can use this parameter to override which X server the thin
          client will run. For PCI and AGP video cards, this parameter should
          not be required. The thin client should normally be able to
          auto-detect the card.</para>

          <para>If, for some reason you do need to manually set it, here are
          some valid values:</para>

          <para>ark, ati, atimisc, chips, cirrus_alpine cirrus, cirrus_laguna,
          cyrix, dummy, fbdev fglrx, glint, i128, i740, i810, imstt, mga,
          neomagic, newport, nsc, nv, r128, radeon, rendition, riva128, s3,
          s3virge, savage, siliconmotion, sis, sisusb, tdfx, tga, trident,
          tseng, v4l, vesa, vga, via, vmware, voodoo</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>X_MOUSE_DEVICE</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>This is the device node that the mouse is connected to. If it
          is a serial mouse, this would be a serial port, such as
          <filename>/dev/ttyS0</filename> or <filename>/dev/ttyS1</filename>.
          This is not needed for PS/2 or USB mice, as they are
          auto-detected.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>X_MOUSE_PROTOCOL</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Should be auto-detected. However, valid entries
          include:</para>

          <para>sunkbd, lkkbd, vsxxxaa, spaceorb, spaceball, magellan,
          warrior, stinger, mousesystems, sunmouse, microsoft, mshack,
          mouseman, intellimouse, mmwheel, iforce, h3600ts, stowawaykbd,
          ps2serkbd, twiddler, twiddlerjoy</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>X_MOUSE_EMULATE3BTN</varname></term>

        <listitem>
          <para>boolean, default <emphasis>unset</emphasis></para>

          <para>Normally unset, may need to be set to <emphasis>Y</emphasis>
          for certain 2 button mice.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>X_NUMLOCK</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>If this variable is set to <emphasis>True</emphasis>, then the
          numlock key will be defaulted to on when the terminal boots. Note
          that the <command>numlockx</command> command must be installed in
          the chroot for this to work.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>X_COLOR_DEPTH</varname></term>

        <listitem>
          <para>Integer, default <emphasis>unset</emphasis></para>

          <para>This is the number of bits to use for the colour depth.
          Possible values are <command>8</command>, <command>16</command>,
          <command>24</command> and <command>32</command>. 8 bits will give
          256 colours, 16 will give 65536 colours, 24 will give 16 million
          colours and 32 bits will give 4.2 billion colours! Not all X servers
          support all of these values. The default for thin clients is 16 in
          order to minimize network bandwidth, while for fat clients the X
          server default is used.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>X_SMART_COLOR_DEPTH</varname></term>

        <listitem>
          <para>boolean, default <emphasis>True</emphasis></para>

          <para>If set, thin clients no longer default to 16 bit colour depth
          but use the X server default instead.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>X_HORZSYNC</varname></term>

        <listitem>
          <para>min-max, default <emphasis>unset</emphasis></para>

          <para>This sets the X.org <command>HorizSync</command> configuration
          parameter. This should be auto-detected for your monitor, however,
          if you want to force a lower resolution, use this parameter to do
          so.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>X_VERTREFRESH</varname></term>

        <listitem>
          <para>min-max, default <emphasis>unset</emphasis></para>

          <para>This sets the X.org <command>VertRefresh</command>
          configuration parameter. This should be auto-detected for your
          monitor. If you need to force a lower resolution, use this parameter
          to do so.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>X_VIDEO_RAM</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>This sets the X.org <command>VideoRam</command> configuration
          parameter. The setting is in kilobytes. This should be auto-detected
          for your monitor. If you need to force a different video ram
          setting, use this parameter to do so.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>X_OPTION_01...X_OPTION_12</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>A valid Device option. This allows you to specify
          <command>Option</command> settings in the
          <filename>xorg.conf</filename> file, to add options to the video
          driver. A common use for this will be to test turning off
          acceleration in your driver, if you're having trouble. An example
          usage would be:</para>

          <screen>
X_OPTION_01 = "\"NoAccel\"" X_OPTION_02 = "\"AnotherOption\" \"True\""
                    </screen>

          <para>You probably won't need these except in special
          circumstances.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>X_MONITOR_OPTION_01...X_MONITOR_OPTION_10</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>A valid Monitor option, that would normally be used in an
          xorg.conf file.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>X_MODE_0...X_MODE_2</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>These set the X.org <varname>ModeLine</varname> configuration.
          For example, if your thin client comes up in a higher resolution
          than what you want, say, 1280x1024, specifying:</para>

          <screen>
X_MODE_0 = 1024x768
                    </screen>

          <para>should get your desired resolution on startup.</para>

          <para>X_MODE_* require XRANDR_DISABLE=True to work. For drivers that
          support XRANDR, the XRANDR_MODE_* variabled are preferred. See the
          XRANDR section.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>X_BLANKING</varname></term>

        <listitem>
          <para>integer, default <emphasis>unset</emphasis></para>

          <para>When set, <varname>X_BLANKING</varname> will cause DPMS
          standby to activate after the number of seconds provided. If the
          monitor does not support DPMS, then the blanking screensaver will
          activate. If <varname>X_BLANKING</varname> is set to 0, the monitor
          will remain on indefinitely. NOTE: This does not apply to the
          <command>xdmcp</command> or <command>startx</command> screen script.
          Also, server-side Xclients such as power managers and screensavers
          may override this setting.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1 id="lts-conf-xrandr">
    <title>lts.conf options - XRANDR options</title>

    <variablelist id="lts-conf-xrandr-list">
      <varlistentry>
        <term><varname>XRANDR_COMMAND_0 ... XRANDR_COMMAND_9</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Full xrandr command to run when X starts. They're useful to
          define and add custom modes, for example:<screen>
XRANDR_COMMAND_0="xrandr --newmode 1024x600 49.00 1024 1072 1168 1312 600 603 613 624 -hsync +vsync"
XRANDR_COMMAND_1="xrandr --addmode VGA1 1024x600"
XRANDR_COMMAND_2="xrandr --output VGA1 --mode 1024x600"
 </screen>You can use <command>cvt</command> to find the correct timings for
          new modes.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XRANDR_DISABLE</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>Disables XRANDR output handling so that the older
          <varname>X_MODE_0</varname> way of setting resolution works. This is
          useful on older Xorg drivers that don't support XRANDR.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XRANDR_OUTPUT_0 ... XRANDR_OUTPUT_8</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Define xrandr output - can also be used for multihead
          positioning</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XRANDR_MODE_0 ... XRANDR_MODE_8</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Valid video mode resolution. Sets mode for corresponding
          output.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XRANDR_NEWMODE_0 ... XRANDR_NEWMODE_8</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Specifies a valid modeline for a corresponding output.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XRANDR_RATE_0 ... XRANDR_RATE_8</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Sets refresh rate for the corresponding output.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XRANDR_DPI_0 ... XRANDR_DPI_8</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Sets the DPI for the corresponding output.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XRANDR_ROTATE_0 ... XRANDR_ROTATE_8</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Sets the rotation for the corresponding output.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XRANDR_REFLECT_0 ... XRANDR_REFLECT_8</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Sets the reflection for the corresponding output.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XRANDR_SIZE_0 ... XRANDR_SIZE_8</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Sets the resolution for the corresponding output (for xrandr
          &lt;1.2).</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>XRANDR_ORIENTATION_0 ...
        XRANDR_ORIENTATION_8</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Sets the orientation for the corresponding output (for xrandr
          &lt;1.2).</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1 id="lts-conf-screen">
    <title>lts.conf options - screen scripts</title>

    <variablelist id="lts-conf-screen-list">
      <varlistentry>
        <term><varname>SCREEN_01...SCREEN_12</varname></term>

        <listitem>
          <para>string, default <emphasis>ldm</emphasis></para>

          <para>Up to 12 screen scripts can be specified for a thin client.
          This will give you up to 12 sessions on the thin client, each
          accessible by pressing the Ctrl-Alt-F1 through Ctrl-Alt-F12
          keys.</para>

          <para>Currently, possible values include: kiosk, ldm, menu, rdesktop
          (deprecated), shell, ssh, startx (deprecated), telnet, xdmcp,
          xfreerdp, xterm</para>

          <para>Look in the
          <filename>$CHROOT/usr/share/ltsp/screen.d</filename> directory for
          more scripts, or write your own, and put them there.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>TELNET_HOST</varname></term>

        <listitem>
          <para>IP address, default <emphasis>unset</emphasis></para>

          <para>If the thin client is setup to have a character based
          interface, then the value of this parameter will be used as the host
          to telnet into. If this value is NOT set, then it will use the value
          of <varname>SERVER</varname> above.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1 id="lts-conf-ldm">
    <title>lts.conf options - LDM options</title>

    <variablelist id="lts-conf-ldm-list">
      <varlistentry>
        <term><varname>LDM_AUTOLOGIN</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>This option allows the thin client to login automatically
          without the need for a username and password. To set it set <screen>LDM_AUTOLOGIN = True</screen>
          for the corresponding thin client. This will attempt to log in the
          thin client with username = hostname and password = hostname. You
          can also set a user and password with
          <varname>LDM_USERNAME</varname> and <varname>LDM_PASSWORD</varname>
          variables.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_DEBUG_TERMINAL</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>Opens a local terminal after login for debugging
          purposes.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_DIRECTX</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>This is arguably the most important LDM option, as it allows
          you to turn off the encrypted X tunnel via SSH, and instead run a
          less secure, but much faster unencrypted tunnel. Users who have
          slower thin clients will want to set this to
          <emphasis>True</emphasis>. It is set to <emphasis>True</emphasis> by
          default in Fedora.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_GUESTLOGIN</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>This option places a GUEST LOGIN button underneath the entry
          field for username and password. To set it set <screen>LDM_GUESTLOGIN = True</screen>
          for the corresponding thin client. You can also set a user and
          password with <screen>LDM_USERNAME = John</screen> and <screen>LDM_PASSWORD = secret</screen>,
          although not setting these will default to the hostname of the thin
          client.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_GUEST_SERVER</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>This is a space-separated list of available servers where
          guest logins are available. The first server in the list will be the
          default guest login server unless the user selects another from the
          preferences menu at login time.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_USER_ALLOW</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>This option allows you to give access to certain thin clients
          based on the username set in <filename>/etc/passwd</filename>. For
          example, thin client A should only be used by Jane, Bob, and Fred,
          while thin client B is to be used by Harry only. By adding these
          options to the corresponding mac addresses you allow or deny access
          to the thin clients in question. Example:</para>

          <screen>
[thin:client:A:mac:address]
LDM_USER_ALLOW = Jane,Bob,Fred
[thin:client:B:mac:adddress]
LDM_USER_ALLOW = Harry
                   </screen>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_LOGIN_TIMEOUT</varname></term>

        <listitem>
          <para>integer</para>

          <para>This lets LDM automatically login after the set amount of time
          in seconds. If you specify this option, then do not specify
          LDM_AUTOLOGIN. Use it in this format:</para>

          <screen>
[thin:client:mac:address]
LDM_LOGIN_TIMEOUT = 25
                    </screen>

          <para>Note that you will need to also set LDM_GUESTLOGIN=True for
          LDM_LOGIN_TIMEOUT to be useful.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_USERNAME</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>This is the username that LDM will use for autologin.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_PASSWORD</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>This is the password that LDM will use for autologin.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_SYSLOG</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>Normally, LDM logs to a simple file on the thin client, namely
          <filename>/var/log/ldm.log</filename>. This has the advantage of
          being fast, but the disadvantage of being hard to read for the
          administrator in the event of a problem, as the administrator must
          either spawn a shell screen session, or enable root login in tty1.
          By setting this option to "True", you can log up to the server
          <emphasis>if you've enabled your server's syslog for remote
          logging.</emphasis></para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_SERVER</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>This is a space-separated list of available servers for LDM to
          log into. The first server in the list will be the default server
          unless the user selects another from the preferences menu at login
          time.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_LANGUAGE</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>This allows the system administrator to override the default
          locale settings on the server by setting the environment variables
          LANG, LANGUAGE and LC_ALL at login.</para>

          <para>Use the LANG variable to set the default locale for LDM's user
          interface.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_FORCE_LANGUAGE</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Same as <varname>LDM_LANGUAGE</varname>, but it overrides any
          previously user selected language and it even hides the LDM language
          selection menu.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_SSHOPTIONS</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Allows you to specify custom options to the ssh sessions
          started between LDM and the server.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>SSH_OVERRIDE_PORT</varname></term>

        <listitem>
          <para>integer, default <emphasis>unset</emphasis></para>

          <para>If you run your ssh server different from the defult, you may
          set the port the thin client will use with this parameter.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>SSH_FOLLOW_SYMLINKS</varname></term>

        <listitem>
          <para>boolean, default <emphasis>unset</emphasis></para>

          <para>Causes <filename>sshfs</filename> mounted filesystems for
          local applications to follow symlinks. By default it's false for
          symlinks under $HOME and true for any
          <varname>LOCAL_APPS_EXTRAMOUNTS</varname>.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_SESSION</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Used to chose the default session on the server, for
          example:<screen>
LDM_SESSION="gnome-fallback"
 </screen>You can find the list of services that your server provides in
          <filename>/usr/share/xsessions</filename>.</para>

          <para>If the user has selected a specific session though LDM or
          another DM in the past, that's stored in his
          <filename>~/.dmrc</filename>, and it overrides the default
          session.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_FORCE_SESSION</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Same as <varname>LDM_SESSION</varname>, but it overrides any
          previously selected sessions by the user and it even hides the LDM
          session selection menu.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_XSESSION</varname></term>

        <listitem>
          <para>string, default <emphasis>Xsession</emphasis></para>

          <para>Allows you to specify custom script on the server for LDM to
          run, rather than the server's standard script for starting an X
          session (usually <command>Xsession</command>).</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_LIMIT_ONE_SESSION</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>Only allow a given user to log into one thin-client at a
          time.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_LIMIT_ONE_SESSION_PROMPT</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>Prompt to kill processes of other logins when other logins are
          detected. Requires LDM_LIMIT_ONE_SESSION to be set.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LDM_THEME</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Specify the name of the LDM theme. It can reference a
          directory in /usr/share/ldm/themes, or be specified as a full path
          to the theme dir (both relative to the chroot).</para>

          <para>To use the theme in
          <filename>/opt/ltsp/i386/usr/share/ldm/themes/MYTHEME</filename>,
          you'd specify:</para>

          <screen>
LDM_THEME=MYTHEME
                    </screen>

          <para>In your <filename>lts.conf</filename> file.</para>

          <para>Alternately, To use the theme in
          <filename>/opt/ltsp/i386/etc/MYTHEME</filename>, you'd
          specify:</para>

          <screen>
LDM_THEME=/etc/MYTHEME
                    </screen>

          <para>In your <filename>lts.conf</filename> file.</para>
        </listitem>
      </varlistentry>
      
      <varlistentry>
        <term><varname>LDM_PASSWORD_HASH</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>When set to <emphasis>True</emphasis>, this will create a proper 
          shadow entry on the client, allowing for screen locking, and other 
          things which require authentication to work. Note, this allows you to
          change your password locally, or possibly other actions such as sudo, but
          these changes are only temporary and will not persist on reboot.</para>

          <para>versions: LDM 2.2.14+, LTSP 5.5.2+</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1 id="lts-conf-localapps">
    <title>Local Applications</title>

    <variablelist id="lts-conf-localapps-list">
      <varlistentry>
        <term><varname>LOCAL_APPS</varname></term>

        <listitem>
          <para>boolean, default <emphasis>True</emphasis></para>

          <para>Enables support for running local apps on the thin
          client.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LOCAL_APPS_EXTRAMOUNTS</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>This parameter enables extra mount points to be mounted on the
          thin client with sshfs. This require a commas separated list of
          directory.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LOCAL_APPS_MENU</varname></term>

        <listitem>
          <para>boolean, default <emphasis>False</emphasis></para>

          <para>Enables overriding of menu items from remote (server)
          applications. If this is set to <emphasis>True</emphasis>, local
          applications in the users menu will be used instead of the
          applications on the server.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LOCAL_APPS_MENU_ITEMS</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>This item should contain a comma separated list of application
          names as they appear on their .desktop files.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><varname>LOCAL_APPS_WHITELIST</varname></term>

        <listitem>
          <para>string, default <emphasis>unset</emphasis></para>

          <para>Used to allow only specified space-separated commands to be
          run as local apps, allow all is default if unset. Full-paths are
          required for each command. No spaces in the names are
          allowed.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1 id="lts-conf-samples">
    <title>Samples</title>

    <refsect2 id="k12ltsp">
      <title>K12LTSP</title>

      <para><programlisting id="lts.conf-sample">
# Global defaults for all clients
# if you refer to the local server, just use the
# "server" keyword as value
# see lts_parameters.txt for valid values
################
[default]
    #X_COLOR_DEPTH=16
    LOCALDEV=True
    SOUND=True
    NBD_SWAP=True
    SYSLOG_HOST=server
    #XKBLAYOUT=de
    SCREEN_02=shell
    SCREEN_03=shell
    SCREEN_04=shell
    SCREEN_05=shell
    SCREEN_06=shell
    SCREEN_07=ldm
    # LDM_DIRECTX=True allows greater scalability and performance
    # Turn this off if you want greater security instead.
    LDM_DIRECTX=True
    # LDM_SYSLOG=True writes to server's syslog
    LDM_SYSLOG=True


################
# A setting stanza for an old machine
################
[oldmachine]
    X_COLOR_DEPTH=8
    X_MODE_0=800x600

################
# Example of the LIKE variable
################
[01:23:DE:AD:BE:EF]
    LIKE=oldmachine
    SCREEN_02=shell

################
#[MAC ADDRESS]: Per thin client settings
################
[00:11:25:84:CE:BA]
    XSERVER = vesa
    X_MOUSE_DEVICE=/dev/ttyS0
    X_MOUSE_PROTOCOL=intellimouse

###############
# A Thin Client Print server
# (switch off X by pointing tty7 to shell,
# to save resources)
###############
[00:11:25:93:CF:00]
    PRINTER_0_DEVICE=/dev/usblp0
    SCREEN_07=shell

###############
# A workstation that executes a specific
# command after login
###############
[00:11:25:93:CF:02]
    LDM_SESSION=/usr/bin/myloginscript
                </programlisting></para>
    </refsect2>
  </refsect1>

  <refsect1 id="lts-conf-notes">
    <title>NOTES</title>

    <para>When using NBD to export the client image (the default in Ubuntu),
    lts.conf is fetched via TFTP, so lts.conf should go in the TFTP directory,
    for example <filename>dvar/lib/tftpboot/ltsp/i386/lts.conf</filename>. For
    distributions that use NFS, the traditional lts.conf place is
    <filename>/opt/ltsp/i386/etc/lts.conf</filename>, although in recent
    versions it can be fetched via TFTP as well.</para>
  </refsect1>

  <refsect1 id="lts-conf-see-also">
    <title>SEE ALSO</title>

    <para>Other manpage references go here...</para>
  </refsect1>
</refentry>