23 Jan 2013 11:50
Re: x2go printing
-----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
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-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org
> 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-----
<div>
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA1 <br>
<br>
Hallo Mike!<br>
I would like to reopen the usb-printing-thing.<br><br>
I have found the following line in the file
/etc/cups/cups-x2goprinting.conf<br><br>
printdsa = /root/.ssh/id_dsa-x2goprint<br><br>
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?<br><br>
Thanks, Bernhard<br><br>
Am 17.01.2013 00:19, schrieb Mike Gabriel:<br><span>> Hi Bernhard,<br>
><br>
> On Mi 16 Jan 2013 12:47:40 CET "Bernhard J. Mayr" wrote:<br>
><br>
>> D [16/Jan/2013:12:38:57 +0100] [Job 3] GPL Ghostscript
9.05: **** Could<br>
>> not open the file "/tmp/3-administrator-cupsjob16857.pdf"
.<br>
>> D [16/Jan/2013:12:38:57 +0100] [Job 3]
/usr/bin/x2goprint: Can't move<br>
>>
/var/spool/x2goprint/administrator-50-1358335004_stDLXDE_dp17_3-administr$<br>
>> D [16/Jan/2013:12:38:57 +0100] [Job 3] End of messages<br>
>> D [16/Jan/2013:12:38:57 +0100] [Job 3]
printer-state=3(idle)<br>
>> D [16/Jan/2013:12:38:57 +0100] [Job 3]<br>
>> printer-state-message="/usr/lib/cups/filter/commandtops
failed"<br>
>> D [16/Jan/2013:12:38:57 +0100] [Job 3]
printer-state-reasons=none<br>
>><br>
>> Seems to be a problem with directory-permissions? Do I
have to grant any<br>
>> privileges?<br>
>><br>
><br>
> What distro are you using???<br>
><br>
> 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.<br>
><br>
> 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).<br>
><br>
> Mike<br>
><br>
> 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!<br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> X2Go-User mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:X2Go-User <at> lists.berlios.de">X2Go-User@...</a><br>
> <a class="moz-txt-link-freetext" href="https://lists.berlios.de/mailman/listinfo/x2go-user">https://lists.berlios.de/mailman/listinfo/x2go-user</a></span><br><br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2.0.14 (MingW32)
<br>
<br>
iQEcBAEBAgAGBQJQ/8CHAAoJEIC/l90o8tPVbUEIAJGGWDpF/8rgUv01ZuW+XSA6
<br>
+1Ux0lVv+qaNPY7TMyq1rFib1eFlO97SVpT7JM34SCnJuRq6MKrLSEHrtT6dpsgn
<br>
IafyokkHwV+DE8gTDe6GpRAzVfoBB9IOqtPyRFkygyynJBwcWRKKUgeF578NqW7P
<br>
ztTH25l6oUV8cpwMwwJreQNgo9Fp2fqEoNnc4SgZrrgwLtFeyfNLJqpnbsaw/TXL
<br>
44WQ28tUPwglIGqOerM8BzaVIURVWSrHF3dSUF2rchMmqJ5X5TbKyasLNq2hWwcR
<br>
MXqEnaG4gQolCizxs5bqte9GcCjj6Z1JXeKDaMcuY30haxbL/JGyVlLwqdV2BXY=
<br>
=TBaQ
<br>
-----END PGP SIGNATURE-----
<br><br>
</div>
RSS Feed