[X2Go-User] Printing on RHEL 6.5 Server

Eric Work work.eric at gmail.com
Thu Apr 3 21:13:30 CEST 2014


I'm trying to print from a RHEL 6.5 server running both x2goserver and
cups to a Fedora 20 client.  Both are running x2go 4.0.1.3.  I have
installed the x2goserver-printing and cups-x2go packages for RHEL.  I
have added the virtual printer to the cups server.  On the client I
have setup printing to show the dialog and start evince to view the
PDF.  When I attempt to print something, select the virtual printer,
then click print, nothing happens.  I see a pdf file in the cups spool
directory but nothing in the client spool directory.  When I attempt
to manually copy the pdf file to this directory nothing happens.
Maybe this is expected.  I see from strace that x2goclient is reading
the contents of the client spool directory and the number of files
changes but it doesn't do anything.

Is there something related to fuse and sshfs that prevents the
cups/x2goserver processes from copying over the generated PDF?

Is copying the file to the client spool directory not enough?  Is
there some other sort of signal passed from the server to the client
to initiate printing?

Below are the log messages I get when I try to print, which doesn't
seem to have any clear error messages.

Apr  2 22:33:31 XXX /usr/lib/cups/backend/cups-x2go[6070]: Print job
received from cups -> 5 YYY Google 1 Resolution=300dpi number-up=1
PageSize=Letter job-uuid=urn:uuid:c5c9e233-bfff-31c5-69e9-9ebed5ec4207
job-originating-host-name=localhost
Apr  2 22:33:31 XXX /usr/lib/cups/backend/cups-x2go[6070]: Print job
comes from STDIN, writing incoming job to temp file
/tmp/5-YYY-cupsjob6070
Apr  2 22:33:31 XXX /usr/lib/cups/backend/cups-x2go[6070]: Converting
printjob with command: /usr/bin/gs -q -dCompatibilityLevel=1.4
-dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite
-sOutputFile="/tmp/5-YYY-cupsjob6070.pdf"
-dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false
-dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -dDoNumCopies
-c .setpdfwrite -f "/tmp/5-YYY-cupsjob6070"
Apr  2 22:33:32 XXX /usr/bin/x2golistsessions[6073]: x2golistsessions
has been called with options: --all-servers
Apr  2 22:33:32 XXX /usr/bin/x2goprint[6081]: x2goprint has been
called with options: YYY YYY-50-1396503119_stDGNOME_dp24
YYY-50-1396503119_stDGNOME_dp24_5-YYY-cupsjob6070.pdf
YYY-50-1396503119_stDGNOME_dp24_5-YYY-cupsjob6070.pdf.title
Apr  2 22:33:32 XXX /usr/bin/x2goprint[6081]: x2goprint is processing
/var/spool/x2goprint/YYY-50-1396503119_stDGNOME_dp24_5-YYY-cupsjob6070.pdf
with print job title ,,Google''

Any help would be appreciated.

-Eric



More information about the x2go-user mailing list