[Lcdproc] Init-lcdproc flaw under FC/Redhat

Joris Robijn joris@robijn.net
Wed Sep 13 18:02:01 2006


On 13 Sep 2006 at 11:14, Technical Support wrote:

> I know a RTFM message is coming my way, so I have read the docs!  Just to
> add a little more info...

Not everything is always in the manual...

> I copied the sample lcdproc.conf file from clients/lcdproc/lcdproc.conf to
> /etc - clearly that was a mistake.  If I understand correctly, lcdproc
> uses TWO programs called lcdproc.conf.  One in the /usr/local/etc which
> has setup info for each screen, and one in /etc which defines which
> screens to display.  (This might be worth noting in the docs somewhere -
> or I just couldn't find this info)

There's one lcdproc.conf and LCDd.conf. 
lcdproc.conf contains the configuration for the lcdproc executable, which 
is the client, collecting data in the system and displays it on the 
server.
LCDd.conf if the config file of the server. It contains info on the 
hardware to use and the behaviour of the menu etc.

Both can be located whereever you like but you have to start the LCDd and 
lcdproc executables with the correct location as some flag. The defaults 
for those locations are set at compile time. If you install from a 
distribution (not from source) the locations should be set correctly for 
the distribution. The config files are not meant to be executed but to be 
read by LCDd and lcdproc.

> I did a make clean and reinstalled...now the program starts without error!
> (Well, actually the default init-lcdproc script tries to show a screen "X"
> which does not exist - but I just deleted that and it starts).

If you're not using the config files maybe you're using default at some 
points.

Joris
--
 Joris Robijn <joris@robijn.net>
 Mobile: +31 6 288 41 964