WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] FreeRDP troubles  (Read 20426 times)

Offline tinydancer

  • Newbie
  • *
  • Posts: 10
[SOLVED] FreeRDP troubles
« on: June 28, 2012, 02:04:54 PM »
I've been having a lot of trouble getting freerdp to work. To the point I considered compiling it myself just to get it going.

So far I've realised that it must have Xorg to work properly, and Xvesa will fail to provide keyboard input. I got past that and now I'm having trouble with sound redirection. I've installed alsa and pulse but to no avail. Has anyone managed to get sound redirection + freerdp working? For the record I'm using version 1.0.1

      [EDIT] Marked as solved.  Rich
« Last Edit: June 02, 2013, 12:57:43 AM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: FreeRDP troubles
« Reply #1 on: June 28, 2012, 03:22:35 PM »
Hi tinydancer
In order for someone to help you, you might want to provide some more information:
1. What version of Windows are you trying to connect to?
2. Show what command you are executing.
3. Show any messages resulting from that command.

Offline tinydancer

  • Newbie
  • *
  • Posts: 10
Re: FreeRDP troubles
« Reply #2 on: June 29, 2012, 10:32:34 AM »
OK I realise now I was a little vague in my OP. apologies for that.

I'm connecting to a windows 7 ultimate with remote desktop connections enabled.

When I run
Code: [Select]
xfreerdp --no-nla (IP) it runs fine, but as according to http://manpages.ubuntu.com/manpages/maverick/man1/xfreerdp.1.html
(the only man page I could find)

running with --plugin rdpsnd flag causes this error to show:

Code: [Select]
freerdp_load_library_symbol: failed to open /usr/local/lib/freerdp/rdpsnd_pulse.so
« Last Edit: June 29, 2012, 10:34:06 AM by tinydancer »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: FreeRDP troubles
« Reply #3 on: June 29, 2012, 10:43:56 AM »
Hi tinydancer
I don't see  /usr/local/lib/freerdp/rdpsnd_pulse.so  in that extension, only  /usr/local/lib/freerdp/rdpsnd_alsa.so
and  /usr/local/lib/freerdp/rdpsnd.so.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: FreeRDP troubles
« Reply #4 on: June 29, 2012, 11:49:00 AM »
Hi tinydancer
Have you tried:
Code: [Select]
xfreerdp --no-nla --plugin rdpsnd --data alsa -- (IP)or
Code: [Select]
xfreerdp --no-nla --plugin drdynvc --data tsmf -- (IP)or
Code: [Select]
xfreerdp --no-nla --plugin drdynvc --data tsmf:audio:alsa:plughw:0,0 -- (IP)You of course tested to make sure audio was working locally by playing a CD or something, right?

Offline tinydancer

  • Newbie
  • *
  • Posts: 10
Re: FreeRDP troubles
« Reply #5 on: June 29, 2012, 12:36:11 PM »
Hit me like a brick after you mentioned testing audio locally. I hadn't installed ALSA. *facepalm*

Cheers for the help, Rich :D

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: FreeRDP troubles
« Reply #6 on: June 29, 2012, 12:58:19 PM »
Hi tinydancer
I see, so you lied to me when you said you installed ALSA in your original post, tisk, tisk, tisk.

Offline tinydancer

  • Newbie
  • *
  • Posts: 10
Re: FreeRDP troubles
« Reply #7 on: June 29, 2012, 01:06:42 PM »
I'd installed pulse but it didn't work with it :(

Offline gutmensch

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: FreeRDP troubles
« Reply #8 on: June 29, 2012, 01:24:19 PM »
I think I intentionally left out building against pulseaudio because it's working on top of alsa either way and would be only additional bloat. But if there are any convincing points it can of course be changed :)
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline tinydancer

  • Newbie
  • *
  • Posts: 10
Re: FreeRDP troubles
« Reply #9 on: June 29, 2012, 01:32:30 PM »
Yeah I think that's a good decision to have made... Pulse is big compared to alsa on its own and I've got the whole thing working really well now :D

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: FreeRDP troubles
« Reply #10 on: June 29, 2012, 04:30:25 PM »
Hi tinydancer
Maybe you could post the exact command that worked for you (with name, password, and IP Xed out). That
might help another user in the future.

Offline tinydancer

  • Newbie
  • *
  • Posts: 10
Re: FreeRDP troubles
« Reply #11 on: June 29, 2012, 04:40:54 PM »
Sure thing.

Having installed alsa, the following works really well:

xfreerdp --no-nla -f --plugin rdpsnd --data alsa -- nnn.nnn.nnn.nnn

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: FreeRDP troubles
« Reply #12 on: June 29, 2012, 04:58:54 PM »
Hi tinydancer
Thanks. In case it's of interest, I connect to a pair of Server2008R2 machines using:
Code: [Select]
xfreerdp  -u User -p Password --plugin cliprdr --plugin rdpdr --data disk:msrb:/home/tc/msrbcusips/templates -- X.X.X.XThis allows me to copy/paste text between the two servers and Tinycore. The  msrb:/home/tc/msrbcusips/templates
entry maps my local templates directory to both servers so I can drag/drop files in the server windows.

Offline tinydancer

  • Newbie
  • *
  • Posts: 10
Re: FreeRDP troubles
« Reply #13 on: June 29, 2012, 05:34:45 PM »
Oh that's pretty neat!

I'm hopefully going to use mine as a network boot/usb based thin client - FreeRDP will connect to a windows terminal services server and the users login as though they're at a physical machine. That's why I use the --no-nla flag, we can't have users having to type into a *ghasp* COMMAND LINE :O

Incidentally, I have given to support to Linux users before. 99% of the time it's in response to "I'm trying to type my password but it's not typing"

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: FreeRDP troubles
« Reply #14 on: June 29, 2012, 08:40:18 PM »
Hi tinydancer
The servers I'm connecting to have NLA enabled. The command I posted runs from a script and the server
window opens right up, no typing required.