Discussion:
[Ltsp-discuss] Fat Client printing issue
Donaldson Jeff
2014-04-03 16:59:36 UTC
Permalink
Good Afternoon,

I sent this to the Edubuntu Users list already, so I apologize if you get this twice. I currently have an Edubuntu 12.04 LTSP setup with a FAT client chroot. It is installed on a dual nic server, so I had to setup NAT for internet access. I am able to successfully boot a FAT client image, however I can't seem to get printing to work correctly. I've installed CUPS in the chroot, I've added a client.conf file in /opt/ltsp/chroot/etc/cups/ to no avail. CUPS is configured and working correctly on the server and thin clients, just not the FAT clients. CUPS is configured to browse three other CUPS servers for shared printers. I've tried system-config-printer and making sure that both the Show printers shared by other systems and the Publish shared printers connected to this system are checked. If I go to Printers from a FAT Client, it displays no printers and shows that it is connected to 192.168.0.254. I can click Server--Connect, and put in the IP of the local server or another CUPS server and see the printers, but as soon as I close the window, the connection drops. Is there something I am missing? Any help is appreciated.

Regards,
Jeff

Jeff Donaldson
Technology Director
Newark Charter School
***@ncs.k12.de.us<mailto:***@ncs.k12.de.us>
(302) 369-2001 ext: 425<tel:%28302%29%20369-2001%20ext%3A%20425>



Jeff Donaldson
Technology Director
Newark Charter School
***@ncs.k12.de.us
(302) 369-2001 ext: 425
Emmanuel Le Normand
2014-04-04 06:55:43 UTC
Permalink
Hi Jeff,
Post by Donaldson Jeff
Good Afternoon,
I sent this to the Edubuntu Users list already, so I apologize if you
get this twice. I currently have an Edubuntu 12.04 LTSP setup with a
FAT client chroot. It is installed on a dual nic server, so I had to
setup NAT for internet access. I am able to successfully boot a FAT
client image, however I can't seem to get printing to work correctly.
I've installed CUPS in the chroot, I've added a client.conf file in
/opt/ltsp//chroot//etc/cups/ to no avail. CUPS is configured and
working correctly on the server and thin clients, just not the FAT
clients. CUPS is configured to browse three other CUPS servers for
shared printers. I've tried system-config-printer and making sure that
both the Show printers shared by other systems and the Publish shared
printers connected to this system are checked. If I go to Printers
from a FAT Client, it displays no printers and shows that it is
connected to 192.168.0.254. I can click Server--Connect, and put in
the IP of the local server or another CUPS server and see the
printers, but as soon as I close the window, the connection drops. Is
there something I am missing? Any help is appreciated.
Do you use cups-client in the FAT client or have you installed the cups
server in the chroot ?

What have you set in the lts.conf for printing parameters ?

The NAT is only for internet access not between the server and the client ?

Bye
--
Manu

Priorité au Logiciel Libre! Je soutiens l'April. <http://april.org/campagne>
Donaldson Jeff
2014-04-11 19:32:52 UTC
Permalink
I've narrowed the issue down to the client.conf file. I've added the server info to the client.conf in /etc/cups as well as the chroot in /opt/ltsp/i386/etc/cups. If I view the file in either location, the contents are correct. I then rebuild the image and reboot a couple of Fat clients to test. When I log in and view printers, it still appears to be looking at 192.168.0.254. If I pull up a terminal and view the client.conf in /etc/cups (from Fat Client), the contents are different. It shows the ServerName as 192.168.0.254. Any idea why the contents would be different? Can anyone enlighten me on how to get it to pull the client.conf I specified in /opt/ltsp/i386/etc/cups into the Fat Client image? Is there a switch I'm missing when I update the image? Any help is appreciated. Thanks!

Regards,
Jeff


Jeff Donaldson
Technology Director
Newark Charter School
***@ncs.k12.de.us
(302) 369-2001 ext: 425
________________________________
From: Donaldson Jeff <***@ncs.k12.de.us>
Sent: Thursday, April 3, 2014 12:59 PM
To: ltsp-***@lists.sourceforge.net
Subject: [Ltsp-discuss] Fat Client printing issue

Good Afternoon,

I sent this to the Edubuntu Users list already, so I apologize if you get this twice. I currently have an Edubuntu 12.04 LTSP setup with a FAT client chroot. It is installed on a dual nic server, so I had to setup NAT for internet access. I am able to successfully boot a FAT client image, however I can't seem to get printing to work correctly. I've installed CUPS in the chroot, I've added a client.conf file in /opt/ltsp/chroot/etc/cups/ to no avail. CUPS is configured and working correctly on the server and thin clients, just not the FAT clients. CUPS is configured to browse three other CUPS servers for shared printers. I've tried system-config-printer and making sure that both the Show printers shared by other systems and the Publish shared printers connected to this system are checked. If I go to Printers from a FAT Client, it displays no printers and shows that it is connected to 192.168.0.254. I can click Server--Connect, and put in the IP of the local server or another CUPS server and see the printers, but as soon as I close the window, the connection drops. Is there something I am missing? Any help is appreciated.

Regards,
Jeff

Jeff Donaldson
Technology Director
Newark Charter School
***@ncs.k12.de.us<mailto:***@ncs.k12.de.us>
(302) 369-2001 ext: 425<tel:%28302%29%20369-2001%20ext%3A%20425>



Jeff Donaldson
Technology Director
Newark Charter School
***@ncs.k12.de.us
(302) 369-2001 ext: 425
Bruno Vane
2014-09-25 21:11:33 UTC
Permalink
Hi friend,

Did you managed to resolve this? Im researching for this to, i find two
interesting files:

/usr/share/ldm/rc.d/X01-localapps
and /usr/share/ldm/rc.d/I00-localapps-cleanup

The first one create the client.conf and the second one erases the file on
startup.
If you comment the lines that removes the file and recreates it, the chroot
file will be there after the client reboot.
(sorry for my english)
Post by Donaldson Jeff
I've narrowed the issue down to the client.conf file. I've added the
server info to the client.conf in /etc/cups as well as the chroot in
/opt/ltsp/i386/etc/cups. If I view the file in either location, the
contents are correct. I then rebuild the image and reboot a couple of Fat
clients to test. When I log in and view printers, it still appears to be
looking at 192.168.0.254. If I pull up a terminal and view the client.conf
in /etc/cups (from Fat Client), the contents are different. It shows the
ServerName as 192.168.0.254. Any idea why the contents would be different?
Can anyone enlighten me on how to get it to pull the client.conf I
specified in /opt/ltsp/i386/etc/cups into the Fat Client image? Is there a
switch I'm missing when I update the image? Any help is appreciated. Thanks!
Regards,
Jeff
Jeff Donaldson
Technology Director
Newark Charter School
(302) 369-2001 ext: 425
------------------------------
*Sent:* Thursday, April 3, 2014 12:59 PM
*Subject:* [Ltsp-discuss] Fat Client printing issue
Good Afternoon,
I sent this to the Edubuntu Users list already, so I apologize if you
get this twice. I currently have an Edubuntu 12.04 LTSP setup with a FAT
client chroot. It is installed on a dual nic server, so I had to setup NAT
for internet access. I am able to successfully boot a FAT client image,
however I can't seem to get printing to work correctly. I've installed CUPS
in the chroot, I've added a client.conf file in /opt/ltsp/*chroot*/etc/cups/
to no avail. CUPS is configured and working correctly on the server and
thin clients, just not the FAT clients. CUPS is configured to browse three
other CUPS servers for shared printers. I've tried system-config-printer
and making sure that both the Show printers shared by other systems and the
Publish shared printers connected to this system are checked. If I go to
Printers from a FAT Client, it displays no printers and shows that it is
connected to 192.168.0.254. I can click Server--Connect, and put in the IP
of the local server or another CUPS server and see the printers, but as
soon as I close the window, the connection drops. Is there something I am
missing? Any help is appreciated.
Regards,
Jeff
Jeff Donaldson
Technology Director
Newark Charter School
(302) 369-2001 ext: 425
Jeff Donaldson
Technology Director
Newark Charter School
(302) 369-2001 ext: 425
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
Continue reading on narkive:
Loading...