<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <HTML ><HEAD ><TITLE >Running LCDproc</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="LCDproc User's Guide" HREF="book1.html"><LINK REL="PREVIOUS" TITLE="The lircin Driver" HREF="x899.html"><LINK REL="NEXT" TITLE="Running lcdproc" HREF="x990.html"></HEAD ><BODY CLASS="CHAPTER" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >LCDproc User's Guide: The Ultimate Guide to LCDproc 0.4.3</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="x899.html" ACCESSKEY="P" ><<< Previous</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="x990.html" ACCESSKEY="N" >Next >>></A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="CHAPTER" ><H1 ><A NAME="RUNNING" ></A >Running LCDproc</H1 ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="RUNNING-LCDD" ></A >Running LCDd</H1 ><P >If you have installed the init-scripts you can simply start, stop and restart LCDd with the init-script.</P ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="LCDD-COMMANDLINE" ></A >Running LCDd from the command line</H2 ><P >There are several reasons for running LCDd from the command line</P ><P ></P ><UL ><LI ><P >You don't want to install LCDd but run it from the source directory.</P ></LI ><LI ><P >You want to do some debugging.</P ></LI ><LI ><P >You want to get the output directly on stderr.</P ></LI ><LI ><P >...</P ></LI ></UL ><DIV CLASS="NOTE" ><P ></P ><TABLE CLASS="NOTE" WIDTH="100%" BORDER="0" ><TR ><TD WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG SRC="./stylesheet-images/note.gif" HSPACE="5" ALT="Note"></TD ><TD ALIGN="LEFT" VALIGN="TOP" ><P >If you run LCDd as a "normal" user, it will not change to the user specified in the config file. For parallel port devices you will need root privileges anyway ;)</P ></TD ></TR ></TABLE ></DIV ><P >The simplest command that will run LCDd is the following. It is useful for running LCDd from the source directory, e.g. after building.</P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><PRE CLASS="SCREEN" ><TT CLASS="PROMPT" >$</TT > <TT CLASS="USERINPUT" ><B >server/LCDd -c LCDd.conf</B ></TT ></PRE ></TD ></TR ></TABLE ></DIV ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="LCDD-COMMANDLINE-OPTIONS" ></A >The Command Line Options of LCDd</H2 ><P >Running <B CLASS="COMMAND" >LCDd -h</B > gives you an overview of the currently available command line options, including a list of the compiled in drivers.</P ><DIV CLASS="EXAMPLE" ><A NAME="AEN986" ></A ><P ><B >Example 1. <B CLASS="COMMAND" >LCDd -h</B ></B ></P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><PRE CLASS="SCREEN" > LCDd Server Daemon (part of lcdproc), 0.4.3dev Copyright (c) 1999 Scott Scriven, William Ferrell, and misc contributors This program is freely redistributable under the terms of the GNU Public License Usage: LCDd [ -hfiws ] [ -c <config> ] [ -d <driver> ] [ -a <addr> ] \ [ -p <port> ] [ -u <user> ] [ -w <time> ] [ -r <level> ] Available options are: -h Display this help screen -c <config> Use a configuration file other than /etc/LCDd.conf -d <driver> Add a driver to use (output only to first) -f Run in the foreground -i Disable showing of the main LCDproc server screen -w <waittime> Time to pause at each screen (in seconds) -a <addr> Network (IP) address to bind to -p <port> Network port to listen for connections on -u <user> User to run as -s Output messages to syslog -r <level> Report level (default=2) Currently available drivers: lcdm001, LCDM001, MtxOrb, MatrixOrbital, CFontz, CrystalFontz, LB216, text, curses, ncurses, BayRAD, glk, glc </PRE ></TD ></TR ></TABLE ></DIV ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="x899.html" ACCESSKEY="P" ><<< Previous</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="book1.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="x990.html" ACCESSKEY="N" >Next >>></A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >The lircin Driver</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Running lcdproc</TD ></TR ></TABLE ></DIV ></BODY ></HTML >