WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TCE freerdp 2.0  (Read 15912 times)

Offline paridozzo

  • Newbie
  • *
  • Posts: 13
TCE freerdp 2.0
« on: June 27, 2018, 10:35:18 AM »
Hello, it's possible to have the latest version of freerdp (ver. 2.0) in the repository?

Thanks

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11667
Re: TCE freerdp 2.0
« Reply #1 on: June 27, 2018, 11:19:20 AM »
Hi paridozzo
You also need to be more specific as to what you are running. X86? 32bit? 64bit? Tinycore? piCore? dCore?

Offline paridozzo

  • Newbie
  • *
  • Posts: 13
Re: TCE freerdp 2.0
« Reply #2 on: June 27, 2018, 05:39:13 PM »
oh sorry, TC Plus 32bit.

So, can you recommend me an application to manage printers on TC? I need to redirect printers with freerdp.

Thanks for support.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14831
Re: TCE freerdp 2.0
« Reply #3 on: June 28, 2018, 06:33:48 AM »
things are still at freerdp-2.0.0-rc2 - it might be better to wait for the final release?
« Last Edit: July 04, 2018, 10:20:45 AM by Juanito »

Offline paridozzo

  • Newbie
  • *
  • Posts: 13
Re: TCE freerdp 2.0
« Reply #4 on: June 29, 2018, 08:48:57 AM »
in which repository can I find the latest working version that is not 1.1?

Thanks man

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14831
Re: TCE freerdp 2.0
« Reply #5 on: June 29, 2018, 08:52:47 AM »
CorePure64 9.x

Offline paridozzo

  • Newbie
  • *
  • Posts: 13
Re: TCE freerdp 2.0
« Reply #6 on: June 29, 2018, 10:17:49 AM »
oh no! my thin client support only 32 bit  :-[ (hp t5000)

I need a freerdp that support a RDS connection on Window Server 2012.

I try to use remmina on Ubuntu to connect my PC on Windows Server 2012 and it support a RDS connection (remmina use freerdp for RDP connection).

Other solution? rdesktop works but not fine (at the first login it gives me an authentication error, at the second login everything works i will try to disable NLA).

Please help me.

Thanks

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14831
Re: TCE freerdp 2.0
« Reply #7 on: June 30, 2018, 06:16:17 AM »
The instructions on how to compile freerdp are here:

http://www.tinycorelinux.net/7.x/x86_64/tcz/src/freerdp/compile_freerdp

..just replace "-mtune=generic" with "-march=i486 -mtune=i686"

Offline paridozzo

  • Newbie
  • *
  • Posts: 13
Re: TCE freerdp 2.0
« Reply #8 on: July 03, 2018, 05:28:41 AM »
cmake -DCMAKE_C_FLAGS="-march=i486 -mtune=i686 -Os -pipe" -DCMAKE_CXX_FLAGS="-march=i486 -mtune=i686 -Os -pipe" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LIBDIR=/usr/local/lib -DCMAKE_BUILD_TYPE=Release -DWITH_LIBSYSTEMD=OFF -DWITH_WAYLAND=OFF -DWITH_PULSE=ON -DWITH_CUPS=ON -DWITH_JPEG=ON -DWITH_X264=ON -DWITH_GSTREAMER_1_0=ON -DWITH_FFMPEG=ON -DWITH_ALSA=ON -DWITH_PCSC=ON ../

I receive the following error:
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
See also "/home/tc/FreeRDP/build/CMakeFiles/CMakeOutput.log

 >:( Help me please

Offline polikuo

  • Hero Member
  • *****
  • Posts: 744
Re: TCE freerdp 2.0
« Reply #9 on: July 03, 2018, 05:34:57 AM »
Did you load compiletc.tcz ?

Offline paridozzo

  • Newbie
  • *
  • Posts: 13
Re: TCE freerdp 2.0
« Reply #10 on: July 03, 2018, 05:51:13 AM »
Thanks man it's first time for me.

I receive this message:

-- Configuring incomplete, errors occurred!
See also "/home/tc/FreeRDP/build/CMakeFiles/CMakeOutput.log".
See also "/home/tc/FreeRDP/build/CMakeFiles/CMakeError.log".

Any ideas?
« Last Edit: July 03, 2018, 06:08:04 AM by paridozzo »

Offline paridozzo

  • Newbie
  • *
  • Posts: 13
Re: TCE freerdp 2.0
« Reply #11 on: July 03, 2018, 06:54:25 AM »
i set -DWITH_FFMPEG=OFF and it works.

i installed FFMPEG but i receive the following message:

Could not find FFmpeg (MISSING: avresample_found)
no PACKAGE 'LIBAVRESAMPLE' found

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14831
Re: TCE freerdp 2.0
« Reply #12 on: July 03, 2018, 07:01:45 AM »
It needs ffmpeg3?

Offline paridozzo

  • Newbie
  • *
  • Posts: 13
Re: TCE freerdp 2.0
« Reply #13 on: July 03, 2018, 08:38:12 AM »
No, i followed all the steps but I had to disable x264 and ffmpeg.

What should I do after running sudo make install command?

I read :

-- Set runtime path of "/usr/local/lib/libfreerdp-client.so.2.0.0" to "$ORIGIN/..//usr/local/lib:$ORIGIN/..:/usr/local/lib"
-- Installing: /usr/local/lib/libxfreerdp-client.so.2.0.0
-- Installing: /usr/local/lib/libxfreerdp-client.so.2
-- Installing: /usr/local/lib/libxfreerdp-client.so
-- Set runtime path of "/usr/local/lib/libxfreerdp-client.so.2.0.0" to "$ORIGIN/..//usr/local/lib:$ORIGIN/..:/usr/local/lib"
-- Installing: /usr/local/bin/xfreerdp
-- Set runtime path of "/usr/local/bin/xfreerdp" to "$ORIGIN/..//usr/local/lib:$ORIGIN/..:/usr/local/lib"

what does it mean?
« Last Edit: July 03, 2018, 08:44:41 AM by paridozzo »

Offline polikuo

  • Hero Member
  • *****
  • Posts: 744
Re: TCE freerdp 2.0
« Reply #14 on: July 03, 2018, 01:01:08 PM »
What should I do after running sudo make install command?

That's not how you make a tcz package.
Please read the instructions here.

To configure:
Code: [Select]
cmake .. \
-DCMAKE_C_FLAGS="-march=i486 -mtune=i686 -Os -pipe" \
-DCMAKE_CXX_FLAGS="-march=i486 -mtune=i686 -Os -pipe" \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DCMAKE_INSTALL_LIBDIR=/usr/local/lib \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_LIBSYSTEMD=OFF \
-DWITH_WAYLAND=OFF \
-DWITH_PULSE=ON \
-DWITH_CUPS=ON \
-DWITH_JPEG=ON \
-DWITH_X264=OFF \
-DWITH_GSTREAMER_1_0=ON \
-DWITH_FFMPEG=OFF \
-DWITH_ALSA=ON \
-DWITH_PCSC=ON

make & install
Code: [Select]
make -j
make DESTDIR=/tmp/freerdp-root install

Split the output files into several directories as per wiki's instruction.
To wrap-up all the output files into a tcz package:
Code: [Select]
tce-load -i squashfs-tools
mksquashfs /tmp/freerdp-dev freerdp-dev.tcz
mksquashfs /tmp/freerdp-doc freerdp-doc.tcz
mksquashfs /tmp/freerdp-base freerdp.tcz