I've been digging some more at the problem.
I tried to open the port manually using the jetpipe command in the client.
It gives me the following error:
linux@ws23:~> /usr/sbin/jetpipe /dev/usb/lp0 9100
Traceback (most recent call last):
File "/usr/lib/python2.7/site.py", line 554, in <module>
main()
File "/usr/lib/python2.7/site.py", line 536, in main
known_paths = addusersitepackages(known_paths)
File "/usr/lib/python2.7/site.py", line 264, in addusersitepackages
user_site = getusersitepackages()
File "/usr/lib/python2.7/site.py", line 239, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/usr/lib/python2.7/site.py", line 229, in getuserbase
USER_BASE = get_config_var('userbase')
File "/usr/lib/python2.7/sysconfig.py", line 518, in get_config_var
return get_config_vars().get(name)
File "/usr/lib/python2.7/sysconfig.py", line 421, in get_config_vars
_init_posix(_CONFIG_VARS)
File "/usr/lib/python2.7/sysconfig.py", line 285, in _init_posix
raise IOError(msg)
IOError: invalid Python installation: unable to open
/usr/include/python2.7/pyconfig.h (No such file or directory)
Apparently python is not installed, or maybe it is because i am not
running the command as root user (btw, what is the default root password
for the client?, or how do i set it?).
Looking at the config.xml file for the image creation script, the
following python packages are installed.
<package name="python"/>
<package name="python-serial"/>
<package name="gimp-plugins-python"/>
<package name="rpm-python"/>
But in the client, if I try to find any python file, there isn't any.
I am starting to think there is a bug somewhere, but seems strange that
nobody else is having the exact same problem, I suppose there is a lot
of people printing with the same version I am using.
I've seen reports of similar problems, but running on ubuntu or debian.
I will try to rebuild the image, but since python is already installed,
i don't see much use to it.
Any ideas?
-------- Original Message --------
Subject: Printing
Date: Fri, 02 Dec 2011 14:15:34 -0300
From: Raúl Alvarez <[email protected]>
To: [email protected]
Hello, I am having problems printing in kiwi-ltsp5 under OpenSuSE 11.4.
I posted this same question in kiwi-ltsp-users, but could not solve it yet.
I'm not able to get printers working in my thinclients.
So far I tried usb an parallel interfaces.
The dmesg output in the clients contains:
[ 1.833983] usb 5-1: New USB device found, idVendor=04b8, idProduct=0005
[ 1.833989] usb 5-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[ 1.833994] usb 5-1: Product: USB Printer
[ 1.833998] usb 5-1: Manufacturer: EPSON
[ 1.834052] usb 5-1: SerialNumber: L02021002040751300
[ 1.853332] usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto
2 vid 0x04B8 pid 0x0005
[ 1.853615] usbcore: registered new interface driver usblp
[ 1.989174] checking generic (f0000000 7d0000) vs hw (f0000000 8000000)
So the printer is detected, but the jetdirect port (9100) does not open
I configured lts.conf the same way as several servers i work with that
are using ltsp 4.2 with suse enterprise.
This is my lts.conf:
[default]
LDM_SERVER = 130.100.37.254
SOUND=False
LOCALDEV_DENY_CD=True
LOCALDEV_DENY_FLOPPY=True
LOCALDEV_DENY_INTERNAL_DISKS=True
LDM_DIRECTX=True
SERVER=130.100.37.254
SCREEN_07=ldm
LOCAL_APPS=true
LOCAL_APPS_MENU=True
LOCAL_APPS_MENU_ITEMS=firefox,xterm
LDM_NOMAD=false
RDP_OPTIONS = "-f -a 16" RDP_SERVER=130.100.37.254
LDM_LIMIT_ONE_SESSION=True
LDM_LIMIT_ONE_SESSION_PROMPT=True
XkbSymbols = "es(pc105)"
XkbModel = pc105
XkbLayout = es
PRINTER_0_TYPE = U
PRINTER_0_DEVICE = /dev/usb/lp0
Anybody can help?
Thanks
Raul
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_____________________________________________________________________
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