HI Bernhard, On Fr 09 Jan 2015 09:51:43 CET, Mayr, Bernhard J. | elexis-austria wrote:
Hallo Guys! I would like to ask if anyone managed to get client-side printing work on an ubuntu 14.04 powered x2go server. On my installation everything seems fine. In the syslog i can only find one error message, that x2go print could not process the print file. Jan 8 17:14:48 eaustria /usr/lib/cups/backend/cups-x2go[32125]: Print job received from cups -> 10 root Leafpad job #2 1 PageSize=Letter number-up=1 Resolution=300dpi job-uuid=urn:uuid:1c04f69d-977d-3dfc-72fb-e974997806f4 job-originating-host-name=localhost time-at-creation=1420733688 time-at-processing=1420733688 Jan 8 17:14:48 eaustria /usr/lib/cups/backend/cups-x2go[32125]: Print job comes from STDIN, writing incoming job to temp file /tmp/10-root-cupsjob32125 Jan 8 17:14:48 eaustria /usr/lib/cups/backend/cups-x2go[32125]: Converting printjob with command: /usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"/tmp/10-root-cupsjob32125.pdf\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -dDoNumCopies -c .setpdfwrite -f \"/tmp/10-root-cupsjob32125\" Jan 8 17:14:48 eaustria /usr/lib/cups/backend/cups-x2go[32125]: Querying local X2Go server for a session list... Jan 8 17:14:49 eaustria /usr/lib/cups/backend/cups-x2go[32125]: 30747|root-59-1420733655_stDLXDE_dp24|59|eaustria.app.server|R|2015-01-08T17:14:15|27b7d790f409ec27e0b21152ee9fc00b|212.152.133.253|30028|30029|2015-01-08T17:14:17|root|34|30030| Jan 8 17:14:49 eaustria /usr/lib/cups/backend/cups-x2go[32125]: Retrieved session list: 30747|root-59-1420733655_stDLXDE_dp24|59|eaustria.app.server|R|2015-01-08T17:14:15|27b7d790f409ec27e0b21152ee9fc00b|212.152.133.253|30028|30029|2015-01-08T17:14:17|root|34|30030| Jan 8 17:14:49 eaustria /usr/lib/cups/backend/cups-x2go[32125]: Call to printfile function with: /tmp/10-root-cupsjob32125.pdf /tmp/10-root-cupsjob32125.pdf.title eaustria.app.server root-59-1420733655_stDLXDE_dp24 Jan 8 17:14:49 eaustria console-kit-daemon[2632]: GLib-CRITICAL: Source ID 2626 was not found when attempting to remove it Jan 8 17:14:49 eaustria /usr/lib/cups/backend/cups-x2go[32125]: x2goprint root root-59-1420733655_stDLXDE_dp24 root-59-1420733655_stDLXDE_dp24_10-root-cupsjob32125.pdf root-59-1420733655_stDLXDE_dp24_10-root-cupsjob32125.pdf.title Jan 8 17:14:49 eaustria /usr/bin/x2goprint[32176]: x2goprint is processing /var/spool/x2goprint/root-59-1420733655_stDLXDE_dp24_10-root-cupsjob32125.pdf with print job title ,,Leafpad job #2'' Jan 8 17:14:49 eaustria console-kit-daemon[2632]: GLib-CRITICAL: Source ID 2639 was not found when attempting to remove it Jan 8 17:14:49 eaustria /usr/bin/x2goprint[32176]: ERROR: x2goprint failed to process print spool job for file root-59-1420733655_stDLXDE_dp24_10-root-cupsjob32125.pdf Jan 8 17:17:01 eaustria CRON[3464]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Thankfully Yours, Bernhard J. Mayr
first thing: don't use X2Go as root on the remote X2Go Server. Please avoid it if possible.
second: your issue seems unrelated to #702 (mentioned by Stefan)third: x2goserver-printing and cups-x2go are working fine between two Debian jessie systems (and also other combinations), so I suppose there is a setup issue.
fourth: http://code.x2go.org/gitweb?p=x2goserver.git;a=blob;f=x2goserver-printing/bin/x2goprint;h=c24975e4e6c7e769eacf88e5689fb5ef1f333704;hb=91da54c9f1c64dd62fd311735c9d09219208e68b#l115 This is where your error occurs. The problem is that the print files cannot be copied to the sshfs-mounted print spool mount point at /tmp/.x2go-$user/spool/tmp/ ($spooltmp).
We have received reports where someone says that CUPS remounts /tmp on processing print jobs. I could not confirm that with my running setups. However, I hope this gives you some help in debugging and tracking down the issue.
Digging deeper... The cups.service file for CUPS in Debian jessie is this: """ [Unit] Description=CUPS Printing Service Documentation=man:cupsd(8) man:cupsd.conf(5) Requires=cups.socket [Service] ExecStart=/usr/sbin/cupsd -f PrivateTmp=true [Install] Also=cups.socket cups.path WantedBy=printer.target """ -> Maybe the PrivateTmp causes your issue... Mike -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
pgp2LmdCgl4zd.pgp
Description: Digitale PGP-Signatur
_______________________________________________ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user