FreeRDP 1.0

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
twharte

FreeRDP 1.0

Post by twharte »

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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
twharte

Re: FreeRDP 1.0

Post by twharte »

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

Re: FreeRDP 1.0

Post by twharte »

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

Re: FreeRDP 1.0

Post by twharte »

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

Re: FreeRDP 1.0

Post by twharte »

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...
twharte

Re: FreeRDP 1.0

Post by twharte »

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??
braviah

Re: FreeRDP 1.0

Post by braviah »

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
twharte

Re: FreeRDP 1.0

Post by twharte »

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

Re: FreeRDP 1.0

Post by twharte »

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
Locked

Return to “Software & Applications”