-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hallo! I am trying to install the local printing capability of x2go. I did everythink as explained in the wiki: http://www.x2go.org/doku.php/wiki:components:printing
I set the log-level to debug and the error_log file contains the following lines:
D [16/Jan/2013:12:38:57 +0100] [Job 3] Started filter /usr/lib/cups/filter/commandtops (PID 16856) D [16/Jan/2013:12:38:57 +0100] [Job 3] Started backend /usr/lib/cups/backend/cups-x2go (PID 16857) D [16/Jan/2013:12:38:57 +0100] [Job 3] Restarted by "administrator". D [16/Jan/2013:12:38:57 +0100] [Job 3] Unable to auto-configure PostScript Printer - no bidirectional I/O available! D [16/Jan/2013:12:38:57 +0100] [Job 3] GPL Ghostscript 9.05: **** Could not open the file "/tmp/3-administrator-cupsjob16857.pdf" . D [16/Jan/2013:12:38:57 +0100] [Job 3] /usr/bin/x2goprint: Can't move /var/spool/x2goprint/administrator-50-1358335004_stDLXDE_dp17_3-administr$ D [16/Jan/2013:12:38:57 +0100] [Job 3] End of messages D [16/Jan/2013:12:38:57 +0100] [Job 3] printer-state=3(idle) D [16/Jan/2013:12:38:57 +0100] [Job 3] printer-state-message="/usr/lib/cups/filter/commandtops failed" D [16/Jan/2013:12:38:57 +0100] [Job 3] printer-state-reasons=none
Seems to be a problem with directory-permissions? Do I have to grant any privileges?
Kind Regards, Bernhard
#################################################################### Das Projekt elexis-austria hat den Constantinus Award 2012 gewonnen! www.constantinus.net/award ####################################################################
Dr. Bernhard J. Mayr, MBA elexis austria | Open-Source Software für die Arztpraxis Projektkoordinator
Tulpenweg 10 4600 Wels, Austria +43(0)660 31 96 763 bernhard.mayr@elexis-austria.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (MingW32)
iQEcBAEBAgAGBQJQ9pNbAAoJEIC/l90o8tPVEkgIAKc7720B+ZXwUNQ3rxanAOCq 2FS/vxQQJXu9MLQJfO3ZcoH32Jn/yZXWss42DDIxFQyNLRwbsB8sTH2lCzOt83xE eajilvmcX4dIL/+diFAECsOE4yM7DZRTRNWQGS4cYphEa1MvQYbUYkOOtySp/FGs JNhfu9tpEQGFkcU0nKzibPdg2JXQcuHWQ7rdZU2duhDt9Rdy2kNYkqkWj9DMHnte v5/aKzmG8KWwG8zA0DE5SQ7J8M6N6NW5rzK5jhKt3z5RiJUHT1HwhdhFV710KugT cYc72AQb/4iTwaiVeTnQkJ1UWHdbFZ8U3GV3Nt66J1uD4S6DraLeZmjtxlDn/X8= =hoDb -----END PGP SIGNATURE-----
Hi Bernhard,
On Mi 16 Jan 2013 12:47:40 CET "Bernhard J. Mayr" wrote:
D [16/Jan/2013:12:38:57 +0100] [Job 3] GPL Ghostscript 9.05: **** Could not open the file "/tmp/3-administrator-cupsjob16857.pdf" . D [16/Jan/2013:12:38:57 +0100] [Job 3] /usr/bin/x2goprint: Can't move /var/spool/x2goprint/administrator-50-1358335004_stDLXDE_dp17_3-administr$ D [16/Jan/2013:12:38:57 +0100] [Job 3] End of messages D [16/Jan/2013:12:38:57 +0100] [Job 3] printer-state=3(idle) D [16/Jan/2013:12:38:57 +0100] [Job 3] printer-state-message="/usr/lib/cups/filter/commandtops failed" D [16/Jan/2013:12:38:57 +0100] [Job 3] printer-state-reasons=none
Seems to be a problem with directory-permissions? Do I have to grant any privileges?
What distro are you using???
The file permissions of /usr/lib/cups/backends/cups-x2go should be
0700:root:root. Is that the case? CUPS will execute a backend with
that permissions with root privileges. If the privs are different, the
backend will run as user lp:lp, which will not work as x2goprint uses
the su command and expects root privileges.
Note: if you run CUPS and X2Go Server on a different machine, then
cups-x2go has to be installed on the CUPS machine and
x2goserver-printing is needed on X2Go Server(s). For multi-host
printing, you also need a line in /etc/sudoers (that should be on the
wiki somewhere).
Mike
PS: if any of this information is not in the wiki, please find a good
place in the wiki to add this piece of documentation. Thanks!
--
DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Hi Mike!
I am using a Ubuntu 12.04 running on the server and I connect to a LXDE Desktop environment. CUPS and X2Go Server are running on the same machine.
The file permissions are ok. Although the directory is called backend (without the ending 's'). Though I didn't create any directories manually, I think this should be ok.
Thanks, Bernhard
Am 17.01.2013 00:19, schrieb Mike Gabriel:
Hi Bernhard,
On Mi 16 Jan 2013 12:47:40 CET "Bernhard J. Mayr" wrote:
D [16/Jan/2013:12:38:57 +0100] [Job 3] GPL Ghostscript 9.05: **** Could not open the file "/tmp/3-administrator-cupsjob16857.pdf" . D [16/Jan/2013:12:38:57 +0100] [Job 3] /usr/bin/x2goprint: Can't move /var/spool/x2goprint/administrator-50-1358335004_stDLXDE_dp17_3-administr$
D [16/Jan/2013:12:38:57 +0100] [Job 3] End of messages D [16/Jan/2013:12:38:57 +0100] [Job 3] printer-state=3(idle) D [16/Jan/2013:12:38:57 +0100] [Job 3] printer-state-message="/usr/lib/cups/filter/commandtops failed" D [16/Jan/2013:12:38:57 +0100] [Job 3] printer-state-reasons=none
Seems to be a problem with directory-permissions? Do I have to grant any privileges?
What distro are you using???
The file permissions of /usr/lib/cups/backends/cups-x2go should be 0700:root:root. Is that the case? CUPS will execute a backend with that permissions with root privileges. If the privs are different, the backend will run as user lp:lp, which will not work as x2goprint uses the su command and expects root privileges.
Note: if you run CUPS and X2Go Server on a different machine, then cups-x2go has to be installed on the CUPS machine and x2goserver-printing is needed on X2Go Server(s). For multi-host printing, you also need a line in /etc/sudoers (that should be on the wiki somewhere).
Mike
PS: if any of this information is not in the wiki, please find a good place in the wiki to add this piece of documentation. Thanks!
X2Go-User mailing list X2Go-User@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-user
Dr. Bernhard J. Mayr, MBA elexis austria | Open-Source Software für die Arztpraxis Projektkoordinator
Tulpenweg 10 4600 Wels, Austria +43(0)660 31 96 763 bernhard.mayr@elexis-austria.net
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hallo Mike! I would like to reopen the usb-printing-thing.
I have found the following line in the file /etc/cups/cups-x2goprinting.conf
printdsa = /root/.ssh/id_dsa-x2goprint
Yet in the folder /root/.ssh/ there is only one file: know_hosts Should there be a key-file in it? Is this the reason, why printing on the local printer via a x2go virtual printer doesn't work?
Thanks, Bernhard
Hi Bernhard,
On Mi 16 Jan 2013 12:47:40 CET "Bernhard J. Mayr" wrote:
D [16/Jan/2013:12:38:57 +0100] [Job 3] GPL Ghostscript 9.05: **** Could not open the file "/tmp/3-administrator-cupsjob16857.pdf" . D [16/Jan/2013:12:38:57 +0100] [Job 3] /usr/bin/x2goprint: Can't move
/var/spool/x2goprint/administrator-50-1358335004_stDLXDE_dp17_3-administr$
D [16/Jan/2013:12:38:57 +0100] [Job 3] End of messages D [16/Jan/2013:12:38:57 +0100] [Job 3] printer-state=3(idle) D [16/Jan/2013:12:38:57 +0100] [Job 3] printer-state-message="/usr/lib/cups/filter/commandtops failed" D [16/Jan/2013:12:38:57 +0100] [Job 3] printer-state-reasons=none
Seems to be a problem with directory-permissions? Do I have to grant any privileges?
What distro are you using???
The file permissions of /usr/lib/cups/backends/cups-x2go should be 0700:root:root. Is that the case? CUPS will execute a backend with that
Am 17.01.2013 00:19, schrieb Mike Gabriel: permissions with root privileges. If the privs are different, the backend will run as user lp:lp, which will not work as x2goprint uses the su command and expects root privileges.
Note: if you run CUPS and X2Go Server on a different machine, then
cups-x2go has to be installed on the CUPS machine and x2goserver-printing is needed on X2Go Server(s). For multi-host printing, you also need a line in /etc/sudoers (that should be on the wiki somewhere).
Mike
PS: if any of this information is not in the wiki, please find a good
place in the wiki to add this piece of documentation. Thanks!
X2Go-User mailing list X2Go-User@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-user
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (MingW32)
iQEcBAEBAgAGBQJQ/8CHAAoJEIC/l90o8tPVbUEIAJGGWDpF/8rgUv01ZuW+XSA6 +1Ux0lVv+qaNPY7TMyq1rFib1eFlO97SVpT7JM34SCnJuRq6MKrLSEHrtT6dpsgn IafyokkHwV+DE8gTDe6GpRAzVfoBB9IOqtPyRFkygyynJBwcWRKKUgeF578NqW7P ztTH25l6oUV8cpwMwwJreQNgo9Fp2fqEoNnc4SgZrrgwLtFeyfNLJqpnbsaw/TXL 44WQ28tUPwglIGqOerM8BzaVIURVWSrHF3dSUF2rchMmqJ5X5TbKyasLNq2hWwcR MXqEnaG4gQolCizxs5bqte9GcCjj6Z1JXeKDaMcuY30haxbL/JGyVlLwqdV2BXY= =TBaQ -----END PGP SIGNATURE-----
Hallo Mike! I would like to reopen the usb-printing-thing.
I have found the following line in the file /etc/cups/cups-x2goprinting.conf
printdsa = /root/.ssh/id_dsa-x2goprint
Yet in the folder /root/.ssh/ there is only one file: know_hosts Should there be a key-file in it? Is this the reason, why printing on the local printer via a x2go virtual printer doesn't work?
Thanks, Bernhard
Hi Bernhard,
On Mi 16 Jan 2013 12:47:40 CET "Bernhard J. Mayr" wrote:
D [16/Jan/2013:12:38:57 +0100] [Job 3] GPL Ghostscript 9.05: **** Could not open the file "/tmp/3-administrator-cupsjob16857.pdf" . D [16/Jan/2013:12:38:57 +0100] [Job 3] /usr/bin/x2goprint: Can't move
/var/spool/x2goprint/administrator-50-1358335004_stDLXDE_dp17_3-administr$
D [16/Jan/2013:12:38:57 +0100] [Job 3] End of messages D [16/Jan/2013:12:38:57 +0100] [Job 3] printer-state=3(idle) D [16/Jan/2013:12:38:57 +0100] [Job 3] printer-state-message="/usr/lib/cups/filter/commandtops failed" D [16/Jan/2013:12:38:57 +0100] [Job 3] printer-state-reasons=none
Seems to be a problem with directory-permissions? Do I have to grant any privileges?
What distro are you using???
The file permissions of /usr/lib/cups/backends/cups-x2go should be 0700:root:root. Is that the case? CUPS will execute a backend with that
Am 17.01.2013 00:19, schrieb Mike Gabriel: permissions with root privileges. If the privs are different, the backend will run as user lp:lp, which will not work as x2goprint uses the su command and expects root privileges.
Note: if you run CUPS and X2Go Server on a different machine, then
cups-x2go has to be installed on the CUPS machine and x2goserver-printing is needed on X2Go Server(s). For multi-host printing, you also need a line in /etc/sudoers (that should be on the wiki somewhere).
Mike
PS: if any of this information is not in the wiki, please find a good
place in the wiki to add this piece of documentation. Thanks!
X2Go-User mailing list X2Go-User@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-user
On Do 24 Jan 2013 09:11:23 CET "Bernhard J. Mayr" wrote:
Hallo Mike! I would like to reopen the usb-printing-thing.
I have found the following line in the file /etc/cups/cups-x2goprinting.conf
printdsa = /root/.ssh/id_dsa-x2goprint
Yet in the folder /root/.ssh/ there is only one file: know_hosts Should there be a key-file in it? Is this the reason, why printing on the local printer via a x2go virtual printer doesn't work?
If X2Go server and CUPS server are on different machines, then: Yes,
there should be such a key. The public key has to be on the x2goserver
in
~x2goprint/.ssh/authorized_keys
You also need the sudo line in /etc/sudoers as documented in our wiki.
Thanks, Bernhard
Welcome, Mike
--
DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Thank you Mike!
I am going to comprehend how this gentle thing works! I solved the problem. In the /etc/cups/cups-x2go.conf File I commented out the line
#ps2pdf = /usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"$
Now printing works fine from WindowsClient!
Kind Regards, Bernhard
On Do 24 Jan 2013 09:11:23 CET "Bernhard J. Mayr" wrote:
Hallo Mike! I would like to reopen the usb-printing-thing.
I have found the following line in the file /etc/cups/cups-x2goprinting.conf
printdsa = /root/.ssh/id_dsa-x2goprint
Yet in the folder /root/.ssh/ there is only one file: know_hosts Should there be a key-file in it? Is this the reason, why printing on the local printer via a x2go virtual printer doesn't work?
If X2Go server and CUPS server are on different machines, then: Yes,
Am 24.01.2013 18:27, schrieb Mike Gabriel: there should be such a key. The public key has to be on the x2goserver in
~x2goprint/.ssh/authorized_keys
You also need the sudo line in /etc/sudoers as documented in our wiki.
Thanks, Bernhard
Welcome, Mike
X2Go-User mailing list X2Go-User@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-user
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (MingW32)
iQEcBAEBAgAGBQJRAphrAAoJEIC/l90o8tPVcfoIAIn6lQ3q6hRvCxEEijONsr87 aahbyfCCHFXm2ijNlsVEyB2wQmj5RsOhvipWt+QbprW5UITqwkETRZDmquA/JTLP ///8UM/eL0veecDja9h8L7bWgWs90dPFBSmvN92y9msdINE9xvgZp2xjIzOfTCnN ieR6k//45o8WZJpGg0ovG8JCeI8qMJU9s0PDYeI+ude1IbwvNY5WWE+1p7Eayv9Q KwEhQ5ffoPQbOWXXW0mFT1hdWAS0ZBeAzU/huggyEp4VwSUjTNDlxX9JvmnqtMdH 5i4ikSKwlusqXsJEA6Pk4FAQkivx9+mm/ABg55jINTN4nmE+Ez9P+R1eBBQmKS4= =gxjJ -----END PGP SIGNATURE-----