Hi John,

sorry for the late answer. Your stty output was very useful: the settings on the remote side (-icanon -echo -icrnl, lnext and discard undefined, min 1, time 0) are exactly the ones bash's readline puts on a terminal while it waits at the prompt.

Since libssh 0.11 (bookworm has 0.10), when Remmina opens the remote terminal libssh copies the terminal modes of Remmina's standard input, if it's a terminal; otherwise it sends sane defaults. So when Remmina is started from a shell in a terminal with "remmina &", the remote session gets the modes the shell has at that moment, without echo.

I reproduced it in a trixie VM (Remmina 1.4.39, libssh 0.11.5) and in an unstable one, both with Remmina 1.4.43 and with the upcoming 1.4.44 (libssh 0.12.2): started with "remmina &" from gnome-terminal, the remote stty output is the same as yours; started from the desktop, or from the terminal with "remmina </dev/null &", echo works.

Could you confirm that you start Remmina from a terminal? If so, either of those two ways avoids the problem. I've reported it upstream [1]: Remmina should set the terminal modes itself instead of inheriting them.

[1] https://gitlab.com/Remmina/Remmina/-/work_items/3648

Fabio

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to