r/raspberry_pi • • 4d ago

Troubleshooting Unable to remote desktop to Pi from Linux

I have a Pi 5 and until recently I managed to remote desktop on to the desktop from Linux PCs via Remmina. A few days ago I updated the Pi (sudo apt update etc) as I hadn't done this for a while. Now I can't remote into it from any Linux PC. I get a "Cannot connect to the remote computer" message. However, It works fine from Windows Remote Desktop app. I've checked on raspi-config to ensure that X11 and not Wayland is running. I can access the Pi 5 via SSH on my Linux PCs - just can't access the remote desktop.

Has something changed on the Pi recently that I'm unaware of?

1 Upvotes

2 comments sorted by

1

u/Significant-Price695 3d ago

Since Windows still connects, I'd compare the Remmina profile settings and grab its connection log first. Are you selecting RDP in that profile, and using the same username and IP as on Windows? The actual error from the log should be more useful than "cannot connect".

1

u/SimonLev 2d ago edited 2d ago

I am indeed selecting RDP as the connection profile type. I switched Remmina debugging logging on and got the following back after the failed connection. Port 3389 seems like a default RDP port - WIndows also uses this on connection via RDP:

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: 100.122.99.89, port: 3389 
(DEBUG) - (remmina_rdp_tunnel_init) - protocol_plugin_start_direct_tunnel() returned [100.122.99.89]:3389 
(DEBUG) - (remmina_rdp_tunnel_init) - Tunnel has been optionally initialized. Now connecting to 100.122.99.89:3389 
(DEBUG) - (remmina_rdp_main) - gfx_h264_available: 1 
(DEBUG) - (remmina_rdp_main) - Resolution set by the user: 596x440 
(DEBUG) - (remmina_rdp_main) - Resolution set after workarounds: 644x480 
(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) - (rco_on_disconnect) - Disconnect signal received on RemminaProtocolWidget 
(DEBUG) - (rco_on_disconnect) - Could not disconnect