Niels Horn's Blog

Random thoughts, tips & tricks about Slackware-Linux, Lego and Star Wars

Remote Desktop (Windows) access from Slackware (Linux)

Windows XP and newer versions have the standard feature of “sharing” access to the desktop from remote computers. This is very easy to set up and no extra software is required on the computer that is sharing or the one that is accessing the desktop – as long as they are both running Windows…

I needed to access a remote Windows XP desktop, but I don’t run Windows here on my computer. I do have a netbook that came with Windows pre-installed, so I first set it up there, but I wanted access from the computer I use every day, which runs Slackware.
Enter my quest for a Linux-based solution…

1. FreeRDP

FreeRDPFirst I found FreeeRDP, a fork of the original rdesktop project, in active development. There was no SlackBuild for it, but it was straightforward enough to write one and I had it up-and-running in no time.
FreeRDP is completely command-line based – something I actually like :) – and after a quick look at the man-page I was able to connect to my Windows desktop typing:

xfreerdp -g <width>x<height> -u <user> -p <password> <ip-of-desktop>

And I was connected:

FreeRDP_01

2. Remmina

remminaHaving a working solution was nice, but I wanted something something to connect fast without typing all the parameters. I could write a simple script or – look for a GUI.
I found a SlackBuild for Remmina, which seemed to work with FreeRDP and give a nice menu to configure all the parameters and desktops I want to connect to.

I soon found out that I needed updated versions though of Remmina and Remmina-plugins. The newest FreeRDP version (0.8.2) is no longer compatible with the versions the Remmina SlackBuilds were written for originally. Compilation of the plugins crashed completely, complaining about missing struct members and other errors, like 'RD_PEN' has no member named 'colour', 'RD_BRUSHDATA' has no member named 'colour_code', expected declaration specifiers or '...' before 'RD_HCOLOURMAP', etc., etc.
A simple version bump to Remmina-0.8.3 and Remmina-plugins-0.8.4 solved all problems though.

After building and installing it, simply start Remmina from the “Network” menu and configure your remote desktop:

remmina_01
Fill in the parameters and your new remote desktop will show up in the list:

remmina_02
Now click on the connect button and we’re there:

remmina_03
Remmina has some nice features, like full-screen with a floating bar, just like the Windows connection has, tabs for several concurrent remote connection, etc. What I’m missing though is some more flexible screen resolutions, so that I can mimic the exact same resolution I have on the real desktop. Well, I’ll send this suggestion to the authors and who knows, in the next release… :)

3. Installing it on your own system

Remmina needs libssh and libunique. You can download the SlackBuilds for these and for remmina and remmina-plugins from SlackBuilds.org and build the packages.
For freerdp, which is still in the pending queue for approval on SlackBuilds.org, you can get the SlackBuild script from my site, where you can also download pre-built packages for all these.

Bookmark and Share

This entry was posted on Saturday, November 20th, 2010 at 8:50 and is filed under Free Software, Slackware, networking. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

4 Responses to “Remote Desktop (Windows) access from Slackware (Linux)”

  1. guenter Says:

    hi,

    is it possible to send me the freerdp package for slackware?
    i mean, your self-built package…

    i use slackware 13.1

    thanks in advance

    günter

  2. guenter Says:

    sorry..my fault

    just saw you repo :-) )

    okay..forget the previous mail

  3. Niels Horn Says:

    OK, no problem :)

  4. guenter Says:

    thanks..

    i like this remmina stuff a lot..great work

    greets günter

Leave a Reply



XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

It may take some time for your comment to appear, it is not necessary to submit it again.