Bernhard J. Mayr | 25 Jan 15:36 2013
Picon

Re: x2go printing


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

Am 24.01.2013 18:27, schrieb Mike Gabriel:
> 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
>
>
>
> _______________________________________________
> 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)
 
iQEcBAEBAgAGBQJRAphrAAoJEIC/l90o8tPVcfoIAIn6lQ3q6hRvCxEEijONsr87
aahbyfCCHFXm2ijNlsVEyB2wQmj5RsOhvipWt+QbprW5UITqwkETRZDmquA/JTLP
///8UM/eL0veecDja9h8L7bWgWs90dPFBSmvN92y9msdINE9xvgZp2xjIzOfTCnN
ieR6k//45o8WZJpGg0ovG8JCeI8qMJU9s0PDYeI+ude1IbwvNY5WWE+1p7Eayv9Q
KwEhQ5ffoPQbOWXXW0mFT1hdWAS0ZBeAzU/huggyEp4VwSUjTNDlxX9JvmnqtMdH
5i4ikSKwlusqXsJEA6Pk4FAQkivx9+mm/ABg55jINTN4nmE+Ez9P+R1eBBQmKS4=
=gxjJ
-----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>
    Thank you Mike!<br><br>
    I am going to comprehend how this gentle thing works!<br>
    I solved the problem. In the /etc/cups/cups-x2go.conf File I
    commented out the line<br><br>
    #ps2pdf = /usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH
    -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"$<br><br>
    Now printing works fine from WindowsClient!<br><br>
    Kind Regards, Bernhard<br><br>
    Am 24.01.2013 18:27, schrieb Mike Gabriel:<br><span>&gt; On Do 24 Jan 2013 09:11:23 CET
      "Bernhard J. Mayr" wrote:<br>
      &gt;<br>
      &gt;&gt; Hallo Mike!<br>
      &gt;&gt; I would like to reopen the usb-printing-thing.<br>
      &gt;&gt;<br>
      &gt;&gt; I have found the following line in the file
      /etc/cups/cups-x2goprinting.conf<br>
      &gt;&gt;<br>
      &gt;&gt; printdsa = /root/.ssh/id_dsa-x2goprint<br>
      &gt;&gt;<br>
      &gt;&gt; Yet in the folder /root/.ssh/ there is only one file:
      know_hosts Should<br>
      &gt;&gt; there be a key-file in it? Is this the reason, why
      printing on the local<br>
      &gt;&gt; printer via a x2go virtual printer doesn't work?<br>
      &gt;<br>
      &gt; 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<br>
      &gt;<br>
      &gt; ~x2goprint/.ssh/authorized_keys<br>
      &gt;<br>
      &gt; You also need the sudo line in /etc/sudoers as documented in
      our wiki.<br>
      &gt;<br>
      &gt;&gt; Thanks, Bernhard<br>
      &gt;<br>
      &gt; Welcome,<br>
      &gt; Mike<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><br>
    -----BEGIN PGP SIGNATURE-----
<br>
    Version: GnuPG v2.0.14 (MingW32)
<br>
    &nbsp;<br>
    iQEcBAEBAgAGBQJRAphrAAoJEIC/l90o8tPVcfoIAIn6lQ3q6hRvCxEEijONsr87
<br>
    aahbyfCCHFXm2ijNlsVEyB2wQmj5RsOhvipWt+QbprW5UITqwkETRZDmquA/JTLP
<br>
    ///8UM/eL0veecDja9h8L7bWgWs90dPFBSmvN92y9msdINE9xvgZp2xjIzOfTCnN
<br>
    ieR6k//45o8WZJpGg0ovG8JCeI8qMJU9s0PDYeI+ude1IbwvNY5WWE+1p7Eayv9Q
<br>
    KwEhQ5ffoPQbOWXXW0mFT1hdWAS0ZBeAzU/huggyEp4VwSUjTNDlxX9JvmnqtMdH
<br>
    5i4ikSKwlusqXsJEA6Pk4FAQkivx9+mm/ABg55jINTN4nmE+Ez9P+R1eBBQmKS4=
<br>
    =gxjJ
<br>
    -----END PGP SIGNATURE-----
<br><br>
</div>

Gmane