其他分享
首页 > 其他分享> > Guacamole-RDP没有声音解决办法

Guacamole-RDP没有声音解决办法

作者:互联网

Guacamole安装后,远程桌面没有声音。
查看服务端的信息
[root@]# /usr/sbin/guacd -f
guacd[18206]: INFO: Guacamole proxy daemon (guacd) version 1.3.0 started
guacd[18206]: INFO: Listening on host 127.0.0.1, port 4822
guacd[18206]: INFO: Creating new client for protocol “rdp”
guacd[18206]: INFO: Connection ID is “$8e267a43-0919-4028-b99c-ceafb0523b05”
guacd[18317]: INFO: Security mode: Negotiate (ANY)
guacd[18317]: INFO: Resize method: display-update
guacd[18317]: INFO: User “@eb292132-1b96-411c-baec-b1a0903d7ba8” joined connection “$8e267a43-0919-4028-b99c-ceafb0523b05” (1 users now present)
guacd[18317]: INFO: Loading keymap “base”
guacd[18317]: INFO: Loading keymap “en-us-qwerty”
guacd[18317]: WARNING: Cannot create static channel “rdpdr”: failed to load “guac-common-svc” plugin for FreeRDP.
guacd[18317]: WARNING: Support for the RDPDR channel (device redirection) could not be loaded. Drive redirection and printing will not work. Sound MAY not work.
guacd[18317]: WARNING: Cannot create static channel “rdpsnd”: failed to load “guac-common-svc” plugin for FreeRDP.
guacd[18317]: WARNING: Support for the RDPSND channel (audio output) could not be loaded. Sound will not work. Drive redirection and printing MAY not work.
guacd[18317]: ERROR: User is not responding.
guacd[18317]: INFO: User “@eb292132-1b96-411c-baec-b1a0903d7ba8” disconnected (0 users remain)
guacd[18317]: INFO: Last user of connection “$8e267a43-0919-4028-b99c-ceafb0523b05” disconnected
guacd[18317]: INFO: Internal RDP client disconnected
guacd[18206]: INFO: Connection “$8e267a43-0919-4028-b99c-ceafb0523b05” removed.
无法加载guac-common-svc
查看官网的信息:http://guacamole.apache.org/doc/gug/troubleshooting.html

For FreeRDP to be able to find plugins, those plugins must be placed in the freerdp2/ subdirectory of whichever directory contains the libfreerdp2.so library.

解决办法:将guac-common-svc插件放到freerdp2/中
1、guac-common-svc插件在哪里?
官网下载guacamole-server-1.3.0码源,进行编译后,插件在guacamole-server-1.3.0/src/protocols/rdp/.libs中
libguac-common-svc-client.la
libguac-common-svc-client.lai
libguac-common-svc-client.so
2、freerdp2/目录在哪里,在libfreerdp2.so的同级目录下,一般在/usr/lin64/freerdp2/.
重启tomcat,搞定。

正确的log:
[root@]# /usr/sbin/guacd -f
guacd[28966]: INFO: Guacamole proxy daemon (guacd) version 1.3.0 started
guacd[28966]: INFO: Listening on host 127.0.0.1, port 4822
guacd[28966]: INFO: Creating new client for protocol “rdp”
guacd[28966]: INFO: Connection ID is “ c e 4901 a 6 − 9 d 7 f − 45 e 6 − a 825 − 4452829 a d 29 c " g u a c d [ 29079 ] : I N F O : S e c u r i t y m o d e : N e g o t i a t e ( A N Y ) g u a c d [ 29079 ] : I N F O : R e s i z e m e t h o d : d i s p l a y − u p d a t e g u a c d [ 29079 ] : I N F O : U s e r " @ 79 d 87 d 9 a − f b 61 − 472 a − 9719 − b 11245201940 " j o i n e d c o n n e c t i o n " ce4901a6-9d7f-45e6-a825-4452829ad29c" guacd[29079]: INFO: Security mode: Negotiate (ANY) guacd[29079]: INFO: Resize method: display-update guacd[29079]: INFO: User "@79d87d9a-fb61-472a-9719-b11245201940" joined connection " ce4901a6−9d7f−45e6−a825−4452829ad29c"guacd[29079]:INFO:Securitymode:Negotiate(ANY)guacd[29079]:INFO:Resizemethod:display−updateguacd[29079]:INFO:User"@79d87d9a−fb61−472a−9719−b11245201940"joinedconnection"ce4901a6-9d7f-45e6-a825-4452829ad29c” (1 users now present)
guacd[29079]: INFO: Loading keymap “base”
guacd[29079]: INFO: Loading keymap “en-us-qwerty”
guacd[29079]: INFO: Connected to RDPDR 1.13 as client 0x0004
guacd[29079]: INFO: Connected to RDPDR 1.13 as client 0x0002
guacd[29079]: INFO: RDPDR user logged on

如以上不能解决问题,交流探讨邮箱ljsh21@163.com

标签:INFO,解决办法,Guacamole,guacd,18317,svc,common,29079,RDP
来源: https://blog.csdn.net/qq_35795046/article/details/122091678