Save 10%Pay yearly on any plan. 6% half-yearly, 3% quarterly. Help centreWhatsAppTelegram TeamsOpen a ticket

How to Connect to a Windows RDP from Linux with Remmina

Use Remmina to open a Windows remote desktop from Ubuntu or any Linux: install it, create a profile, tune the picture, share files, and fix the common errors.

3 min readBy Smita

Reviewed by the AmazingRDP technical team

Connecting to RDP from Linux

A Windows desktop for the one program Linux lacks. See the Cheap RDP plans. See Cheap RDP from $4.99

Linux has no Remote Desktop Connection program from Microsoft, and it does not need one. Remmina, a free client that many distributions install by default, speaks the same protocol and connects to any Windows remote desktop or server. This is the Linux chapter of how to connect to RDP. (For the opposite direction, reaching a Linux desktop remotely, see Linux remote desktop options and xrdp on Ubuntu.)

Install Remmina

On Ubuntu it is usually present. If not:

sudo apt install remmina remmina-plugin-rdp
sudo dnf install remmina remmina-plugins-rdp
flatpak install flathub org.remmina.Remmina

The lines are for Debian and Ubuntu, Fedora, and any distribution with Flatpak. The Flatpak version is the newest.

A quick connection

  1. Start Remmina.
  2. In the bar at the top, make sure the protocol on the left says RDP.
  3. Type the server's address, with the port after a colon if you were given one (203.0.113.10:4489), and press Enter.
  4. Enter the user name and password. Leave Domain empty unless you were given one.
  5. Accept the certificate when asked.

The Windows desktop opens in a window. The toolbar at the side switches full screen and scaling, and sends Ctrl + Alt + Del.

Save a profile

Click the + button to create a profile you can double-click next time.

FieldEnter
NameAnything you will recognise
ProtocolRDP - Remote Desktop Protocol
ServerAddress and port
Username, PasswordYour login. Leave the password empty to be asked each time, which is safer on a shared computer
ResolutionUse client resolution to fit your screen
Colour depthTrue colour (32 bpp) on a good line; less on a slow one
Share folderA local folder that should appear inside the session

On the Advanced tab, Quality trades picture detail for speed, and Sound set to Local plays the remote desktop's audio on your speakers.

Copy, paste and files

  • Text copies both ways through the clipboard without any setting.
  • Files: set Share folder in the profile. Inside Windows the folder appears in File Explorer under This PC as a redirected drive.
  • If pasting stops working mid-session, the fix is on the Windows side: restarting rdpclip.

From the command line: xfreerdp

Remmina is built on FreeRDP, which also has a direct command. It is handy for scripts and when Remmina misbehaves.

sudo apt install freerdp2-x11
xfreerdp /v:203.0.113.10:4489 /u:anna /dynamic-resolution +clipboard
xfreerdp /v:203.0.113.10 /u:anna /f /sound /drive:share,/home/anna/share
OptionDoes
/v:Server and port
/u:User name; the password is asked for
/fFull screen (leave with Ctrl + Alt + Enter)
/dynamic-resolutionThe remote desktop follows the window size
/drive:name,pathShares a local folder
/cert:ignoreSkips the certificate question. Use only for a server you know

On newer distributions the package is freerdp3-x11 and the command xfreerdp3; on Wayland there is wlfreerdp or sdl-freerdp. Do not put the password on the command line with /p:; it would be visible in the process list and the shell history.

Problems

SignTry
"Unable to connect" at onceAddress and port; your own connection; whether the service is active
"Authentication failure" with a correct passwordClear the Domain field; type the user name exactly; on the Advanced tab set Security protocol negotiation to NLA, or to TLS if that fails
Connects, then closes immediatelyAn old Remmina against a new Windows. Install the Flatpak version
Black screenLower the colour depth; switch off "GFX" options on the Advanced tab
Blurry pictureChoose Use client resolution and switch off scaling
Wrong keyboard charactersSet the keyboard layout in Remmina's preferences under RDP
The Super (Windows) key opens your Linux menuUse the toolbar's Grab all keyboard events button
Certificate changed warningNormal after a server reinstall; otherwise ask before accepting

Other clients

  • GNOME Connections is simpler and comes with GNOME.
  • KRDC is the KDE counterpart.
  • Remmina also speaks VNC and SSH, so one program can hold all your servers.

Why Linux users rent a Windows desktop

For the program that has no Linux version: accounting software, a trading platform, an Office feature. A small remote Windows desktop is often less trouble than dual-booting or a local virtual machine, and it keeps running when the laptop sleeps. The alternatives are compared in running Windows apps on Linux and Linux vs Windows. Plans: Cheap RDP.

Questions

How do I connect to RDP from Ubuntu?

Open Remmina, choose RDP, type the server address and port, press Enter and log in.

Is Remmina free?

Yes. It is free, open-source software.

How do I share files between Linux and the remote Windows desktop?

Set "Share folder" in the Remmina profile. The folder appears as a drive inside Windows.

What is the command-line RDP client for Linux?

xfreerdp from the FreeRDP project, for example xfreerdp /v:SERVER /u:USER.