Veli-Matti et al, Have you/anyone figured out how to read the LDM_PRINTER_LIST setting from lts.conf with fat clients?
In a thin client setup, I notice PRINTER_LIST is passed when XSession is started, which is not the case with fat clients. ltsp005 1000 0.0 0.0 12312 272 ? Ss May13 0:00 bash -c XDG_DATA_DIRS=/tmp/ltsp-localapps-ltsp005-BFCbvt/:/usr/local/share/:/usr/share/ LTSP_CLIENT=10.0.40.103 LTSP_CLIENT_HOSTNAME=ltsp005 *PRINTER_LIST=LEP-Room-205,The-Printer-In-This-Room*LIBGL_ALWAYS_INDIRECT=true LC_ALL=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LANG=en_US.UTF-8 DISPLAY=10.0.40.103:7 PULSE_SERVER=tcp:10.0.40.103:4713ESPEAKER= 10.0.40.103:16001 LTSP_ALSA_DEFAULT=pulse */etc/X11/Xsession* "default" < /dev/null > /dev/null ; /usr/sbin/ltspfsmounter all cleanup On Thu, May 5, 2011 at 6:48 AM, Veli-Matti Lintu < [email protected]> wrote: > Hello everyone, > > I'd have a quick question about the CUPS printer filtering patch that is > in the Ubuntu CUPS version (the patch can be found at least here: > http://patches.ubuntu.com/by-release/extracted/ubuntu/c/cups/1.4.1-5ubuntu2/printer-filtering.dpatch > ) > > If I understand correctly, it is used on LTSP systems by adding > LDM_PRINTER_LIST setting in lts.conf which is then turned to PRINTER_LIST > environment variable when the user logs in. The patch above then filters > not listed printers out from the user's printer list. > > As here we are running quite a few fat clients that have their own local > USB printers, we changed from configuring fat clients to use LTSP server's > cups via /etc/cups/client.conf and instead run a local CUPS server on the > fat clients. The CUPS server on the LTSP server broadcasts printer > information to the LTSP network and the local CUPS processes on the fat > clients then pick up the printers from the broadcasts. CUPS adds local USB > printers automatically and they don't need to be configured through server > lts.conf. Of course they are not usable by other users in the network, but > it's not a problem. > > This works nicely as long as we want to show all printers to the user. In > bigger environments where a cluster of servers serves many schools, this > doesn't work so nicely and that's where the LDM_PRINTER_LIST setting helps. > The problems come when we want to show also the local USB printers that > CUPS configures automatically when they are attached. As the > LDM_PRINTER_LIST doesn't include the local printers, they are always > filtered out from the printer list. > > We've been now doing some test patches to filter out only printers that > are not local, but I'd be interested to know if anyone else has tried using > a setup like this? The same filtering could be also applied to laptops if > the PRINTER_LIST env variable is set somewhere when the user logs in. > > Ideas? Comments? > > Veli-Matti > > -- > edubuntu-users mailing list > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/edubuntu-users >
-- edubuntu-users mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
