You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by JendaBenda <wr...@post.cz> on 2019/06/19 18:05:03 UTC

Printer doesn't show up - no errors in log

Dears, 

I'd like to thank you for great piece of software! If there is a way how to 
donate, please let me know, I will. 
I was able to implement Guacamole with TOTP-OTP authentication and using 
websocket with NGINX proxy, let's encrypt certificates to access MS Windows 
remote desktops. Amazing. 

The only issue I have is I'm not able to get printing working. Sound device 
is available in target computer. Tried many different settings, but no luck. 
Printer won't show up in target computer. 

Set up is recent Debian 9, fully updated, tomcat8, Guacamole 1.0.0, NGiNX 
for proxing, mysql, TOTP, ghostscript. 

I tried: 
1. linking freerdp libraries to distro directories 
2. tested target machine windows 7 and windows server 2016 
3. accessing guacamole directly on port 8080 (bypassing nginx proxy) 
4. chrome, IE, Firefox, Safari 
5. checked catalina.out and syslog log files 
6. enabling/disabling audio related settings in guacamole web configuration 
7. setting custom name for redirected printer 

I can't see any detailed information about connecting/redirecting printer in 
the logs. No error, no "failed" messages, etc... The only relevant message 
is that no custom name for printer was set. 

A. Is there any special package needed? 
B. Is there a way how to enable more detailed log to see whats happening 
when printer is being redirected/registered? 
C. Are there any special versions of dependencies needed? Are they available 
for debian 9? 
D. Any idea how to debug this issue please? 
E. Any other advice please? 

I will be glad for any advice. Please let me know. 

Thanks a lot 
Kind regards 
J.



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

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


Re: Printer doesn't show up - no errors in log

Posted by Nick Couchman <vn...@apache.org>.
On Mon, Jun 24, 2019 at 3:15 PM JendaBenda <wr...@post.cz> wrote:

> Hello, thanks! does this help please?
>
> two different connections (one from chrome, one from safari, one to Win10
> ,one to server 2019)
>

Hmmm....nothing obvious jumps out at me in these logs.  Have you checked
the various Windows event logs to see if it's logging anything related to
the attempted printer redirection?  Sorry, kind of grasping at straws, as
the saying goes, but I'm stumped as to why this isn't working as expected.

-Nick

Re: Printer doesn't show up - no errors in log

Posted by JendaBenda <wr...@post.cz>.
Hello, thanks! does this help please?

two different connections (one from chrome, one from safari, one to Win10
,one to server 2019)

root@server:~/# /usr/local/sbin/guacd -f -L debug
guacd[22182]: INFO:     Guacamole proxy daemon (guacd) version 1.0.0 started
guacd[22182]: DEBUG:    Unable to bind socket to host ::1, port 4822:
Address family not supported by protocol
guacd[22182]: DEBUG:    Successfully bound socket to host 127.0.0.1, port
4822
guacd[22182]: INFO:     Listening on host 127.0.0.1, port 4822
guacd[22182]: INFO:     Creating new client for protocol "rdp"
guacd[22182]: INFO:     Connection ID is
"$84988f9a-2a79-440b-846e-42c991938256"
guacd[22187]: DEBUG:    Parameter "console" omitted. Using default value of
0.
guacd[22187]: DEBUG:    Parameter "console-audio" omitted. Using default
value of 0.
guacd[22187]: DEBUG:    Parameter "disable-auth" omitted. Using default
value of 0.
guacd[22187]: INFO:     Security mode: TLS
guacd[22187]: DEBUG:    User resolution is 3952x2174 at 192 DPI
guacd[22187]: DEBUG:    Parameter "dpi" omitted. Using default value of 96.
guacd[22187]: DEBUG:    Using resolution of 1976x1087 at 96 DPI
guacd[22187]: DEBUG:    Parameter "read-only" omitted. Using default value
of 0.
guacd[22187]: DEBUG:    Parameter "client-name" omitted. Using default value
of "Guacamole RDP".
guacd[22187]: DEBUG:    Parameter "enable-wallpaper" omitted. Using default
value of 0.
guacd[22187]: DEBUG:    Parameter "enable-theming" omitted. Using default
value of 0.
guacd[22187]: DEBUG:    Parameter "enable-full-window-drag" omitted. Using
default value of 0.
guacd[22187]: DEBUG:    Parameter "enable-desktop-composition" omitted.
Using default value of 0.
guacd[22187]: DEBUG:    Parameter "enable-menu-animations" omitted. Using
default value of 0.
guacd[22187]: DEBUG:    Parameter "disable-bitmap-caching" omitted. Using
default value of 0.
guacd[22187]: DEBUG:    Parameter "disable-offscreen-caching" omitted. Using
default value of 0.
guacd[22187]: DEBUG:    Parameter "disable-glyph-caching" omitted. Using
default value of 0.
guacd[22187]: DEBUG:    Parameter "color-depth" omitted. Using default value
of 16.
guacd[22187]: DEBUG:    Parameter "disable-audio" omitted. Using default
value of 0.
guacd[22187]: DEBUG:    Parameter "printer-name" omitted. Using default
value of "Guacamole Printer".
guacd[22187]: DEBUG:    Parameter "enable-drive" omitted. Using default
value of 0.
guacd[22187]: DEBUG:    Parameter "drive-name" omitted. Using default value
of "Guacamole Filesystem".
guacd[22187]: DEBUG:    Parameter "drive-path" omitted. Using default value
of "".
guacd[22187]: DEBUG:    Parameter "create-drive-path" omitted. Using default
value of 0.
guacd[22187]: DEBUG:    Parameter "enable-sftp" omitted. Using default value
of 0.
guacd[22187]: DEBUG:    Parameter "sftp-hostname" omitted. Using default
value of "XXX.XXX.27.230".
guacd[22187]: DEBUG:    Parameter "sftp-port" omitted. Using default value
of "22".
guacd[22187]: DEBUG:    Parameter "sftp-username" omitted. Using default
value of "".
guacd[22187]: DEBUG:    Parameter "sftp-password" omitted. Using default
value of "".
guacd[22187]: DEBUG:    Parameter "sftp-passphrase" omitted. Using default
value of "".
guacd[22187]: DEBUG:    Parameter "sftp-root-directory" omitted. Using
default value of "/".
guacd[22187]: DEBUG:    Parameter "sftp-server-alive-interval" omitted.
Using default value of 0.
guacd[22187]: DEBUG:    Parameter "recording-name" omitted. Using default
value of "recording".
guacd[22187]: DEBUG:    Parameter "recording-exclude-output" omitted. Using
default value of 0.
guacd[22187]: DEBUG:    Parameter "recording-exclude-mouse" omitted. Using
default value of 0.
guacd[22187]: DEBUG:    Parameter "recording-include-keys" omitted. Using
default value of 0.
guacd[22187]: DEBUG:    Parameter "create-recording-path" omitted. Using
default value of 0.
guacd[22187]: INFO:     Resize method: none
guacd[22187]: DEBUG:    Parameter "enable-audio-input" omitted. Using
default value of 0.
guacd[22187]: DEBUG:    Parameter "gateway-port" omitted. Using default
value of 443.
guacd[22187]: INFO:     User "@c233405d-7990-493d-bf3b-0413f8015a02" joined
connection "$84988f9a-2a79-440b-846e-42c991938256" (1 users now present)
guacd[22187]: INFO:     Loading keymap "base"
guacd[22187]: INFO:     Loading keymap "en-us-qwerty"
connected to XXX.XXX.27.230:3389
creating directory /root/.config/freerdp
creating directory /root/.config/freerdp/certs
creating directory /root/.config/freerdp/server
certificate_store_open: error opening [/root/.config/freerdp/known_hosts]
for writing
guacd[22187]: INFO:     guacsnd connected.
guacd[22187]: INFO:     guacdr connected.
guacd[22187]: INFO:     Connected to RDPDR 1.13 as client 0x0022
guacd[22187]: INFO:     Ignoring server capability set type=0x0001,
length=44
guacd[22187]: INFO:     Ignoring server capability set type=0x0002, length=8
guacd[22187]: INFO:     Ignoring server capability set type=0x0003, length=8
guacd[22187]: INFO:     Ignoring server capability set type=0x0004, length=8
guacd[22187]: INFO:     Ignoring server capability set type=0x0005, length=8
guacd[22187]: INFO:     Sending capabilities...
guacd[22187]: INFO:     Capabilities sent.
guacd[22187]: INFO:     Client ID confirmed
guacd[22187]: INFO:     Connected to RDPDR 1.13 as client 0x0021
guacd[22187]: INFO:     Ignoring server capability set type=0x0001,
length=44
guacd[22187]: INFO:     Ignoring server capability set type=0x0002, length=8
guacd[22187]: INFO:     Ignoring server capability set type=0x0003, length=8
guacd[22187]: INFO:     Ignoring server capability set type=0x0004, length=8
guacd[22187]: INFO:     Ignoring server capability set type=0x0005, length=8
guacd[22187]: INFO:     Sending capabilities...
guacd[22187]: INFO:     Capabilities sent.
guacd[22187]: INFO:     Client ID confirmed
guacd[22187]: INFO:     User logged on
guacd[22187]: INFO:     All supported devices sent.
guacd[22187]: DEBUG:    Sending keysym 0xffe7 as Unicode
guacd[22187]: DEBUG:    Unmapped keysym has no equivalent unicode value:
0xffe7
guacd[22182]: INFO:     Creating new client for protocol "rdp"
guacd[22182]: INFO:     Connection ID is
"$bf479a79-b9bc-44a2-926a-926756ac0557"
guacd[22203]: DEBUG:    Parameter "console" omitted. Using default value of
0.
guacd[22203]: DEBUG:    Parameter "console-audio" omitted. Using default
value of 0.
guacd[22203]: DEBUG:    Parameter "disable-auth" omitted. Using default
value of 0.
guacd[22203]: INFO:     Security mode: TLS
guacd[22203]: DEBUG:    User resolution is 3056x1816 at 192 DPI
guacd[22203]: DEBUG:    Parameter "dpi" omitted. Using default value of 96.
guacd[22203]: DEBUG:    Using resolution of 1528x908 at 96 DPI
guacd[22203]: DEBUG:    Parameter "read-only" omitted. Using default value
of 0.
guacd[22203]: DEBUG:    Parameter "client-name" omitted. Using default value
of "Guacamole RDP".
guacd[22203]: DEBUG:    Parameter "enable-wallpaper" omitted. Using default
value of 0.
guacd[22203]: DEBUG:    Parameter "enable-theming" omitted. Using default
value of 0.
guacd[22203]: DEBUG:    Parameter "enable-full-window-drag" omitted. Using
default value of 0.
guacd[22203]: DEBUG:    Parameter "enable-desktop-composition" omitted.
Using default value of 0.
guacd[22203]: DEBUG:    Parameter "enable-menu-animations" omitted. Using
default value of 0.
guacd[22203]: DEBUG:    Parameter "disable-bitmap-caching" omitted. Using
default value of 0.
guacd[22203]: DEBUG:    Parameter "disable-offscreen-caching" omitted. Using
default value of 0.
guacd[22203]: DEBUG:    Parameter "disable-glyph-caching" omitted. Using
default value of 0.
guacd[22203]: DEBUG:    Parameter "color-depth" omitted. Using default value
of 16.
guacd[22203]: DEBUG:    Parameter "disable-audio" omitted. Using default
value of 0.
guacd[22203]: DEBUG:    Parameter "printer-name" omitted. Using default
value of "Guacamole Printer".
guacd[22203]: DEBUG:    Parameter "enable-drive" omitted. Using default
value of 0.
guacd[22203]: DEBUG:    Parameter "drive-name" omitted. Using default value
of "Guacamole Filesystem".
guacd[22203]: DEBUG:    Parameter "drive-path" omitted. Using default value
of "".
guacd[22203]: DEBUG:    Parameter "create-drive-path" omitted. Using default
value of 0.
guacd[22203]: DEBUG:    Parameter "enable-sftp" omitted. Using default value
of 0.
guacd[22203]: DEBUG:    Parameter "sftp-hostname" omitted. Using default
value of "XXX.XXX.30.200".
guacd[22203]: DEBUG:    Parameter "sftp-port" omitted. Using default value
of "22".
guacd[22203]: DEBUG:    Parameter "sftp-username" omitted. Using default
value of "".
guacd[22203]: DEBUG:    Parameter "sftp-password" omitted. Using default
value of "".
guacd[22203]: DEBUG:    Parameter "sftp-passphrase" omitted. Using default
value of "".
guacd[22203]: DEBUG:    Parameter "sftp-root-directory" omitted. Using
default value of "/".
guacd[22203]: DEBUG:    Parameter "sftp-server-alive-interval" omitted.
Using default value of 0.
guacd[22203]: DEBUG:    Parameter "recording-name" omitted. Using default
value of "recording".
guacd[22203]: DEBUG:    Parameter "recording-exclude-output" omitted. Using
default value of 0.
guacd[22203]: DEBUG:    Parameter "recording-exclude-mouse" omitted. Using
default value of 0.
guacd[22203]: DEBUG:    Parameter "recording-include-keys" omitted. Using
default value of 0.
guacd[22203]: DEBUG:    Parameter "create-recording-path" omitted. Using
default value of 0.
guacd[22203]: INFO:     Resize method: none
guacd[22203]: DEBUG:    Parameter "enable-audio-input" omitted. Using
default value of 0.
guacd[22203]: DEBUG:    Parameter "gateway-port" omitted. Using default
value of 443.
guacd[22203]: INFO:     User "@9147ceed-24a0-4efc-aeda-e8328e9ba77e" joined
connection "$bf479a79-b9bc-44a2-926a-926756ac0557" (1 users now present)
guacd[22203]: INFO:     Loading keymap "base"
guacd[22203]: INFO:     Loading keymap "en-us-qwerty"
connected to XXX.XXX.30.200:3389
creating directory /root/.config/freerdp
creating directory /root/.config/freerdp/certs
creating directory /root/.config/freerdp/server
certificate_store_open: error opening [/root/.config/freerdp/known_hosts]
for writing
guacd[22203]: INFO:     guacsnd connected.
guacd[22203]: INFO:     guacdr connected.
guacd[22203]: INFO:     Connected to RDPDR 1.13 as client 0x0003
guacd[22203]: INFO:     Ignoring server capability set type=0x0001,
length=44
guacd[22203]: INFO:     Ignoring server capability set type=0x0002, length=8
guacd[22203]: INFO:     Ignoring server capability set type=0x0003, length=8
guacd[22203]: INFO:     Ignoring server capability set type=0x0004, length=8
guacd[22203]: INFO:     Ignoring server capability set type=0x0005, length=8
guacd[22203]: INFO:     Sending capabilities...
guacd[22203]: INFO:     Capabilities sent.
guacd[22203]: INFO:     Client ID confirmed
guacd[22203]: INFO:     Connected to RDPDR 1.13 as client 0x0002
guacd[22203]: INFO:     Ignoring server capability set type=0x0001,
length=44
guacd[22203]: INFO:     Ignoring server capability set type=0x0002, length=8
guacd[22203]: INFO:     Ignoring server capability set type=0x0003, length=8
guacd[22203]: INFO:     Ignoring server capability set type=0x0004, length=8
guacd[22203]: INFO:     Ignoring server capability set type=0x0005, length=8
guacd[22203]: INFO:     Sending capabilities...
guacd[22203]: INFO:     Capabilities sent.
guacd[22203]: INFO:     Client ID confirmed
guacd[22203]: INFO:     User logged on
guacd[22203]: INFO:     All supported devices sent.
guacd[22203]: DEBUG:    Sending keysym 0xffe7 as Unicode
guacd[22203]: DEBUG:    Unmapped keysym has no equivalent unicode value:
0xffe7
guacd[22187]: DEBUG:    Sending keysym 0xffe7 as Unicode
guacd[22187]: DEBUG:    Unmapped keysym has no equivalent unicode value:
0xffe7




--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

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


Re: Printer doesn't show up - no errors in log

Posted by Nick Couchman <vn...@apache.org>.
On Sat, Jun 22, 2019 at 5:41 PM JendaBenda <wr...@post.cz> wrote:

> Hello,
>
> thanks for reply...yes, sure I have. I wrote it in my first post - nothing
> related to printing, no errors, etc... Please see below..
>

Can you start guacd in debug mode (add "-L debug" to the guacd command
line) and see what messages are printed?

-Nick

Re: Printer doesn't show up - no errors in log

Posted by JendaBenda <wr...@post.cz>.
Hello,

thanks for reply...yes, sure I have. I wrote it in my first post - nothing
related to printing, no errors, etc... Please see below..

thank you so much
J.

this is syslog:
tail -f /var/log/syslog |grep guacd
Jun 22 23:38:05 server guacd[26882]: Creating new client for protocol "rdp"
Jun 22 23:38:05 server guacd[26882]: Connection ID is
"$dcf966d9-4c4a-42e9-b8c4-7831b76c127d"
Jun 22 23:38:05 server guacd[27452]: Security mode: TLS
Jun 22 23:38:05 server guacd[27452]: Resize method: none
Jun 22 23:38:05 server guacd[27452]: User
"@31f6f44e-335f-45dd-a86b-e82ac744c3cf" joined connection
"$dcf966d9-2c4a-42e9-b2c4-7831b36c127d" (1 users now present)
Jun 22 23:38:05 server guacd[27452]: Loading keymap "base"
Jun 22 23:38:05 server guacd[27452]: Loading keymap "en-us-qwerty"
Jun 22 23:38:06 server guacd[27452]: guacsnd connected.
Jun 22 23:38:06 server guacd[27452]: guacdr connected.
Jun 22 23:38:06 server guacd[27452]: Connected to RDPDR 1.13 as client
0x0021
Jun 22 23:38:06 server guacd[27452]: Ignoring server capability set
type=0x0001, length=44
Jun 22 23:38:06 server guacd[27452]: Ignoring server capability set
type=0x0002, length=8
Jun 22 23:38:06 server guacd[27452]: Ignoring server capability set
type=0x0003, length=8
Jun 22 23:38:06 server guacd[27452]: Ignoring server capability set
type=0x0004, length=8
Jun 22 23:38:06 server guacd[27452]: Ignoring server capability set
type=0x0005, length=8
Jun 22 23:38:06 server guacd[27452]: Sending capabilities...
Jun 22 23:38:06 server guacd[27452]: Capabilities sent.
Jun 22 23:38:06 server guacd[27452]: Client ID confirmed



This is catalina.out:

23:37:36.762 [http-nio-8080-exec-4] INFO  o.a.g.r.auth.AuthenticationService
- User "USER" successfully authenticated from [IPADDRESSCENSORED,
127.0.0.1].
23:37:48.380 [http-nio-8080-exec-6] INFO  o.a.g.r.auth.AuthenticationService
- User "USER" successfully authenticated from [IPADDRESSCENSORED,
127.0.0.1].
23:38:05.983 [http-nio-8080-exec-7] INFO  o.a.g.tunnel.TunnelRequestService
- User "USER" connected to connection "1".




--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

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


Re: Printer doesn't show up - no errors in log

Posted by sciUser <sh...@securitycentric.net>.
Hello

Have you tailed the Tomcat catalina logs while making a connections and
attempting to print?

Thank you





-----
A Cybersecurity Enablement Company 
We don't just run you through the motions, Our labs teach you how to think! 
Known good Guacamole  installations

--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

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


Re: Printer doesn't show up - no errors in log

Posted by jenda benda <wr...@post.cz>.
Hello Mike,



thanks a lot for your reply. GPO/policy settings should be ok on both 
windows machines I used for testing as the printer redirection works when I 
test it via direct mstsc.exe/RDP connection without using guacamole.




Any other idea please or advice how to see more details in the logs?




Thanks so much

J.


---------- Původní e-mail ----------
Od: Mike Jumper <mj...@apache.org>
Komu: user@guacamole.apache.org
Datum: 19. 6. 2019 20:23:10
Předmět: Re: Printer doesn't show up - no errors in log 
"



On Wed, Jun 19, 2019, 11:05 JendaBenda <writeme@post.cz
(mailto:writeme@post.cz)> wrote:

"Dears, 

I'd like to thank you for great piece of software! If there is a way how to 
donate, please let me know, I will. 
I was able to implement Guacamole with TOTP-OTP authentication and using 
websocket with NGINX proxy, let's encrypt certificates to access MS Windows 
remote desktops. Amazing. 

The only issue I have is I'm not able to get printing working. Sound device 
is available in target computer. Tried many different settings, but no luck.

Printer won't show up in target computer. 
"





Check your GPOs on the Windows machine. Printer redirection might be 
disallowed.




- Mike




"

Re: Printer doesn't show up - no errors in log

Posted by Mike Jumper <mj...@apache.org>.
On Wed, Jun 19, 2019, 11:05 JendaBenda <wr...@post.cz> wrote:

> Dears,
>
> I'd like to thank you for great piece of software! If there is a way how
> to
> donate, please let me know, I will.
> I was able to implement Guacamole with TOTP-OTP authentication and using
> websocket with NGINX proxy, let's encrypt certificates to access MS
> Windows
> remote desktops. Amazing.
>
> The only issue I have is I'm not able to get printing working. Sound
> device
> is available in target computer. Tried many different settings, but no
> luck.
> Printer won't show up in target computer.
>

Check your GPOs on the Windows machine. Printer redirection might be
disallowed.

- Mike