[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#954203: Client splash and exit after login in



Hello,
this seems to be caused by xrdp using glyph cache even
when the client does not advertise it.
Additionally freerdp does now stricter checks.

Upstream bugs are here [1].

A workaround could be to use xfreerdp like this:

    xfreerdp +glyph-cache /relax-order-checks /v:hostname

Kind regards,
Bernhard


[1]
https://github.com/neutrinolabs/xrdp/issues/1266

https://gitlab.com/Remmina/Remmina/issues/1770

https://github.com/FreeRDP/FreeRDP/issues/5072
https://github.com/FreeRDP/FreeRDP/issues/5207
# Unstable amd64 qemu VM 2020-03-21

apt update
apt dist-upgrade

apt install systemd-coredump xserver-xorg sddm openbox xrdp remmina freerdp2-x11


reboot


adduser test


$ dpkg -l | grep -E "remmina|rdp"
ii  libfreerdp-client2-2:amd64           2.0.0~git20190204.1.2693389a+dfsg1-2 amd64        Free Remote Desktop Protocol library (client library)
ii  libfreerdp2-2:amd64                  2.0.0~git20190204.1.2693389a+dfsg1-2 amd64        Free Remote Desktop Protocol library (core library)
ii  remmina                              1.4.1+dfsg-1                         amd64        GTK+ Remote Desktop Client
ii  remmina-common                       1.4.1+dfsg-1                         all          Common files for Remmina
ii  remmina-plugin-rdp:amd64             1.4.1+dfsg-1                         amd64        RDP plugin for Remmina
ii  remmina-plugin-secret:amd64          1.4.1+dfsg-1                         amd64        Secret plugin for Remmina
ii  remmina-plugin-vnc:amd64             1.4.1+dfsg-1                         amd64        VNC plugin for Remmina
ii  xorgxrdp                             1:0.2.12-1                           amd64        Remote Desktop Protocol (RDP) modules for X.org
ii  xrdp                                 0.9.12-1                             amd64        Remote Desktop Protocol (RDP) server








export DISPLAY=:0








$ remmina
Remmina plugin glibsecret (type=Secret) has registered but not yet initialized/activated. Initialization order is 2000.

** (process:730): CRITICAL **: 11:38:54.435: secret_service_load_collections_sync: assertion 'paths != NULL' failed
[glibsecret] unable to get secret service: Unknown error.
StatusNotifier/Appindicator support: not supported by desktop. libappindicator will try to fallback to GtkStatusIcon/xembed
Warning: Remmina is running without a secret plugin. Passwords will be saved in a less secure way.

(org.remmina.Remmina:730): Gtk-WARNING **: 11:38:54.612: gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem
  
  
  
  
[11:39:15:452] [730:764] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[11:39:15:452] [730:764] [INFO][com.freerdp.client.common.cmdline] - loading channelEx drdynvc
[11:39:15:499] [730:764] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[11:39:15:499] [730:764] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_BGRA32
[11:39:15:499] [730:764] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx
[11:39:15:499] [730:764] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[11:39:15:526] [730:764] [ERROR][com.freerdp.core.update] - [0x03] Cache Glyph - SERVER BUG: The support for this feature was not announced! Use /relax-order-checks to ignore
[11:39:15:526] [730:764] [ERROR][com.freerdp.core.update] - order flags 03 failed
[11:39:15:526] [730:764] [ERROR][com.freerdp.core.fastpath] - Fastpath update Orders [0] failed, status 0
[11:39:15:526] [730:764] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update_data: fastpath_recv_update() - -1
[11:39:15:526] [730:764] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update_data() fail
[11:39:15:526] [730:764] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -3
[11:39:15:526] [730:764] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[11:39:15:066] [730:764] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx
[11:39:15:066] [730:764] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[11:39:15:083] [730:764] [ERROR][com.freerdp.core.update] - [0x03] Cache Glyph - SERVER BUG: The support for this feature was not announced! Use /relax-order-checks to ignore
...

-> trying to connect over and over again








$ xfreerdp /v:localhost
[11:51:47:908] [715:716] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[11:51:47:909] [715:716] [INFO][com.freerdp.client.x11] - No user name set. - Using login name: benutzer
[11:51:47:950] [715:716] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[11:51:47:950] [715:716] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
[11:51:47:986] [715:716] [INFO][com.winpr.clipboard] - initialized POSIX local file subsystem
[11:51:47:991] [715:716] [ERROR][com.freerdp.core.update] - [0x03] Cache Glyph - SERVER BUG: The support for this feature was not announced! Use /relax-order-checks to ignore
[11:51:47:991] [715:716] [ERROR][com.freerdp.core.update] - order flags 03 failed
[11:51:47:991] [715:716] [ERROR][com.freerdp.core.fastpath] - Fastpath update Orders [0] failed, status 0
[11:51:47:991] [715:716] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update() - -1
[11:51:47:991] [715:716] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update_data() fail
[11:51:47:991] [715:716] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -3
[11:51:47:991] [715:716] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[11:51:47:991] [715:716] [INFO][com.freerdp.client.common] - Network disconnect!
[11:51:47:991] [715:716] [ERROR][com.freerdp.client.x11] - Failed to check FreeRDP file descriptor

-> immediately closing







$ xfreerdp +glyph-cache /relax-order-checks /v:localhost
[11:51:52:545] [731:732] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[11:51:52:545] [731:732] [INFO][com.freerdp.client.x11] - No user name set. - Using login name: benutzer
[11:51:52:583] [731:732] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[11:51:52:583] [731:732] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
[11:51:52:620] [731:732] [INFO][com.winpr.clipboard] - initialized POSIX local file subsystem
[11:53:49:455] [731:732] [INFO][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off their session on the server.

-> showing login screen -> working








https://gitlab.com/Remmina/Remmina/issues/1770

https://github.com/FreeRDP/FreeRDP/issues/5072
https://github.com/FreeRDP/FreeRDP/issues/5207

https://github.com/neutrinolabs/xrdp/issues/1266

Reply to: