Bernhard J. Mayr | 23 Jan 11:50 2013
Picon

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-----

Attachment (0x28F2D3D5.asc): application/pgp-keys, 2696 bytes
Attachment (0x28F2D3D5.asc.sig): application/octet-stream, 389 bytes
<div>
    <br>
    -----BEGIN PGP SIGNED MESSAGE----- <br>
    Hash: SHA1 <br>
    &nbsp;<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&nbsp;
    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>&gt; Hi Bernhard,<br>
      &gt;<br>
      &gt; On Mi 16 Jan 2013 12:47:40 CET "Bernhard J. Mayr" wrote:<br>
      &gt;<br>
      &gt;&gt; D [16/Jan/2013:12:38:57 +0100] [Job 3] GPL Ghostscript
      9.05: **** Could<br>
      &gt;&gt; not open the file "/tmp/3-administrator-cupsjob16857.pdf"
      .<br>
      &gt;&gt; D [16/Jan/2013:12:38:57 +0100] [Job 3]
      /usr/bin/x2goprint: Can't move<br>
      &gt;&gt;
/var/spool/x2goprint/administrator-50-1358335004_stDLXDE_dp17_3-administr$<br>
      &gt;&gt; D [16/Jan/2013:12:38:57 +0100] [Job 3] End of messages<br>
      &gt;&gt; D [16/Jan/2013:12:38:57 +0100] [Job 3]
      printer-state=3(idle)<br>
      &gt;&gt; D [16/Jan/2013:12:38:57 +0100] [Job 3]<br>
      &gt;&gt; printer-state-message="/usr/lib/cups/filter/commandtops
      failed"<br>
      &gt;&gt; D [16/Jan/2013:12:38:57 +0100] [Job 3]
      printer-state-reasons=none<br>
      &gt;&gt;<br>
      &gt;&gt; Seems to be a problem with directory-permissions? Do I
      have to grant any<br>
      &gt;&gt; privileges?<br>
      &gt;&gt;<br>
      &gt;<br>
      &gt; What distro are you using???<br>
      &gt;<br>
      &gt; 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>
      &gt;<br>
      &gt; 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>
      &gt;<br>
      &gt; Mike<br>
      &gt;<br>
      &gt; 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>
      &gt;<br>
      &gt;<br>
      &gt;<br>
      &gt;<br>
      &gt;<br>
      &gt; _______________________________________________<br>
      &gt; X2Go-User mailing list<br>
      &gt; <a class="moz-txt-link-abbreviated" href="mailto:X2Go-User <at> lists.berlios.de">X2Go-User@...</a><br>
      &gt; <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>
    &nbsp;<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>

Gmane