19

I got this ".rdp" remoteAPP file from work which enables me to run a specific application from the terminal server, I can open it easily using windows with a double click, are there any ways to open this kind of files from Ubuntu ?

26

You can use Remmina, which is default application for remote desktop in Ubuntu from version 11.04.

From Remmina main menu select Tools -> Import and select your .rdp file. It will be imported and added to your saved connections in Remmina and you can use it anytime you start Remmina.

| improve this answer | |
  • I couldn't find this menu on 13.04. But dragging and dropping the file into Remmina worked... – Prinzhorn Oct 25 '13 at 15:41
  • 2
    This application doesn't work with the more complex RDP connections. – Goddard Apr 30 '14 at 1:10
  • Can I use Remmina to open MacInCloud connections in Ubuntu? I just wanna double-click on the rdp file, just like on Windows. – IgorGanapolsky Mar 26 '15 at 14:31
5

From the terminal this worked for me:

remmina -c Downloads/somemachine.rdp 

The command line help says:

$ remmina  --help
...
-c, --connect=FILE          Connect to a .remmina file

Older versions of remmina don't understand the line administrative session:i:1 in files produced by the azure portal, so you either need to upgrade remmina to a more recent version of comment out that line in the file (prefix with # works).

| improve this answer | |
2

Remmina works on Linux Mint 17.3 (Ubuntu 14.04 based)

however I could not get it to work directly with the .rdp file. Neither via import nor per double click.

what actually worked fine was:

opening the .rdp file with a texteditor. Copy pasting server name and gateway name to remmina.

edit: this also saves me from having to download the .rdp file, searching for it on my computer, etc.

| improve this answer | |
1

Drag and drop the rdp file in the Remmima inbuilt application. Select the connection and edit the details like password. Connect it. Should work fine.

| improve this answer | |
0

I use KDE so I prefer krdc. Here is a small script for running krdc with options from .rdp file.

#!/bin/bash
#
#
krdc `awk '
/^full address:s:/ { sub("full address:s:",""); sub("\015",""); host=$1; next}
/^username:s:/ { sub("username:s:",""); sub("\015",""); user=$1; next}
END { 
  printf "rdp://%s@%s\n", user, host 
}
' $1`
  1. Copy above text to a file
  2. Change file mode adding exec bit (chmod a+x file)
  3. Run the file with your .rdp file as a parameter

I have only implemented basic parameters - user and hostname. Feel free to implement others. You may also use other rdp program - just change the name in the script. The script provides parameter in a format rdp://user@host.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.