Chapter 6. Running LCDproc

Table of Contents

Running LCDd
Running LCDd from the command line
The Command Line Options of LCDd
Running lcdproc
The Command Line Options of lcdproc

Running LCDd

If you have installed the init-scripts you can simply start, stop and restart LCDd with the init-script.

Running LCDd from the command line

There are several reasons for running LCDd from the command line

  • You don't want to install LCDd but run it from the source directory.

  • You want to do some debugging.

  • You want to get the output directly on stderr.

  • ...

Note

If you run LCDd as a "normal" user, it will not change to the user specified in the config file. For some devices, mostly parallel port devices but also some USB devices, you will need root privileges anyway ;)

The simplest command that will run LCDd is the following. It is useful for running LCDd from the source directory, e.g. after building.

$ server/LCDd -c LCDd.conf

The Command Line Options of LCDd

Running LCDd -h gives you an overview of the currently available command line options.

Example 6.1. LCDd -h

 

LCDd - LCDproc Server Daemon, 0.5dev

Copyright (c) 1999-2006 Scott Scriven, William Ferrell, and misc. contributors.
This program is released under the terms of the GNU General Public License.

Usage: LCDd [<options>]
  where <options> are:
    -h                  Display this help screen
    -c <config>         Use a configuration file other than /etc/lcdproc/LCDd.conf
    -d <driver>         Add a driver to use (overrides drivers in config file) [curses]
    -f                  Run in the foreground
    -a <addr>           Network (IP) address to bind to [127.0.0.1]
    -p <port>           Network port to listen for connections on [13666]
    -u <user>           User to run as [nobody]
    -w <waittime>       Time to pause at each screen (in seconds) [4]
    -s <bool>           If set, reporting will be done using syslog
    -r <level>          Report level [2]
    -i <bool>           Whether to rotate the server info screen