Settings application, share, RDP, Pass trough USB and Sound

Hi everyone, I am new on this forum

I search to share the sound and the USB with the RDP protocol between a computer and a virtual machine.
I want to use the Gnome Settings application but is doesn’t work.
Maybe we need a new feature and add this option.


I. Setup :hammer_and_wrench: :

My pc has Debian 12 with Gnome 42 and the same on my VM. I use xfreerdp for established the connection and its work for screen share.

1. Physical machine

critical@critical-debian-fix:~$ neofetch
       _,met$$$$$gg.          critical@critical-debian-fix 
    ,g$$$$$$$$$$$$$$$P.       ------------------------ 
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 12 (bookworm) x86_64 
 ,$$P'              `$$$.     Kernel: 6.1.0-9-amd64 
',$$P       ,ggs.     `$$b:   Uptime: 1 day, 3 hours, 23 mins 
`d$$'     ,$P"'   .    $$$    Packages: 3589 (dpkg) 
 $$P      d$'     ,    $$P    Shell: bash 5.2.15 
 $$:      $$.   -    ,d$$'    Resolution: 1920x1080, 1920x1080 
 $$;      Y$b._   _,d$P'      DE: GNOME 43.4 
 Y$$.    `.`"Y$$$$P"'         WM: Mutter 
 `$$b      "-.__              WM Theme: Adwaita 
  `Y$$                        Theme: Adwaita-dark [GTK2/3] 
   `Y$$.                      Icons: Adwaita [GTK2/3] 
     `$$b.                    Terminal: gnome-terminal 
       `Y$$b.                 CPU: Intel i7-7700K (8) @ 4.700GHz 
          `"Y$b._             GPU: NVIDIA GeForce GTX 1060 6GB 
              `"""            Memory: 10145MiB / 15925MiB 
Critical@Critical-debian-fix:~$ loginctl show-session 2 -p Type    
Type=x11

2. Virtual Machine

user@RDP:~$ loginctl show-session 2 -p Type    
Type=wayland



II. XfreeRDP

I use XfreeRDP for connection. This application should work with Wayland starting from version 2.3, which can be found at Releases · FreeRDP/FreeRDP · GitHub. It should also support sound and USB sharing.

Critical@Critical-debian-fix:~$ apt show freerdp2-x11
Package: freerdp2-x11
Version: 2.10.0+dfsg1-1
Priority: optional
Section: x11
Source: freerdp2
Maintainer: Debian Remote Maintainers <debian-remote@lists.debian.org>
Installed-Size: 839 kB

1. Sound / audio

I use the alsa framework and it is installed on my physical computer :

Critical@Critical-debian-fix:~$ apt show alsa-utils
Package: alsa-utils
Version: 1.2.8-1
Priority: optional
Section: sound
Maintainer: Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>

So, when i established the connection, the screen is ok but no audio.

Critical@Critical-debian-fix:~$ sudo xfreerdp /v:192.168.1.243 /u:user /p:aaaa /sound:sys:alsa
[11:32:48:412] [63079:63080] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[11:32:48:412] [63079:63080] [WARN][com.freerdp.crypto] - CN = GNOME, C = US
[11:32:49:717] [63079:63080] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[11:32:49:717] [63079:63080] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_BGRA32
[11:32:49:738] [63079:63080] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded alsa backend for rdpsnd
[11:32:49:738] [63079:63080] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpsnd
[11:32:49:738] [63079:63080] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx
[11:32:49:740] [63079:63101] [INFO][com.freerdp.channels.rdpsnd.client] - [dynamic] Loaded alsa backend for rdpsnd
[11:32:49:748] [63079:63100] [ERROR][com.freerdp.channels.rdpsnd.client] - snd_mixer_attach failed
[11:32:49:860] [63079:63100] [ERROR][com.freerdp.channels.rdpsnd.client] - snd_pcm_open failed
[11:33:03:971] [63079:63080] [INFO][com.freerdp.core] - ERRINFO_RPC_INITIATED_DISCONNECT (0x00000001):The disconnection was initiated by an administrative tool on the server in another session.
[11:33:03:971] [63079:63080] [ERROR][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_RPC_INITIATED_DISCONNECT [0x00010001]
[11:33:03:971] [63079:63080] [INFO][com.freerdp.core] - ERRINFO_RPC_INITIATED_DISCONNECT (0x00000001):The disconnection was initiated by an administrative tool on the server in another session.
[11:33:03:971] [63079:63080] [ERROR][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_RPC_INITIATED_DISCONNECT [0x00010001]
[11:33:03:971] [63079:63080] [ERROR][com.freerdp.core] - rdp_set_error_info: TODO: Trying to set error code ERRINFO_RPC_INITIATED_DISCONNECT, but ERRINFO_RPC_INITIATED_DISCONNECT already set!
[11:33:03:971] [63079:63080] [ERROR][com.freerdp.core.rdp] - rdp_recv_tpkt_pdu: rdp_recv_deactivate_all() fail
[11:33:03:971] [63079:63080] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
[11:33:03:971] [63079:63080] [INFO][com.freerdp.client.x11] - Error info says user did not initiate but disconnect ultimatum says they did; treat this as a user logoff

2. USB sharing

Same for USB sharing, the screen share is ok but no usb in files

Critical@Critical-debian-fix:~$ sudo xfreerdp /v:192.168.1.243 /u:user /p:aaaa /usb:auto
[11:35:02:975] [63142:63143] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[11:35:02:975] [63142:63143] [WARN][com.freerdp.crypto] - CN = GNOME, C = US
[11:35:04:279] [63142:63143] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[11:35:04:279] [63142:63143] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_BGRA32
[11:35:04:300] [63142:63143] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[11:35:04:300] [63142:63143] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel urbdrc
[11:35:04:306] [63142:63143] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx
[11:35:22:443] [63142:63143] [INFO][com.freerdp.core] - ERRINFO_RPC_INITIATED_DISCONNECT (0x00000001):The disconnection was initiated by an administrative tool on the server in another session.
[11:35:22:443] [63142:63143] [ERROR][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_RPC_INITIATED_DISCONNECT [0x00010001]
[11:35:22:443] [63142:63143] [INFO][com.freerdp.core] - ERRINFO_RPC_INITIATED_DISCONNECT (0x00000001):The disconnection was initiated by an administrative tool on the server in another session.
[11:35:22:443] [63142:63143] [ERROR][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_RPC_INITIATED_DISCONNECT [0x00010001]
[11:35:22:443] [63142:63143] [ERROR][com.freerdp.core] - rdp_set_error_info: TODO: Trying to set error code ERRINFO_RPC_INITIATED_DISCONNECT, but ERRINFO_RPC_INITIATED_DISCONNECT already set!
[11:35:22:443] [63142:63143] [ERROR][com.freerdp.core.rdp] - rdp_recv_tpkt_pdu: rdp_recv_deactivate_all() fail
[11:35:22:443] [63142:63143] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
[11:35:22:444] [63142:63143] [INFO][com.freerdp.client.x11] - Error info says user did not initiate but disconnect ultimatum says they did; treat this as a user logoff


If you need more information send me a message
Thanks for read me and sorry for my English a not native speaker

No solution for help me ? :sob: :sob:

I change the configuration of my physical computer to wayland and i use freerdp2-wayland but same problem.

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.