WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TCE freerdp 2.0  (Read 16059 times)

Offline kagouraki

  • Newbie
  • *
  • Posts: 20
Re: TCE freerdp 2.0
« Reply #30 on: November 02, 2020, 02:32:45 PM »
Hello can you please upload the freerdp app and all its dependencies in the repository for PiCore 12  arm6 raspberry pi zero w ?

THANK YOUUUU! 

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14841
Re: TCE freerdp 2.0
« Reply #31 on: November 02, 2020, 03:22:27 PM »
The problem is that there are a couple of extensions in the dependency chain that will not compile for armv6 - I need to see what can be done to work around this.

Offline kagouraki

  • Newbie
  • *
  • Posts: 20
Re: TCE freerdp 2.0
« Reply #32 on: November 02, 2020, 04:35:11 PM »
Thank you very much. I hope there is a solution. I try to connect with xrdp running in a RPi4 and latest buster. I have tried Picore 9 witch has the freerdp app but it cant connect. I can connect to the Rpi4 from my mac so the xrdp server is working...
Do you know if there is a vnc client for Picore 12 ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14841
Re: TCE freerdp 2.0
« Reply #33 on: November 03, 2020, 04:14:58 AM »
You can connect to to a piCore x11 gui running x11vnc by using, for example, vinagre in CorePure64.

If I understand correctly, you'd like to connect to a piCore x11 gui on an RPi0 using piCore on an RPi4?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14841
Re: TCE freerdp 2.0
« Reply #34 on: November 03, 2020, 06:54:53 AM »
libvpx and x265 would not compile with the standard piCore flags (-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp).

I don't have an RPi0/1 to try to compile them natively.

This is not a big problem for gst-plugins* as libvpx and x265 are effectively optional, but they are direct deps for ffmpeg (libavcodec).

It could be that apps like freerdp might work on armv6 as long as they don't try to access libvpx or x265 functionality.

For the above reasons gst-plugins* and ffmpeg and deps copied to the armv6 repo.


Offline kagouraki

  • Newbie
  • *
  • Posts: 20
Re: TCE freerdp 2.0
« Reply #35 on: November 03, 2020, 08:02:34 AM »
Thank you very much !
I try to have a rpi4 with buster and xrdp and access it from a pizero w with picore 12 and freerdp. I will give it a go in the afternoon!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14841
Re: TCE freerdp 2.0
« Reply #36 on: November 15, 2020, 11:34:47 AM »
I recompiled libvpx and x265 natively on an RPi0, forcing them not to compile for neon.

epiphany works excruciatingly slowly and ffplay works dropping many frames, so I guess libvpx and x265 are now OK (sound works surprisingly well via hdmi with 3d graphics).

I haven't tried freerdp, but it should be OK.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14841
Re: TCE freerdp 2.0
« Reply #37 on: November 15, 2020, 11:57:57 AM »
I just tried freerdp using an RPi0 as the server and it seems to work:
Code: [Select]
[RPi0 server]
$ winpr-makecert -rdp
$ openssl genrsa -out box.key 2048
$ openssl req -new -key box.key -out box.csr
$ openssl x509 -req -days 365 -signkey box.key -in box.csr -out box.crt
$ XDG_RUNTIME_DIR=/run/user/1001 weston --backend=rdp-backend.so --rdp-tls-cert=box.crt --rdp-tls-key=box.key --width=1024 --height=768 --socket=wayland-1

Code: [Select]
[CorePure64 client]
$ xfreerdp /v:box /sec:tls /size:1024x768 /v:192.168.1.129

Edit: you'll probably need to create a weston.ini on the server with:
Code: [Select]
[keyboard]
repeat-delay=1000
« Last Edit: November 16, 2020, 04:36:10 AM by Juanito »