guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabián Rodríguez <>
Subject Can't print in RDP sessions
Date Wed, 27 Feb 2019 20:18:27 GMT

I am using Guacamole 1.0.0 in Debian 9 with Tomcat 8, database
authentication with self-sgned SSL certificate.

After following the installation documentation
<> I
documented my initial 0.9.14 installation steps here
<>. I then recently used this script
to update, while working around  a small bug
<>. VNC, SSH and
RDP remote sessions are used daily without problems.

I can't seem to get a prompt to save the PDF file generated when
printing in RDP sessions.

I initially had to symlink all files in /usr/local/lib/freerdp to
/usr/lib/x86_64-linux-gnu/freerdp, for example (see this bug report

ln -s /usr/local/lib/freerdp/

After reboot guacdr started normally:

Feb 27 14:35:19 guacamole guacd[14998]: guacsnd connected.
Feb 27 14:35:19 guacamole guacd[14998]: guacdr connected.

When connected, a new printer "Guacamole PDF printer" (as I named it)
showed up. When I start printing there is no error, only a message on my
local browser notifications "Waiting for guacamole.domain.lan...:" and
nothing happens.

Ghostscript is installed, in /var/syslog I see:

Feb 27 14:44:51 guacamole guacd[23876]: Device 0 (Imprimante Guacamole
PDF) connected successfully
Feb 27 14:45:07 guacamole guacd[23876]: Print job created
Feb 27 14:45:07 guacamole guacd[23876]: Created PDF filter process PID=24158
Feb 27 14:45:07 guacamole guacd[24158]: Running gs

And a gs process is running continuously:

24158 ?      S      0:06 gs -q -dNOPAUSE -dBATCH -dSAFER -dPARANOIDSAFER
-sDEVICE=pdfwrite -sOutputFile=- -c .setpdfwrite -sstdout=/dev/null -f -

But nothing happens...

If I close the session then a file dialog to save appears, the resulting
file is very small (255 bytes) and of course corrupted but it has PDF

I tested this using both Firefox ESR and 65, Chrome and Chromium, from
Debian 9 and WIndows 7 Pro desktops with the same results. Any ideas or
suggestions on how to troubleshoot further ?

Thanks in advance.


Fabián Rodríguez

View raw message