FreeRDP 1.0

Questions about applications and software
Forum rules
Before you post please read how to get help

FreeRDP 1.0

Postby twharte on Thu Jan 19, 2012 10:37 pm

Apparently FreeRDP is now supporting RemoteFX and NLA :)

I've been waiting for NLA support and want to do some serious testing of connecting to Svr2008.
I want to see if it provides workable RDGateway and RemoteApp support.
EDIT: *RDGateway protocol not implemented. Need to VPN to the remote network*

But how do I install it? I'm such a Linux n00b that I rely on the software manager.

http://www.freerdp.com/?p=92
Last edited by twharte on Sun Jan 22, 2012 9:56 pm, edited 1 time in total.
twharte
Level 1
Level 1
 
Posts: 12
Joined: Wed Mar 30, 2011 10:29 pm

Linux Mint is funded by ads and donations.
 

Re: FreeRDP 1.0

Postby twharte on Thu Jan 19, 2012 11:46 pm

I've been trying to follow the instructions on this page:
https://github.com/FreeRDP/FreeRDP/wiki/Compilation

opened terminal at the extracted FreeRDP folder

initial command:
sudo apt-get install build-essential git-core cmake libssl-dev libx11-dev libxext-dev libxinerama-dev libxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-dev
appeared to work ok...

cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON .
appeared to work ok...

make
sudo make install
appeared to work ok...

create create /etc/ld.so.conf.d/freerdp.conf
add paths to freerdp.conf
appeared to work ok...

Run ldconfig
Whats this for?
I got this message:
/sbin/ldconfig.real: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
EDIT: tried ldconfig freerdp and ldconfig xfreerdp and was returned:
/sbin/ldconfig.real: relative path `freerdp' used to build cache
/sbin/ldconfig.real: relative path `xfreerdp' used to build cache
seems to be a more valid response...

I tried xfreerdp and it returned:
xfreerdp: error while loading shared libraries: libfreerdp-core.so.1.0: cannot open shared object file: No such file or directory

I hope its just a n00b mistake with my first compilation and its easy to sort out for those who know the ins & outs.
Thx.
twharte
Level 1
Level 1
 
Posts: 12
Joined: Wed Mar 30, 2011 10:29 pm

Re: FreeRDP 1.0

Postby twharte on Fri Jan 20, 2012 1:28 am

Found this comment:
"on linux (ubuntu at least) after sudo make install, you have to type :
sudo ldconfig
so that the linker is aware of the existence of /usr/local/lib/libfreerdp-core.so"

so I tried that and now when i type xfreerdp it returns:
missing server name
failed to parse arguments.

Tried xfreerdp <servername> and it returned:
connected to <servername>:3389
Password:
creating directory /home/<username>/.freerdp
Certificate details:
Subject: CN = <servername>.<domain>.local
Issuer: CN = <servername>.<domain>.local
Thumbprint: <hexthumbprint>
The above X.509 certificate could not be verified, possibly because you do not have the CA certificate in your certificate store, or the certificate has expired. Please look at the documentation on how to create local certificate store for a private CA.
Do you trust the above certificate? (Y/N) y
SSL_read: Failure in SSL library (protocol error?)
Authentication failure, check credentials.
If credentials are valid, the NTLMSSP implementation may be to blame.

So its installed? Now I just have to work out how to configure/use it?
I was kinda expecting a GUI connection manager?
twharte
Level 1
Level 1
 
Posts: 12
Joined: Wed Mar 30, 2011 10:29 pm

Re: FreeRDP 1.0

Postby twharte on Sun Jan 22, 2012 10:07 pm

Ok so i've found some commands that have given me a successful session but not sure if it actually used the security features as we also happen to have thin clients here so the security is optional (currently building a svr2008 virtual Terminal Server so I can set to require NLA)

xfreerdp -u <username> <hostname>

when i typed domain\username for <username> it failed but worked without domain\ prefix
you can use -p <password> but I hate the plain text entry so I prefer that it prompts me when I launch the command.
At least it opened a session so I know the underlying stuff works!

Haven't worked out remote app and rails etc.
Heres a syntax line for those that fancy trying...

xfreerdp -u <username> -p <password> --app --plugin rail.so --data "<exe_or_file>:<working_dir>:<arguments>" -- <hostname>
xfreerdp -u <username> --app --plugin rail.so --data "%windir%\system32\cmd.exe" -- <hostname>

https://github.com/FreeRDP/FreeRDP/wiki/RemoteApp

See my attempts below:
xfreerdp -u <username> --app --plugin rail.so --data "%windir%\system32\cmd.exe" -- <hostname>
loading plugin rail.so
freerdp_load_plugin: failed to open /usr/local/lib/freerdp/rail.so.so: /usr/local/lib/freerdp/rail.so.so: cannot open shared object file: No such file or directory
connected to <hostname>:3389
Password:
rdp_client_connect_demand_active failed
Failed to check FreeRDP file descriptor

Tried this alternate rail command:
xfreerdp -u <username> --app —plugin channels/rail/rail.so --data "%windir%\system32\cmd.exe" -- <hostname>
transport_connect: getaddrinfo (Name or service not known)
Error: protocol security negotiation failure
twharte
Level 1
Level 1
 
Posts: 12
Joined: Wed Mar 30, 2011 10:29 pm

Re: FreeRDP 1.0

Postby twharte on Mon Jan 23, 2012 12:27 am

Proof that NLA is now working in Linux Mint 12 (I'm using Cinnamon)

:D

I made sure this server requires NLA.
Shame I can't use TS Gateway, I was trying to avoid needing a VPN.
I also grabbed a copy of the certificate separately to avoid cert trust problem, see SSL error in previous posts (ensuring the cert automatically is accepted probably warrants further testing)
Now to figure out RemoteApp...
Attachments
RDP with NLA from Linux Mint 12 + Cinnamon.jpg
RDP with NLA from Linux Mint 12 + Cinnamon.jpg (114.63 KiB) Viewed 12361 times
twharte
Level 1
Level 1
 
Posts: 12
Joined: Wed Mar 30, 2011 10:29 pm

Re: FreeRDP 1.0

Postby twharte on Mon Jan 23, 2012 1:19 am

xfreerdp -u <username> --app --plugin rail.so --data "%windir%\system32\calc.exe" -- nla-rdsvr1
loading plugin rail.so
freerdp_load_plugin: failed to open /usr/local/lib/freerdp/rail.so.so: /usr/local/lib/freerdp/rail.so.so: cannot open shared object file: No such file or directory
connected to nla-rdsvr1:3389
Password:
rdp_client_connect_demand_active failed
Failed to check FreeRDP file descriptor


xfreerdp -u <username> --app --plugin rail --data "%windir%\system32\calc.exe" -- nla-rdsvr1
loading plugin rail
connected to nla-rdsvr1:3389
Password:
RAIL exec error: execResult=RAIL_EXEC_E_NOT_IN_ALLOWLIST NtError=0x15


Can anyone assist with this last error??
twharte
Level 1
Level 1
 
Posts: 12
Joined: Wed Mar 30, 2011 10:29 pm

Re: FreeRDP 1.0

Postby braviah on Thu Mar 01, 2012 6:34 pm

if i'm not late,
look there:
http://www.daball.me/2011/11/windows-me ... teapp.html
(check the script)
and
http://appguppy.blogspot.com/2012/01/ho ... buntu.html
(point 4-5)

when you use the script for call your remoteapp, use the alias set from windows
braviah
Level 1
Level 1
 
Posts: 1
Joined: Thu Mar 01, 2012 5:59 pm

Re: FreeRDP 1.0

Postby twharte on Tue Mar 20, 2012 9:24 pm

if i get some time i'll have another good read of the daball.me page.
Looks like hes gone where I'm trying to go but with much more success.
twharte
Level 1
Level 1
 
Posts: 12
Joined: Wed Mar 30, 2011 10:29 pm

Re: FreeRDP 1.0

Postby twharte on Thu Jan 17, 2013 6:52 pm

I still check the progress of this every now and again...

Some encouraging comments about TS Gateway support :)

https://github.com/FreeRDP/FreeRDP/issu ... t-11276514
twharte
Level 1
Level 1
 
Posts: 12
Joined: Wed Mar 30, 2011 10:29 pm

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: Google [Bot] and 26 guests