You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Michael Niehren <m....@tuxlan.de> on 2022/05/01 18:45:22 UTC

AW: RDP virtual printing (PDF) fails on second try

same problem here, printing is not usable on V1.4.0



best regrads

  Michael





----------------------------------------------------------------------------
Angaben nach dem EHUG

Firmenname :        tuxlan GmbH
Rechtsform :          GmbH
Sitz :                       Ritzelbergstr. 27, 66636 Tholey
Geschäftsführer :  Michael Niehren
Registergericht :   Saarbrücken, HRB 107090
----------------------------------------------------------------------------





-----Ursprüngliche Nachricht-----
Von: Vieri <re...@yahoo.com.INVALID>
Gesendet: Donnerstag 28. April 2022 23:53
An: User <us...@guacamole.apache.org>
Betreff: RDP virtual printing (PDF) fails on second try


Hi,

Running 1.4.0 virtual printing to PDF works one, but then the second attempt to print freezes the session (no printing of course, but also nothing else responds).
I'm using both Chrome and Firefox.
With Firefox, logging out of Guacamole and back in does "unfreeze" the session, but as soon as I try to print again the session freezes.
With Chrome, when I log out of Guacamole I see a new corrupt PDF is downloaded. I can then log into Guacamole nd enter my RDP session. I can then print to virtual PDF, and the first try is successful I can view the PDF content). However, the second try freezes the session again.

Am I the only one seeing this?

Here's what I see in the guacd log:

23:31:28 inf-gw2 guacd[512]: Print job created
23:31:28 inf-gw2 guacd[512]: Created PDF filter process PID=632
23:31:28 inf-gw2 guacd[632]: Running gs
23:31:28 inf-gw2 guacd[512]: Print job closed
--> I can properly view my first PDF.
23:31:48 inf-gw2 guacd[512]: Print job created
23:31:48 inf-gw2 guacd[512]: Created PDF filter process PID=688
23:31:48 inf-gw2 guacd[688]: Running gs
--> session freeze
23:32:16 inf-gw2 guacd[8165]: Creating new client for protocol "rdp"
--> I reconnect to guacamole + enter RDP session again.

So, the session seems to freeze when the print job does not get "closed".
Maybe ghostscript is the culprit.
In fact I see too many processes on the server:

# ps -ae | grep -c gs
245

A ps aux shows processes running with these parameters:

gs -q -dNOPAUSE -dBATCH -dSAFER -dPARANOIDSAFER -sDEVICE=pdfwrite -sOutputFile=- -sstdout=/dev/null -f -

# gs --version
9.55.0

What can I try?

Vieri

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org

Re: RDP virtual printing (PDF) fails on second try

Posted by Vieri <re...@yahoo.com.INVALID>.
FWIW I can confirm that the problem is fixed with the latest GIT version of guacamole-server.

Thanks,

Vieri

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: RDP virtual printing (PDF) fails on second try

Posted by Vieri <re...@yahoo.com.INVALID>.
On Sunday, May 1, 2022, 09:21:37 PM GMT+2, Michael Jumper <mj...@apache.org> wrote: 

> If possible, please try building guacamole-server from git and see if the issue disappears. This was recently identified and fixed for upcoming 1.5.0.

I actually already was running code from GIT, but I updated it just now:

GIT update -->
   repository:               https://github.com/apache/guacamole-server.git
   updating from commit:     23612720ce3738e2fc579f57acd9d19eedf198fc
   to commit:                81300052e01f7e544ead82ece1e8398d95e9653e

I should be able to see if it solves the issue within a day or two.

Thanks,

Vieri



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: RDP virtual printing (PDF) fails on second try

Posted by Michael Jumper <mj...@apache.org>.
If possible, please try building guacamole-server from git and see if the
issue disappears. This was recently identified and fixed for upcoming 1.5.0.

- Mine

On Sun, May 1, 2022, 11:46 Michael Niehren <m....@tuxlan.de> wrote:

> same problem here, printing is not usable on V1.4.0
>
>
> best regrads
>
>   Michael
>
>
> ----------------------------------------------------------------------------
> Angaben nach dem EHUG
>
> Firmenname :        tuxlan GmbH
> Rechtsform :          GmbH
> Sitz :                       Ritzelbergstr. 27, 66636 Tholey
> Geschäftsführer :  Michael Niehren
> Registergericht :   Saarbrücken, HRB 107090
> ----------------------------------------------------------------------------
>
>
>
> -----Ursprüngliche Nachricht-----
> *Von:* Vieri <re...@yahoo.com.INVALID>
> *Gesendet:* Donnerstag 28. April 2022 23:53
> *An:* User <us...@guacamole.apache.org>
> *Betreff:* RDP virtual printing (PDF) fails on second try
>
> Hi,
>
> Running 1.4.0 virtual printing to PDF works one, but then the second attempt to print freezes the session (no printing of course, but also nothing else responds).
> I'm using both Chrome and Firefox.
> With Firefox, logging out of Guacamole and back in does "unfreeze" the session, but as soon as I try to print again the session freezes.
> With Chrome, when I log out of Guacamole I see a new corrupt PDF is downloaded. I can then log into Guacamole nd enter my RDP session. I can then print to virtual PDF, and the first try is successful I can view the PDF content). However, the second try freezes the session again.
>
> Am I the only one seeing this?
>
> Here's what I see in the guacd log:
>
> 23:31:28 inf-gw2 guacd[512]: Print job created
> 23:31:28 inf-gw2 guacd[512]: Created PDF filter process PID=632
> 23:31:28 inf-gw2 guacd[632]: Running gs
> 23:31:28 inf-gw2 guacd[512]: Print job closed
> --> I can properly view my first PDF.
> 23:31:48 inf-gw2 guacd[512]: Print job created
> 23:31:48 inf-gw2 guacd[512]: Created PDF filter process PID=688
> 23:31:48 inf-gw2 guacd[688]: Running gs
> --> session freeze
> 23:32:16 inf-gw2 guacd[8165]: Creating new client for protocol "rdp"
> --> I reconnect to guacamole + enter RDP session again.
>
> So, the session seems to freeze when the print job does not get "closed".
> Maybe ghostscript is the culprit.
> In fact I see too many processes on the server:
>
> # ps -ae | grep -c gs
> 245
>
> A ps aux shows processes running with these parameters:
>
> gs -q -dNOPAUSE -dBATCH -dSAFER -dPARANOIDSAFER -sDEVICE=pdfwrite -sOutputFile=- -sstdout=/dev/null -f -
>
> # gs --version
> 9.55.0
>
> What can I try?
>
> Vieri
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>
>