<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1"><font face="Arial">I posted previously about this
LTSP terminal boot message in conjunction with incomplete
shutdowns on LTSP terminals. But now I see that the two issues
are separate.<br>
<br>
So a fresh post.<br>
<br>
With Lubuntu 12.04 and LTSP installed (the same thing applies to
Edubuntu 12.04), I see a boot message on some terminals
connected to some servers, appearing between the boot splash
screen and the login screen. The message that appears on a text
screen:<br>
<br>
saned disabled; edit /etc/default/saned<br>
<br>
Research shows that saned is the network scanner service
(daemon) for SANE, which is the Linux scanner driver provision.
It is installed by the sane-utils package.<br>
<br>
I found that on both the LTSP servers I was testing with,
sane-utils was installed. (In a terminal window, run "dpkg -s
sane-utils" to find out the installation status of the
package.) Yet the "saned disabled" message appeared on some
terminals and not on others.<br>
<br>
It turns out that sane can be installed but not run at startup.
Whether it is run at startup is controlled by the configuration
file </font></font><font size="-1"><font face="Arial">/etc/default/saned
for the server itself and </font></font><font size="-1"><font
face="Arial">/opt/ltsp/i386/etc/default/saned for the terminals.<br>
<br>
The initial contents of saned showing the RUN variable being set
to no by default:<br>
# Defaults for the saned initscript, from sane-utils<br>
<br>
# Set to yes to start saned<br>
RUN=no<br>
<br>
# Set to the user saned should run as<br>
RUN_AS_USER=saned<br>
<br>
So on all the servers and terminals here, saned is set not to
run by default. It seems that the reason the message appears on
some machines and not on others has to do with the
responsiveness of the machine and questions of timing with the
display of windows. The message is always generated, just not
always seen.<br>
<br>
I found the message somewhat disturbing, hence my digging around
to find out what was going on.<br>
<br>
The message itself is generated by init shell scripts:
/etc/init.d/saned for the server itself, and /opt/ltsp/i386/</font></font><font
size="-1"><font face="Arial">/etc/init.d/saned for the terminals.<br>
<br>
If you don't want to see the message appearing on your
terminals, edit </font></font><font size="-1"><font
face="Arial">/opt/ltsp/i386/</font></font><font size="-1"><font
face="Arial">/etc/init.d/saned and comment out the "echo"
command that generates the message. Make the relevant lines
look like this:<br>
<br>
if [ "x$RUN" != "xyes" ] ; then<br>
# echo "$NAME disabled; edit /etc/default/saned"<br>
exit 0<br>
fi<br>
<br>
</font></font><font size="-1"><font face="Arial">Then update the
LTSP image with:<br>
sudo ltsp-update-image<br>
<br>
</font></font><font size="-1"><font face="Arial"> </font></font><br>
</body>
</html>