Score:7

How to paste a password in Remmina when connecting to a remote xrdp server

cn flag
s.k

I'm stuck when it comes to paste my password when connecting to a remote machine with RDP (xrdp server) using Remmina:

enter image description here

I'm not able to paste my password in the field.

What I've tried (none of these is working):

  • Ctrl+V
  • Ctrl+Shift+V
  • Mouse right click (no contextual menu is showing)
  • Mouse middle click

Manually typing it is not an option as it's a very long random string.

Version:

$ remmina -v
remmina-Message: 20:40:40.645: Remmina does not log all output statements. Turn on more verbose output by using "G_MESSAGES_DEBUG=all" as an environment variable.
More info available on the Remmina wiki at:
https://gitlab.com/Remmina/Remmina/-/wikis/Usage/Remmina-debugging
Load modules from /usr/lib/x86_64-linux-gnu/remmina/plugins
Remmina plugin glibsecret (type=Secret) has been registered, but is not yet initialized/activated. The initialization order is 2000.
The glibsecret secret plugin has been initialized and it will be your default secret plugin
org.remmina.Remmina - 1.4.25 (git n/a)

OS: Ubuntu 22.04.1 LTS x86_64
Kernel: 5.15.0-47-generic

Note:
Remmina is apparently expecting a 'qwerty' keyboard layout by default on my system (see also: https://github.com/neutrinolabs/xrdp/issues/) and my keyboard is a 'qwertz'. -> Going to: Remmina / Preferences / RDP / and ticking [x] "Use client keyboard mapping" to use your own keyboard layout.

Score:9
id flag

Click on the wrench icon or Tools on the left, then select Keystrokes. Then select Send clipboard content as keystrokes

enter image description here

EDIT: Thanks to @s.k there is an issue where Remmina doesn't detect by default the keyboard layout on the remote system. It is a simple fix.

From Remmina home click on the menu on the right and select Preferences:

enter image description here

Next select RDP on the left hand side:

enter image description here

Then select Use Client Keyboard Mapping:

enter image description here

s.k avatar
cn flag
s.k
Thanks, it seems to paste a lot of '*' so I guess this is working, but the server fails establishing the connection with `pam_authenticate failed: Authentication failure / Username or password error for user: username` in `/var/log/xrdp-sesman.log`. I'm wondering; is their any length or character set limitation in Remmina?
Terrance avatar
id flag
@s.k If you have special characters in your password is may do that. Sometimes you should be putting single quotes `' '` around your passwords so they are literal.
s.k avatar
cn flag
s.k
I've figured it out by pasting the password into the username field: it's a keyboard layout missmatch issue: https://github.com/neutrinolabs/xrdp/issues/2279#issuecomment-1135691068 Remmina is apparently expecting a 'qwerty' keyboard layout by default on my system and my keyboard is a 'qwertz'. -> Going to: Remmina / Preferences / RDP / and ticking [x] "Use client keyboard mapping" solved this.
Terrance avatar
id flag
@s.k Good find! Glad you solved it! :)
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.