Ubuntu – How to associate RDP extension to open remote desktop client on 12.04

rdpremoteservertsclient

The tsclient application used to work for opening .rdp files, but Remmina does not seem to work the same way. Does KRDC, Remote Desktop Viewer or some other application work? I'm using Precise Pangolin (Ubuntu 12.04 LTS). I used tsclient successfully on 9.04 (Jaunty Jackalope) by associating /usr/bin/tsclient. The problem is intranet-published web pages have the .RDP files, which are needed to download and launch the terminal server client or remote desktop client automatically. The tsclient had the features and functionality needed, but tsclient is no longer in the repository and is difficult to get all of the dependencies met.

I got these compiling errors for tsclient-2.0.1 with the latest libnotify and libnm_glib packages installed:

No package 'libnotify' found
No package 'libnm_glib' found

Best Answer

  1. Install Ubuntu Tweak tool

    sudo add-apt-repository ppa:tualatrix/ppa 
    sudo apt-get update
    sudo apt-get install ubuntu-tweak
    

    and go to file type manager and add rdp.

  2. I suggest you will use remmina as .rdp's default application

    But this solution may not fit your question, because .rdp files taken from Windows are different than what remmina uses. So it may be irrelevant to associate remmina with .rdp.

    So you may rename files saved by remmina to .rdp so that you can benefit from associating remmina with .rdp files.

  3. Another solution may force tsclient to work on ubuntu 12.04:

    Download the tsclient package and the relevant dependencies from packages.ubuntu.com.

    For a typical 64-bit architecture, the following command would install tsclient for you:

    sudo dpkg --force-all -i tsclient_0.150-4ubuntu2_amd64.deb
    

    For 32-bit system:

    sudo dpkg --force-all -i tsclient_0.150-4ubuntu2_i386.deb`