Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: sarkye on February 02, 2018, 01:25:12 AM

Title: Freerdp wont login
Post by: sarkye on February 02, 2018, 01:25:12 AM
Hi,

I'm trying to make a thin client (hp t5720) that can RDP into both my servers Windows 2008 & Windows 2012 R2 with NLA

Now i have freerdp running but with the Windows 2008 i seem to get kicked out immediately. ( if i'm also logged in with a other pc on this server i see i get kicked out, meaning that it logges in right)
I get the following on TC:

Code: [Select]
root@box:/home/tc# xfreerdp /u:Username /p:password /d:domein /sec:rdp /v:server -cert-ignore
error:
Code: [Select]
sh: xprop: not found
sh: xprop: not found
Warning xf_GetWindowProperty (177): Property (173 does not exist
connect to server:3389
Unable to detect time zone
XInput extension not available.
Xlib: extension :XVideo" missing on display "0.0".
Illegal instruction

for the Windows 2012 R2 with NLA server i put in the following.
Code: [Select]
root@box:/home/tc# xfreerdp /u:Username /p:password /d:domein /sec:nla /v:server -cert-ignore
error:
Code: [Select]
sh: xprop: not found
sh: xprop: not found
Warning xf_GetWindowProperty (177): Property (173 does not exist
connect to server:3389
creating directory /root/.config/freerdp/
creating directory /root/.config/freerdp/certs
creating directory /root/.config/freerdp/server
certificate_store_open: error opening [/root/.config/freerdp/known_hosts] for writing
SSL_read: Failure in SSL library (protocol error?)
SSL_read: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded

I'm fairly new to linux and especially to TC on a thinclient.
Hopefully someone can help me, many thanks
Title: Re: Freerdp wont login
Post by: sarkye on February 02, 2018, 01:56:42 AM
Most importantly for me is getting the Windows 2012 R2 server with NLA working.

The otherone i can manage with rdesktop.  ::)
Title: Re: Freerdp wont login
Post by: Juanito on February 02, 2018, 04:16:54 AM
Given that Xprop is provided by the Xorg-7.7-bin extension, do you need to be running Xorg-7.7 rather than Xvesa perhaps?
Title: Re: Freerdp wont login
Post by: sarkye on February 02, 2018, 04:41:37 AM
I have both installed..
Title: Re: Freerdp wont login
Post by: Juanito on February 02, 2018, 05:31:52 AM
OK, but which one is running?

..and if both of them are loaded,  Xprop should be present...
Title: Re: Freerdp wont login
Post by: sarkye on February 02, 2018, 06:57:28 AM
is see both in the status list..

Code: [Select]
tce-status -i
how can i see which one is running?
I expect it's Xvesa because Xorg gets installed with freerdp..
Title: Re: Freerdp wont login
Post by: Rich on February 02, 2018, 07:00:47 AM
Hi sarkye
Code: [Select]
root@box:/home/tc# xfreerdp /u:Username /p:password /d:domein /sec:rdp /v:server -cert-ignore
error:
Code: [Select]
sh: xprop: not found
sh: xprop: not found
Warning xf_GetWindowProperty (177): Property (173 does not exist
connect to server:3389
Unable to detect time zone
XInput extension not available.
Xlib: extension :XVideo" missing on display "0.0".
************* Illegal instruction ***************
While Tinycore is supposed to run on a  486,  sometimes incompatible programs slip by. That  Illegal instruction  message is
the CPU telling you it received an instruction that is not part of its instruction set, and can not run the program that provided it.

Title: Re: Freerdp wont login
Post by: Rich on February 02, 2018, 07:19:47 AM
Hi sarkye
... how can i see which one is running? ...
Execute:
Code: [Select]
cat .xsessionThe first line will tell you.
Title: Re: Freerdp wont login
Post by: Juanito on February 02, 2018, 07:20:56 AM
how can i see which one is running?

Code: [Select]
$ ps aux | grep X
Does "tce-status -i" show Xorg-7.7-bin is loaded?
Title: Re: Freerdp wont login
Post by: Juanito on February 02, 2018, 07:22:46 AM
The first line will tell you.

Hmm - not necessarily - what about if you load Xvesa, startx and then load Xorg-7.7?
Title: Re: Freerdp wont login
Post by: sarkye on February 02, 2018, 07:26:00 AM
on the first line it tells me Xvesa

if i understand Rich it doesn't mater what i try it's not possible with this processor ?
Title: Re: Freerdp wont login
Post by: Juanito on February 02, 2018, 07:29:17 AM
I'm not sure if it's the cpu or an instruction that Xvesa doesn't like.

Try running Xorg-7.7 rather than Xvesa
Title: Re: Freerdp wont login
Post by: sarkye on February 02, 2018, 07:36:40 AM
I'm sorry really new to this.

i removed Xvesa from Onboot and added Xorg.

now i only get the text boot, i tried to startx.
But can't seem to find cat: can't open '/etc/sysconfig/Xserver': No such fle or directory
Title: Re: Freerdp wont login
Post by: Juanito on February 02, 2018, 07:43:15 AM
Did you download/load the Xorg-7.7 extension using "tce-load -i" or the apps gui?

The reason I ask is that it seems like you have Xorg-7.7, but not all of the extensions it depends on?

What does "tce-status -i | grep X" show?
Title: Re: Freerdp wont login
Post by: sarkye on February 02, 2018, 08:03:41 AM
i got it from the apps gui...

how do i download it with terminal ?

on my "tce-status i" list it only shows Xorg-7.7-lib 
Title: Re: Freerdp wont login
Post by: sarkye on February 02, 2018, 08:10:52 AM
Xorg7.7 is working
Windows 2008 is Working

Almost there!!
Title: Re: Freerdp wont login
Post by: sarkye on February 02, 2018, 08:20:55 AM
now getting the following error.

Code: [Select]
Warning xf_GetWindowProperty (177): Property (335 does not exist
connect to server:3389
creating directory /root/.config/freerdp/
creating directory /root/.config/freerdp/certs
creating directory /root/.config/freerdp/server
certificate_store_open: error opening [/root/.config/freerdp/known_hosts] for writing
SSL_read: Failure in SSL library (protocol error?)
SSL_read: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded
SSL_read: error:14094419:SSL routines:ssl3_read_bytes:tlsv1 alert access denied credssp_recv() error: -1
Authentication failure, check credentials.
If the credentials are valid, the NTLMSSP implementation may be to blame.
Error: protocol security negotiation or connection failure

if already tried to add -nego but doesn't seem to help.
Title: Re: Freerdp wont login
Post by: Juanito on February 02, 2018, 09:32:37 AM
Do you have the openssl extension loaded?
Title: Re: Freerdp wont login
Post by: sarkye on February 04, 2018, 11:59:15 PM
yes the openssl extension is loaded.
Title: Re: Freerdp wont login
Post by: Juanito on February 05, 2018, 12:00:16 AM
..and ca-certificates as well?
Title: Re: Freerdp wont login
Post by: sarkye on February 05, 2018, 12:09:43 AM
(https://i.imgur.com/T3TJ0sa.jpg)

this part of the error message is now gone.
Code: [Select]
SSL_read: error:14094419:SSL routines:ssl3_read_bytes:tlsv1 alert access denied credssp_recv() error: -1
Authentication failure, check credentials.
If the credentials are valid, the NTLMSSP implementation may be to blame.
Error: protocol security negotiation or connection failure
Title: Re: Freerdp wont login
Post by: Juanito on February 05, 2018, 12:22:03 AM
do you need to create the folder /root/.config/freerdp/known_hosts?
Title: Re: Freerdp wont login
Post by: sarkye on February 05, 2018, 02:17:32 AM
with making this folder i just remove the error message.

Code: [Select]
certificate_store_open: error opening [/root/.config/freerdp/known_hosts] for writing
SSL_read: Failure in SSL library (protocol error?)

leaving only the SSL error..
Title: Re: Freerdp wont login
Post by: Juanito on February 05, 2018, 02:47:33 AM
do the suggestions near the end of the thread here help?

https://github.com/FreeRDP/FreeRDP/issues/2128