WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline tinydancer

  • Newbie
  • *
  • Posts: 10
[SOLVED] FreeRDP troubles
« on: June 28, 2012, 11:04:54 AM »
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 01, 2013, 09:57:43 PM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11246
Re: FreeRDP troubles
« Reply #1 on: June 28, 2012, 12: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, 07: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, 07:34:06 AM by tinydancer »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11246
Re: FreeRDP troubles
« Reply #3 on: June 29, 2012, 07: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: 11246
Re: FreeRDP troubles
« Reply #4 on: June 29, 2012, 08: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, 09:36:11 AM »
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: 11246
Re: FreeRDP troubles
« Reply #6 on: June 29, 2012, 09:58:19 AM »
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, 10:06:42 AM »
I'd installed pulse but it didn't work with it :(

Offline gutmensch

  • Administrator
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: FreeRDP troubles
« Reply #8 on: June 29, 2012, 10:24:19 AM »
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, 10:32:30 AM »
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: 11246
Re: FreeRDP troubles
« Reply #10 on: June 29, 2012, 01: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, 01: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: 11246
Re: FreeRDP troubles
« Reply #12 on: June 29, 2012, 01: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, 02: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: 11246
Re: FreeRDP troubles
« Reply #14 on: June 29, 2012, 05: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.