Re: Guacamole update: on-screen keyboard and printing

2022-01-28 Thread Vieri
The guacd pdf patch for GS below works fine. Using it in production env. Hope guacd source in GIT can drop that parameter or use another setting. As far as the on-screen keyboard issue is concerned, it happens with Firefox. Here's a screenshot: https://drive.google.com/file/d/159usIgPY1Uw_mKaikL

Re: Guacamole update: on-screen keyboard and printing

2022-01-13 Thread Hankins, Jonathan
I believe it introduces the .setpdfwrite command, so you would need to remove it too: https://www.ghostscript.com/doc/current/Use.htm -c token ... > -c string ...Interprets arguments as PostScript code *up to the next > argument that begins with "-" followed by a non-digit*, or with "@". For > ex

Re: Guacamole update: on-screen keyboard and printing

2022-01-13 Thread Vieri
Thanks, Jonathan. With guacd GIT there's only one place to delete which is: --- a/src/protocols/rdp/print-job.c 2022-01-13 23:56:09.624104530 +0100 +++ b/src/protocols/rdp/print-job.c 2022-01-14 00:11:11.980761279 +0100 @@ -46,7 +46,6 @@ "-sDEVICE=pdfwrite", "-sOutputFile=-",   

Re: Guacamole update: on-screen keyboard and printing

2022-01-13 Thread Hankins, Jonathan
FWIW, .setpdfwrite was deprecated in gs 9.5.0 (2019-08-13) and removed in gs 9.5.4 (2021-02-12). Quick googling shows that the removal has broken various projects that involve PDF and use gs over the last year. Vieri, if you are building guacd yourself, it's trivial to remove it: guacamole-server-

Re: Guacamole update: on-screen keyboard and printing

2022-01-13 Thread Vieri
On Thursday, January 13, 2022, 11:30:41 PM GMT+1, Vieri wrote: > It looks like the issue lies in GhostScript itself > Error: /undefined in .setpdfwrite > That option is indeed passed to "gs" in the case of the print filter command > used by the RDP support I downgraded to ghostscript-gpl-9.

Re: Guacamole update: on-screen keyboard and printing

2022-01-13 Thread Vieri
On Thursday, January 13, 2022, 11:22:57 PM GMT+1, Mike Jumper wrote: > It looks like the issue lies in GhostScript itself > Error: /undefined in .setpdfwrite > That option is indeed passed to "gs" in the case of the print filter command > used by the RDP support Well, that's "good" news! Th

Re: Guacamole update: on-screen keyboard and printing

2022-01-13 Thread Mike Jumper
On Thu, Jan 13, 2022 at 2:46 AM Vieri wrote: > > On Thursday, January 13, 2022, 09:55:26 AM GMT+1, Mike Jumper > wrote: > > >> I can even send the "empty" PDF file that the client downloads if that can > >> be of any help. > > > > Sure - I'd be interested to see the content received. > > I'm at

Re: Guacamole update: on-screen keyboard and printing

2022-01-13 Thread Vieri
On Thursday, January 13, 2022, 11:46:38 AM GMT+1, Vieri wrote: >> Are you saying that if you run the 1.3.0 guacd with the 1.4.0 webapp, the >> problem disappears? > > No, in my case rolling back means going back to using my old server which has > both guacd and client at 1.3.0. > > I can tr

Re: Guacamole update: on-screen keyboard and printing

2022-01-13 Thread Vieri
On Thursday, January 13, 2022, 09:55:26 AM GMT+1, Mike Jumper wrote: >> I can even send the "empty" PDF file that the client downloads if that can >> be of any help. > > Sure - I'd be interested to see the content received. I'm attaching the PDF. You should see "printer test" on the first page

Re: Guacamole update: on-screen keyboard and printing

2022-01-13 Thread Mike Jumper
On Tue, Jan 11, 2022, 22:19 Vieri wrote: > On Tuesday, January 11, 2022, 11:43:54 PM GMT+1, Mike Jumper < > mjum...@apache.org> wrote: > > > Are you running a copy of the webapp that has been modified from the > mainline .war in any way? > > > No, these are the exact commands I run on my system:

Re: Guacamole update: on-screen keyboard and printing

2022-01-13 Thread Vieri
On Wednesday, January 12, 2022, 05:34:17 PM GMT+1, Vieri wrote: > > I have ghostscript-gpl-9.55.0. > > So I guess gs is not the issue here. > > Any suggestions? Hi, This has become a security issue for me because I cannot upgrade to 1.4.0 as my users require virtual printing to PDF. I'm stuck

Re: Guacamole update: on-screen keyboard and printing

2022-01-12 Thread Vieri
Hi again, On the guacamole 1.4.0 server I ran the following test to somehow simulate the gs output guacd would expect (I guess): # pdf2ps guac_print.pdf    Warning: File has some garbage before %PDF- . # gs -sDEVICE=pdfwrite -sOutputFile=guac_print_test.pdf guac_print.ps If I open guac_pri

Re: Guacamole update: on-screen keyboard and printing

2022-01-11 Thread Vieri
On Tuesday, January 11, 2022, 11:43:54 PM GMT+1, Mike Jumper wrote: > Are you running a copy of the webapp that has been modified from the mainline > .war in any way? No, these are the exact commands I run on my system: # wget https://apache.org/dyn/closer.lua/guacamole/1.4.0/binary/guaca

Re: Guacamole update: on-screen keyboard and printing

2022-01-11 Thread Mike Jumper
Are you running a copy of the webapp that has been modified from the mainline .war in any way? - Mike On Tue, Jan 11, 2022, 09:10 Vieri wrote: > Hi, > > After 2+ years of Guacamole running fine with the same version (and > dependencies) I decided it was time to update the whole system. > So the

Re: Guacamole update: on-screen keyboard and printing

2022-01-11 Thread Vieri
Can "Running gs" be more verbose? I just want to make sure ghostscript is producing the right output. I am running both 1.4.0 and GIT versions, and RDP printing (device redirection) is broken on my system. Testing with latest Firefox and Chrome clients. --

Guacamole update: on-screen keyboard and printing

2022-01-11 Thread Vieri
Hi, After 2+ years of Guacamole running fine with the same version (and dependencies) I decided it was time to update the whole system. So the new system has a new freerdp lib, a new tomcat (but still 8.5), new guacd, etc. The clients and the target systems however are the same. There are two m