On 5/2/2015 4:13 PM, Alkis Georgopoulos wrote:
> Hi guys, sorry I don't have time for a long answer, but a few quick hints,
>
> by default the clients have CUPS_SERVER=server, so they see whatever
> printers the server has or sees,
> but, since a few cups versions ago, cups does a DNS check for the
> ServerName and that means that the ltsp server needs to actually be
> called "server" in order for that to work.
> Or one could specify CUPS_SERVER in lts.conf and have DNS working
> correctly in both the server and the clients.
> Or one could check "share printers" and "see printers from other
> systems" on the server and the chroot (or ltsp-pnp), and set
> CUPS_SERVER=localhost for fat clients.
>
> That's all from me, sorry again, no time for more detailed feedback
> after those hints! :)

Thanks again, Alkis.

I subsequently found 
https://help.ubuntu.com/community/UbuntuLTSP/localprinter (updated 
2015-04-08), but it turns out that even its specified configuration is 
not needed.

I was tripping on the fact that trying to run system-config-printer on 
the client results in a BAD REQUEST error, but this seems due to regular 
users not having privileges to configure printers.

All that was needed was to run system-config-printer on the server, and 
under Server: Settings check "Publish shared printers connected to this 
system."  I may have also needed to update the client image, but 
probably not.  I am not using /etc/cups/client.conf or ~/.cups/client.conf.

After that, the server-connected printer automatically shows up in any 
app's Print dialog.

Various references also say to check "Show printers shared by other 
systems," but that setting is no longer presented under the current 
version of system-config-printer.

Interestingly, I got no discernable results from setting 
CUPS_SERVER=<ltsp-server> or KEEP_SYSTEM_SERVICES=cups in lts.conf.  On 
the fat client, cups was running even without the KEEP_SYSTEM_SERVICES 
line.  And setting CUPS_SERVER in lts.conf did not set up this 
environment variable on the fat client.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to