[FreeRDP-devel] Run Matlab
HiAs you know some programs won't run on terminal services. For example, Matlab by default won't run through remote desktop. There are many topics on that. With freeRDP, I also get an error that it can not be started through terminal services. Any way to fix that? Regards, Mahmood -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel
[FreeRDP-devel] Centos to Centos remote connection
Hi, I want to use rdp from a centos machine to another centos machine.. On both machines, xfreerdp has been installed via yum. However, I get "protocol security negotiation failure" message. Should I open 3389 on both? Is that really possible to use xfreerdp for linux target? Regards, Mahmood ___ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel
[FreeRDP-devel] Problem setting up a VNC server while RDP is not connected
Hi,I have setup a remote desktop connection to a windows 7 machine and there I have installed TightVNC server. So, a non-admin user can start vnc server as application for his own. As you can see in the picture, the user can access RDP as well as VNC. The command is vncviewer 10.1.1.199:5901 https://i.stack.imgur.com/8XtFx.png Problem is that, when I close the RDP, vnc viewer also fails. As I run vncviewer 10.1.1.199:5901 the password window opens. However, as soon as I enter the password, I get `end of stream` error and no window is shown. At first I thought that vnc server is shutdown or the user has been logged off. But with remote desktop connection one more time, I see that windows are open and vnc server is running. Any idea? Regards, Mahmood ___ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel
Re: [FreeRDP-devel] Problem setting up a VNC server while RDP is not connected
>Might be simply that the vnc server runs in user context and the login is >disconnected after rdp close? >It works while the rdp session is running, correct? Yes. it is working while RDP is up. Regards, Mahmood ___ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel
[FreeRDP-devel] Problem setting up Ninja
Hi, I am trying to build FreeRDP from source. But setting up the Ninja program is not clear as described in the manual https://github.com/FreeRDP/FreeRDP/wiki/Compilation#openh264 I have run the following commands: [root@hpc FreeRDP]# pip3 install meson [root@hpc FreeRDP]# meson setup ERROR: Must specify at least one directory name. How can I fix that? Regards, Mahmood ___ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel
Re: [FreeRDP-devel] Problem setting up Ninja
OK. I did but still get the same error [root@hpc ~]# git clone https://github.com/cisco/openh264.git Cloning into 'openh264'... remote: Enumerating objects: 38701, done. remote: Total 38701 (delta 0), reused 0 (delta 0), pack-reused 38701 Receiving objects: 100% (38701/38701), 123.85 MiB | 21.00 KiB/s, done. Resolving deltas: 100% (24050/24050), done. [root@hpc ~]# cd openh264/ [root@hpc openh264]# meson setup ERROR: Must specify at least one directory name. Regards, Mahmood On Friday, October 11, 2019, 2:56:26 PM GMT+3:30, Bernhard Miklautz wrote: I'm not entirely sure what directory you are in but the meson part is for OpenH264. FreeRDP itself uses cmake. So possibly you are not in the openh264 directory? If you follow the instructions from: https://github.com/FreeRDP/FreeRDP/wiki/Compilation#building The OpenH264 build should be executed in the "openh264", OpenSSL in the "openssl" and FreeRDP itself in the freerdp directory. Best regards, Bernhard ___ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel
Re: [FreeRDP-devel] Problem setting up Ninja
I am using centos 7 and installed "pip3 install meson" to be able to run meson command.But make works in openh264/ Is that fine? Anyway, I installed ninja via yum repositories. Also, I installed ffmpeg related packages from nux-dextop repo. yum install ffmpeg-devel ffmpeg gsm-devel faad2-devel faad2 faac faac-devel Please verify that ffmpeg is installed as below # yum list ffmpeg* Installed Packages ffmpeg.x86_64 2.8.15-2.el7.nux @nux-dextop ffmpeg-devel.x86_64 2.8.15-2.el7.nux @nux-dextop ffmpeg-libs.x86_64 2.8.15-2.el7.nux @nux-dextop Available Packages ffmpeg-compat.x86_64 0.6.7-9.el7.nux nux-dextop ffmpeg-compat-debuginfo.x86_64 0.6.7-9.el7.nux nux-dextop ffmpeg-compat-devel.x86_64 0.6.7-9.el7.nux nux-dextop ffmpeg-debuginfo.x86_64 2.8.15-2.el7.nux nux-dextop ffmpeg2theora.x86_64 0.30-1.el7.nux nux-dextop ffmpeg2theora-debuginfo.x86_64 0.30-1.el7.nux nux-dextop ffmpegthumbnailer.x86_64 2.0.9-1.el7.nux nux-dextop ffmpegthumbnailer-debuginfo.x86_64 2.0.9-1.el7.nux nux-dextop ffmpegthumbnailer-devel.x86_64 2.0.9-1.el7.nux nux-dextop Regards, Mahmood On Friday, October 11, 2019, 4:34:53 PM GMT+3:30, Bernhard Miklautz wrote: Hi, On Fri, Oct 11, 2019 at 12:39:23PM +, Mahmood Naderan wrote: > [root@hpc ~]# git clone https://github.com/cisco/openh264.git > [root@hpc ~]# cd openh264/ > [root@hpc openh264]# meson setup > > ERROR: Must specify at least one directory name. you can possibly just use the old build system. Just try with make If that also doesn't work refer to the openh264 README.md https://github.com/cisco/openh264/blob/master/README.md So long, Bernhard ___ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel
Re: [FreeRDP-devel] Problem setting up Ninja
Excuse me, the previous email was not complete. Although ffmeg is installed, cmake command fails to detect that. Please see below [root@hpc FreeRDP]# cmake -GNinja -DCHANNEL_URBDRC=ON -DWITH_DSP_FFMPEG=ON -DWITH_CUPS=ON -DWITH_PULSE=ON -DWITH_FAAC=ON -DWITH_FAAD2=ON -DWITH_GSM=ON . CMake Warning at cmake/ClangFormat.cmake:14 (message): clang-format not found in path! code format target not available. Call Stack (most recent call first): CMakeLists.txt:55 (include) FREERDP_VERSION=2.0.0-dev5 -- Git Revision 799685c -- GCC default symbol visibility: hidden -- Finding recommended feature libsystemd for systemd journal appender (allows to export wLog to systemd journal) -- Disable feature libsystemd using "-DWITH_LIBSYSTEMD=OFF" -- Finding recommended feature X11 for X11 (X11 client and server) -- Disable feature X11 using "-DWITH_X11=OFF" -- Finding recommended feature Wayland for Wayland (Wayland client) -- Disable feature Wayland using "-DWITH_WAYLAND=OFF" -- Finding required feature ZLIB for compression (data compression) -- Finding required feature OpenSSL for cryptography (encryption, certificate validation, hashing functions) -- Skipping optional feature MbedTLS for cryptography (encryption, certificate validation, hashing functions) -- Enable feature MbedTLS using "-DWITH_MBEDTLS=ON" -- Skipping optional feature OpenSLES for multimedia (OpenSLES audio / video) -- Enable feature OpenSLES using "-DWITH_OPENSLES=ON" -- Finding recommended feature OSS for sound (audio input, audio output and multimedia redirection) -- Disable feature OSS using "-DWITH_OSS=OFF" -- Found OSS Audio -- Finding recommended feature ALSA for sound (audio input, audio output and multimedia redirection) -- Disable feature ALSA using "-DWITH_ALSA=OFF" -- Finding optional feature Pulse for sound (audio input, audio output and multimedia redirection) -- Finding optional feature Cups for printing (printer device redirection) -- Skipping optional feature PCSC for smart card (smart card device redirection) -- Enable feature PCSC using "-DWITH_PCSC=ON" -- Skipping recommended feature FFmpeg for multimedia (multimedia redirection, audio and video playback) -- Skipping optional feature GStreamer_0_10 for multimedia (multimedia redirection, audio and video playback, gstreamer 0.10 version) -- Enable feature GStreamer_0_10 using "-DWITH_GSTREAMER_0_10=ON" -- Skipping recommended feature GStreamer_1_0 for multimedia (multimedia redirection, audio and video playback) -- Skipping optional feature JPEG for codec (use JPEG library) -- Enable feature JPEG using "-DWITH_JPEG=ON" -- Skipping optional feature x264 for codec (use x264 library) -- Enable feature x264 using "-DWITH_X264=ON" -- Skipping optional feature OpenH264 for codec (use OpenH264 library) -- Enable feature OpenH264 using "-DWITH_OPENH264=ON" -- Finding optional feature GSM for codec (GSM audio codec library) -- Skipping optional feature LAME for codec (lame MP3 audio codec library) -- Enable feature LAME using "-DWITH_LAME=ON" -- Finding optional feature FAAD2 for codec (FAAD2 AAC audio codec library) -- Finding optional feature FAAC for codec (FAAC AAC audio codec library) -- Skipping optional feature soxr for codec (SOX audio resample library) -- Enable feature soxr using "-DWITH_SOXR=ON" -- Skipping optional feature GSSAPI for auth (add kerberos support) -- Enable feature GSSAPI using "-DWITH_GSSAPI=ON" CMake Error at CMakeLists.txt:882 (message): FFMPEG support requested but not detected -- Configuring incomplete, errors occurred! See also "/root/FreeRDP/CMakeFiles/CMakeOutput.log". See also "/root/FreeRDP/CMakeFiles/CMakeError.log". Regards, Mahmood On Friday, October 11, 2019, 5:41:06 PM GMT+3:30, Mahmood Naderan wrote: I am using centos 7 and installed "pip3 install meson" to be able to run meson command.But make works in openh264/ Is that fine? Anyway, I installed ninja via yum repositories. Also, I installed ffmpeg related packages from nux-dextop repo. yum install ffmpeg-devel ffmpeg gsm-devel faad2-devel faad2 faac faac-devel Please verify that ffmpeg is installed as below # yum list ffmpeg* Installed Packages ffmpeg.x86_64 2.8.15-2.el7.nux @nux-dextop ffmpeg-devel.x86_64 2.8.15-2.el7.nux @nux-dextop ffmpeg-libs.x86_64 2.8.15-2.el7.nux @nux-dextop Available Packages ffmpeg-compat.x86_64 0.6.7-9.el7.nux nux-dextop ffmpeg-compat-debuginfo.x86_64 0.6.7-9.el7.nux nux-dextop ffmpeg-compat-devel.x86_64 0.6.7-9.el7.nux nux-dextop ffmpeg-debuginfo.x86_64 2.8.15-2.el7.nux nux-dextop ffmpeg2theora.x86_64
Re: [FreeRDP-devel] Problem setting up Ninja
No idea?I have stuck at this step. Regards, Mahmood On Friday, October 11, 2019, 5:43:36 PM GMT+3:30, Mahmood Naderan via FreeRDP-devel wrote: Excuse me, the previous email was not complete. Although ffmeg is installed, cmake command fails to detect that. Please see below [root@hpc FreeRDP]# cmake -GNinja -DCHANNEL_URBDRC=ON -DWITH_DSP_FFMPEG=ON -DWITH_CUPS=ON -DWITH_PULSE=ON -DWITH_FAAC=ON -DWITH_FAAD2=ON -DWITH_GSM=ON . CMake Warning at cmake/ClangFormat.cmake:14 (message): clang-format not found in path! code format target not available. Call Stack (most recent call first): CMakeLists.txt:55 (include) FREERDP_VERSION=2.0.0-dev5 -- Git Revision 799685c -- GCC default symbol visibility: hidden -- Finding recommended feature libsystemd for systemd journal appender (allows to export wLog to systemd journal) -- Disable feature libsystemd using "-DWITH_LIBSYSTEMD=OFF" -- Finding recommended feature X11 for X11 (X11 client and server) -- Disable feature X11 using "-DWITH_X11=OFF" -- Finding recommended feature Wayland for Wayland (Wayland client) -- Disable feature Wayland using "-DWITH_WAYLAND=OFF" -- Finding required feature ZLIB for compression (data compression) -- Finding required feature OpenSSL for cryptography (encryption, certificate validation, hashing functions) -- Skipping optional feature MbedTLS for cryptography (encryption, certificate validation, hashing functions) -- Enable feature MbedTLS using "-DWITH_MBEDTLS=ON" -- Skipping optional feature OpenSLES for multimedia (OpenSLES audio / video) -- Enable feature OpenSLES using "-DWITH_OPENSLES=ON" -- Finding recommended feature OSS for sound (audio input, audio output and multimedia redirection) -- Disable feature OSS using "-DWITH_OSS=OFF" -- Found OSS Audio -- Finding recommended feature ALSA for sound (audio input, audio output and multimedia redirection) -- Disable feature ALSA using "-DWITH_ALSA=OFF" -- Finding optional feature Pulse for sound (audio input, audio output and multimedia redirection) -- Finding optional feature Cups for printing (printer device redirection) -- Skipping optional feature PCSC for smart card (smart card device redirection) -- Enable feature PCSC using "-DWITH_PCSC=ON" -- Skipping recommended feature FFmpeg for multimedia (multimedia redirection, audio and video playback) -- Skipping optional feature GStreamer_0_10 for multimedia (multimedia redirection, audio and video playback, gstreamer 0.10 version) -- Enable feature GStreamer_0_10 using "-DWITH_GSTREAMER_0_10=ON" -- Skipping recommended feature GStreamer_1_0 for multimedia (multimedia redirection, audio and video playback) -- Skipping optional feature JPEG for codec (use JPEG library) -- Enable feature JPEG using "-DWITH_JPEG=ON" -- Skipping optional feature x264 for codec (use x264 library) -- Enable feature x264 using "-DWITH_X264=ON" -- Skipping optional feature OpenH264 for codec (use OpenH264 library) -- Enable feature OpenH264 using "-DWITH_OPENH264=ON" -- Finding optional feature GSM for codec (GSM audio codec library) -- Skipping optional feature LAME for codec (lame MP3 audio codec library) -- Enable feature LAME using "-DWITH_LAME=ON" -- Finding optional feature FAAD2 for codec (FAAD2 AAC audio codec library) -- Finding optional feature FAAC for codec (FAAC AAC audio codec library) -- Skipping optional feature soxr for codec (SOX audio resample library) -- Enable feature soxr using "-DWITH_SOXR=ON" -- Skipping optional feature GSSAPI for auth (add kerberos support) -- Enable feature GSSAPI using "-DWITH_GSSAPI=ON" CMake Error at CMakeLists.txt:882 (message): FFMPEG support requested but not detected -- Configuring incomplete, errors occurred! See also "/root/FreeRDP/CMakeFiles/CMakeOutput.log". See also "/root/FreeRDP/CMakeFiles/CMakeError.log". Regards, Mahmood ___ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel
Re: [FreeRDP-devel] Problem setting up Ninja
>It is hard to answer if you only state what you see if a command fails without >the actual command. I actually pasted the command+output in my previous email. Anyway, let me state in a different way. On Centos 7, I have installed ffmpeg related packages from a third-party repo named nux-dextop. [root@hpc FreeRDP]# yum list ffmpeg* Installed Packages ffmpeg.x86_64 2.8.15-2.el7.nux @nux-dextop ffmpeg-devel.x86_64 2.8.15-2.el7.nux @nux-dextop ffmpeg-libs.x86_64 2.8.15-2.el7.nux @nux-dextop Available Packages ffmpeg-compat.x86_64 0.6.7-9.el7.nux nux-dextop ffmpeg-compat-debuginfo.x86_64 0.6.7-9.el7.nux nux-dextop ffmpeg-compat-devel.x86_64 0.6.7-9.el7.nux nux-dextop ffmpeg-debuginfo.x86_64 2.8.15-2.el7.nux nux-dextop ffmpeg2theora.x86_64 0.30-1.el7.nux nux-dextop ffmpeg2theora-debuginfo.x86_64 0.30-1.el7.nux nux-dextop ffmpegthumbnailer.x86_64 2.0.9-1.el7.nux nux-dextop ffmpegthumbnailer-debuginfo.x86_64 2.0.9-1.el7.nux nux-dextop ffmpegthumbnailer-devel.x86_64 2.0.9-1.el7.nux nux-dextop Now, when I run cmake command for FreeRDP, it says that ffmped is requested but not detected. So, why it doesn't detect the system installed libraries? [root@hpc FreeRDP]# cmake -GNinja -DCHANNEL_URBDRC=ON -DWITH_DSP_FFMPEG=ON -DWITH_CUPS=ON -DWITH_PULSE=ON -DWITH_FAAC=ON -DWITH_FAAD2=ON -DWITH_GSM=ON . CMake Warning at cmake/ClangFormat.cmake:14 (message): clang-format not found in path! code format target not available. Call Stack (most recent call first): CMakeLists.txt:55 (include) FREERDP_VERSION=2.0.0-dev5 -- Git Revision 799685c -- GCC default symbol visibility: hidden -- Finding recommended feature libsystemd for systemd journal appender (allows to export wLog to systemd journal) -- Disable feature libsystemd using "-DWITH_LIBSYSTEMD=OFF" -- Finding recommended feature X11 for X11 (X11 client and server) -- Disable feature X11 using "-DWITH_X11=OFF" -- Finding recommended feature Wayland for Wayland (Wayland client) -- Disable feature Wayland using "-DWITH_WAYLAND=OFF" -- Finding required feature ZLIB for compression (data compression) -- Finding required feature OpenSSL for cryptography (encryption, certificate validation, hashing functions) -- Skipping optional feature MbedTLS for cryptography (encryption, certificate validation, hashing functions) -- Enable feature MbedTLS using "-DWITH_MBEDTLS=ON" -- Skipping optional feature OpenSLES for multimedia (OpenSLES audio / video) -- Enable feature OpenSLES using "-DWITH_OPENSLES=ON" -- Finding recommended feature OSS for sound (audio input, audio output and multimedia redirection) -- Disable feature OSS using "-DWITH_OSS=OFF" -- Found OSS Audio -- Finding recommended feature ALSA for sound (audio input, audio output and multimedia redirection) -- Disable feature ALSA using "-DWITH_ALSA=OFF" -- Finding optional feature Pulse for sound (audio input, audio output and multimedia redirection) -- Finding optional feature Cups for printing (printer device redirection) -- Skipping optional feature PCSC for smart card (smart card device redirection) -- Enable feature PCSC using "-DWITH_PCSC=ON" -- Skipping recommended feature FFmpeg for multimedia (multimedia redirection, audio and video playback) -- Skipping optional feature GStreamer_0_10 for multimedia (multimedia redirection, audio and video playback, gstreamer 0.10 version) -- Enable feature GStreamer_0_10 using "-DWITH_GSTREAMER_0_10=ON" -- Skipping recommended feature GStreamer_1_0 for multimedia (multimedia redirection, audio and video playback) -- Skipping optional feature JPEG for codec (use JPEG library) -- Enable feature JPEG using "-DWITH_JPEG=ON" -- Skipping optional feature x264 for codec (use x264 library) -- Enable feature x264 using "-DWITH_X264=ON" -- Skipping optional feature OpenH264 for codec (use OpenH264 library) -- Enable feature OpenH264 using "-DWITH_OPENH264=ON" -- Finding optional feature GSM for codec (GSM audio codec library) -- Skipping optional feature LAME for codec (lame MP3 audio codec library) -- Enable feature LAME using "-DWITH_LAME=ON" -- Finding optional feature FAAD2 for codec (FAAD2 AAC audio codec library) -- Finding optional feature FAAC for codec (FAAC AAC audio codec library) -- Skipping optional f
Re: [FreeRDP-devel] Problem setting up Ninja
> Where are the headers installed to? > We use cmake (and pkgconfig) to get the location, so this means: >* no cmake/pkgconfig from that repo >* some non default location (/opt?) >* missing components (is everything build in?) >* version too old (sorry, don't know current min) > >Anyway, why use it over openh264 (far easier to build)? >There should even be a repo for centos. No I didn't used OpenH264. Actually the error is about ffmpeg. I don't know why point to openh264.The commands I used are # flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo # git clone git://github.com/FreeRDP/FreeRDP.git # cd FreeRDP/ # flatpak install flathub org.freedesktop.Platform//18.08 # flatpak install flathub org.freedesktop.Sdk//18.08 # cd packaging/flatpak/ # rm -rf shared-modules/ # git clone https://github.com/flathub/shared-modules # cd ../.. # flatpak-builder ./flat packaging/flatpak/com.freerdp.FreeRDP.json # yum install gcc cmake ninja-build openssl-devel libX11-devel libXext-devel libXinerama-devel libXcursor-devel \ libXi-devel libXdamage-devel libXv-devel libxkbfile-devel alsa-lib-devel cups-devel ffmpeg-devel glib2-devel Then I installed additional packages # yum install ninja-build ffmpeg-devel ffmpeg gsm-devel faad2-devel faad2 faac faac-devel ffmpeg files are in standard locations according to repoquery.For example, /usr/include/ffmpeg/libavutil/common.h /usr/lib64/libavformat.so.52 and so on. Regards, Mahmood ___ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel
Re: [FreeRDP-devel] Problem setting up Ninja
>Wait, what? You already have build a flatpak, why continue with the `yum >install ...`? Might just install that. In the compilation page https://github.com/FreeRDP/FreeRDP/wiki/Compilation#install-the-suggested-base-dependencies it is stated that yum dependencies should be install prior to cmake command. I think things are now messy. Can you please say which steps I did correctly? Then I will revert the afterward steps. Regards, Mahmood ___ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel