this post was submitted on 15 Jan 2024
28 points (96.7% liked)

Linux

48031 readers
1112 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hi guys, Remmina won't connect to a windows 10 PC via RDP anymore. It worked until I upgraded to Fedora 39 (I think, maybe its something different though). I cannot see anything in the logs indicating what the error might be. I tried messing with the settings, particularly the TLS and Gateway ransport type settings, but that didn't change anything. It is not timing out eigher, the disconnect is nearly instant.

Logs

(DEBUG) - (rcw_map_event) - Mapping: RemminaConnectionWindow
(DEBUG) - (remmina_protocol_widget_map_event) - Calling plugin mapping function
(DEBUG) - (remmina_protocol_widget_open_connection_real) - Opening connection
(DEBUG) - (remmina_rdp_event_init) - Disable smooth scrolling is set to 1
(DEBUG) - (remmina_protocol_widget_open_connection_real) - Have SSH
(DEBUG) - (remmina_rdp_main) - RDP data path is /home/benni/.var/app/org.remmina.Remmina/data/remmina/RDP
(DEBUG) - (remmina_rdp_main) - Not using system proxy settings
(DEBUG) - (remmina_rdp_tunnel_init) - Tunnel init
(DEBUG) - (remmina_protocol_widget_start_direct_tunnel) - SSH tunnel initialization…
(DEBUG) - (remmina_protocol_widget_start_direct_tunnel) - Calling remmina_public_get_server_port
(DEBUG) - (remmina_protocol_widget_start_direct_tunnel) - Calling remmina_public_get_server_port (tunnel)
(DEBUG) - (remmina_protocol_widget_start_direct_tunnel) - server: 192.168.43.170, port: 3389
(DEBUG) - (remmina_rdp_tunnel_init) - protocol_plugin_start_direct_tunnel() returned [192.168.43.170]:3389
(DEBUG) - (remmina_rdp_tunnel_init) - Tunnel has been optionally initialized. Now connecting to 192.168.43.170:3389
(DEBUG) - (remmina_rdp_main) - gfx_h264_available: 1
(DEBUG) - (remmina_rdp_main) - Resolution set by the user: 588x620
(DEBUG) - (remmina_rdp_main) - Resolution set after workarounds: 644x620
(DEBUG) - (remmina_rdp_main) - proxy_type: (null)
(DEBUG) - (remmina_rdp_main) - proxy_username: (null)
(DEBUG) - (remmina_rdp_main) - proxy_password: (null)
(DEBUG) - (remmina_rdp_main) - proxy_hostname: (null)
(DEBUG) - (remmina_rdp_main) - proxy_port: 80
(DEBUG) - (remmina_rdp_main) - rdp_keyboard_remapping_list: (null)
(DEBUG) - (remmina_rdp_main) - Log level set to to INFO
(DEBUG) - (rco_on_disconnect) - Disconnect signal received on RemminaProtocolWidget
(DEBUG) - (remmina_file_save) - Saving profile
(DEBUG) - (remmina_file_save) - We have a secret and disablepasswordstoring=0
(DEBUG) - (remmina_plugin_glibsecret_store_password) - Password “password” saved for file /home/benni/.var/app/org.remmina.Remmina/data/remmina/group_rdp_ps_192-168-43-170.remmina

(DEBUG) - (remmina_file_save) - We have a secret and disablepasswordstoring=0
(DEBUG) - (remmina_plugin_glibsecret_delete_password) - password “ssh_tunnel_password” deleted for file /home/benni/.var/app/org.remmina.Remmina/data/remmina/group_rdp_ps_192-168-43-170.remmina
(DEBUG) - (remmina_file_save) - We have a secret and disablepasswordstoring=0
(DEBUG) - (remmina_plugin_glibsecret_delete_password) - password “gateway_password” deleted for file /home/benni/.var/app/org.remmina.Remmina/data/remmina/group_rdp_ps_192-168-43-170.remmina
(DEBUG) - (remmina_file_save) - We have a secret and disablepasswordstoring=0
(DEBUG) - (remmina_plugin_glibsecret_delete_password) - password “ssh_tunnel_passphrase” deleted for file /home/benni/.var/app/org.remmina.Remmina/data/remmina/group_rdp_ps_192-168-43-170.remmina
(DEBUG) - (remmina_file_save) - Profile saved
(DEBUG) - (remmina_file_save) - Connection profile states saved
(DEBUG) - (remmina_network_monitor_status) - G_NETWORK_CONNECTIVITY_FULL
(DEBUG) - (rco_on_disconnect) - Could not disconnect

top 19 comments
sorted by: hot top controversial new old
[–] flathead@lemm.ee 5 points 9 months ago (1 children)

had issues with Remmima and Win 10 last week - worked around it by using xfreerdp directly at the command line. this is what I use from a linux command line to set the resolution and sound (audio-mode:1 is same as Remmima local sound, or supposed to be)

xfreerdp /w:1680 /h:1050 /u:<username> /audio-mode:1 /v:<ip address> /sound /microphone

this keeps all audio local on the system, which is what I need.

Remmima was working fine until I messed with the settings to see if I could have both local and remote audio with RDP (you can't) and then I could not get the local audio back no matter what I did - tried deleting profile, reinstalling, etc. Nothing worked until invoking xfreerdp directly. Been flawless since then.

[–] BentiGorlich@gehirneimer.de 1 points 9 months ago (1 children)
[–] flathead@lemm.ee 1 points 9 months ago (1 children)

great - I'd be interested to hear if this works for you.

[–] BentiGorlich@gehirneimer.de 2 points 9 months ago

using xfreerdp directly did work. Now I just have to find out how to get this working with remmina again, so the UX is not that bad...

[–] SheeEttin@programming.dev 4 points 9 months ago (1 children)

What's in the log on the Windows side?

[–] BentiGorlich@gehirneimer.de 3 points 9 months ago (1 children)

Where can I find them? I honestly didn't think of that 😅

[–] SheeEttin@programming.dev 2 points 9 months ago

Event log, probably application and security logs. I think there's a separate RDP log in the event viewer tree too, but I'm not sure if it's used.

[–] BentiGorlich@gehirneimer.de 3 points 9 months ago (1 children)

Solution: the RPM Fedora version did work, the version from Flathub or the Fedora flatpack repo did not work. I guess the flatpack versions don't have the most recent xfreerdp version? I don't really know...

[–] vikingtons@lemmy.world 1 points 9 months ago

Glad you got it sorted. The flatpak version for me suggests it's no longer maintained so I switched to the RPM as well fairly recently

[–] BentiGorlich@gehirneimer.de 2 points 9 months ago

Sorry folks was too busy today, maybe I'll get to it tomorrow, but I don't know. Might take til saturday for me to try your suggestions, but I am very thankful for every reply I got

[–] paws@cyberpaws.lol 2 points 9 months ago* (last edited 9 months ago) (2 children)

the disconnect is nearly instant.

I recently experienced this. I'm thinking it could be a lot of things, but when I logged into the device through the hypervisor I got a domain controller trust issue error. Can you login locally to the device and check for errors?

[–] paws@cyberpaws.lol 1 points 9 months ago (2 children)

(DEBUG) - (remmina_rdp_main) - Resolution set by the user: 588x620 (DEBUG) - (remmina_rdp_main) - Resolution set after workarounds: 644x620

Also maybe try with a standard resolution? Although I wouldn't expect this to terminate the session it might be worth testing.

[–] BentiGorlich@gehirneimer.de 1 points 9 months ago

Will do later today

[–] BentiGorlich@gehirneimer.de 1 points 9 months ago

this sadly didn't work

[–] BentiGorlich@gehirneimer.de 1 points 9 months ago

I can login via windows remotedesktop just fine...

[–] robolemmy@lemmy.world 1 points 9 months ago (1 children)

Did you have a saved password? It may have cleared the save without telling you.

[–] BentiGorlich@gehirneimer.de 1 points 9 months ago (1 children)

Yes I did. But shouldn't it then have a log message or the UI telling me that the password is wrong?

[–] robolemmy@lemmy.world 3 points 9 months ago

It should, yes. But in my experience it doesn’t always. Clear the saved password and re-enter it and see if that helps.

[–] Presi300@lemmy.world -1 points 9 months ago

You can try anydesk... Other than that idk how to help