Franklin Weng | 22 Dec 05:37 2014

Video is not smooth

Hi list,

We're now trying to port freerdp onto a TI board.  We ran xfreerdp command
on it and connected to a windows server 2012 R2.

It could work, but we found that when we play the video in a small window
on server 2012, the video is quite smooth displaying on our TI board.
However when we resized the windows to a large one, the video became slow
and not smooth anymore.

Here is how we test:

Original video :
Big Buck Bunny in 1920 x 1080 resolution and MP4 format.

Result video when playing it in a small windows :

Result video relatively large windows :

Here is how we build and run freerdp:

cmake command :
(Continue reading) | 19 Dec 09:26 2014

About wfreerdp crashed on Windows 7 problem

When I run wfreerdp (Debug version) command to connect windows 2008 R2 , it showed some info , and crashed .
Maybe there is some reason of windows 7 compliation.I want someone can give some recommendations.Thank you.

Run command:

Crashed infomation (screen shot: 'Run.jpg'):
[14:51:24:961] [87072:4160] [INFO][] - Debug console c 
[14:51:25:062] [87072:88388] [INFO][com.freerdp.core.nego] - Detecting if host c 
an be reached locally. - This might take some time. 
[14:51:25:062] [87072:88388] [INFO][com.freerdp.core.nego] - To disable auto det 
ection use /gateway-usage-method:direct 
N0R鲖Bl剉{|媁剉penc 0 88388] [ERROR][com.freerdp.core] - getaddrinfo: 鲖Bl剉 
[14:51:25:110] [87072:88388] [INFO][] - Certificate de 
[14:51:25:110] [87072:88388] [INFO][] - Subject: 
CN = 
[14:51:25:110] [87072:88388] [INFO][] - Issuer: 
DC = com, DC = landhightech, DC = corp, DC = vsdevel, CN = vsdevel-VSDEVPDC-CA 
[14:51:25:110] [87072:88388] [INFO][] - Thumbpri 
nt: 57:ff:41:d2:81:1b:06:2b:27:1b:e4:f9:4b:51:a6:a2:a3:92:ba:62 
(Continue reading) | 18 Dec 04:19 2014

master source code complied error in Mac OS X

I use master source code to compile , it failed.
error message info:
/Users/lhtx/Desktop/yszhang/FreeRDP-master-ac-2014-12-17/client/X11/xf_client.c:147:44: error: invalid argument type 'void' to unary expression
                if (XSubtractRegion(reg1, reg2, reg1) && !XEmptyRegion(reg1))

compiling env: Mac OS X 10.10
cmake version: 3.0
the compiling process:
-- The C compiler identification is AppleClang
-- The CXX compiler identification is AppleClang
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/local/port/bin/pkg-config (found version "0.28") 
-- FreeRDP GIT
-- Git Revision n/a
-- Performing Test Wno-deprecated-declarations
-- Performing Test Wno-deprecated-declarations - Success
-- Performing Test Wno-deprecated-declarationsCXX
-- Performing Test Wno-deprecated-declarationsCXX - Success
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
(Continue reading)

Vincent Sourin | 16 Dec 14:28 2014

Keyboard Layout problem


I've got a problem with FreeRDP x11 client and keyboard layout in a 
ThinLinc environnement (

Actually, I connect with the ThinLinc client to a Linux VM (Ubuntu 
14.04.1 LTS). In the Linux session (Gnome btw), my keyboard works as it 
should be.

# setxkbmap -query
rules:      evdev
model:      pc105
layout:     be,us
variant:    ,

But when I run xfreerdp from that Linux session, the keyboard inside 
Windows does not work as expected and more particularly the 'AltGr' key 
and some keypad keys which stop behaving correctly.

Here is a log file with -DWITH_DEBUG_XKB=ON
# xfreerdp -sec-nla /cert-ignore /v:IT-4
[14:17:01:302] [8732:-1003993344] [DEBUG][com.freerdp.locale] - display: 
[14:17:01:303] [8732:-1003993344] [DEBUG][com.freerdp.locale] - layouts: 
[14:17:01:303] [8732:-1003993344] [DEBUG][com.freerdp.locale] - variants: ,
[14:17:01:303] [8732:-1003993344] [DEBUG][com.freerdp.locale] - group: 0
[14:17:01:303] [8732:-1003993344] [DEBUG][com.freerdp.locale] - layout: be
[14:17:01:303] [8732:-1003993344] [DEBUG][com.freerdp.locale] - variant:
[14:17:01:303] [8732:-1003993344] [DEBUG][com.freerdp.locale] - 
(Continue reading)

Roberto R. | 15 Dec 10:23 2014

gfx memory leak

I'm testing latest master on Linux and Windows client machines connecting
to Windows 7, 8 and 8.1 virtual machines.
Connecting a Windows 8.1 virtual machine using the /gfx command line
switch, the performances are very good and a youtube video is played with
audio and video synchronized and with a good frame rate.
Unfortunately in this conditions (during the video play) both xfreerdp and
wfreerdp have huge memory leaks (like 2MB per second).
The command line on Linux is very basic: xfreerdp /gfx /sound /u:xxxxx
/p:xxxxx /v:hostname
I can start to look at the code with some suggestion were to focus the
Thank you
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
Kevin Saruwatari | 7 Dec 01:36 2014

/multimon Main Display?

Sorry if this is a noob question:
Is there a way to configure which monitor will become the main display?  I am using the /multimon option
with 2 monitors and Windows always makes the left one my main display.  
I have tried reversing the cables and of course, Windows doesn't let me configure it from an RDP session.  I
have an old application that always opens on the main and it has some secondary windows that jump around
when my main display is on the left.  Hence I would like to configure my right display as the main.

Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
FreeRDP-devel mailing list
FreeRDP-devel <at>

TS DEVICE CAL problem.

Hi, we have Remote Desktop Licensing Manager on Windows 2012 with some TS
DEVICE CAL. Client's connect to Terminal server (Windows 2012) via Zero
client (Thinstation via PXE) through freerdp. Problem is: clients pc's
through freerdp does'nt get they CAL but connects normally. With rdeskop
and native Windows RDP they get they DEVICE cal and displayed in Remote
Desktop Licensing Manager. We try old versions and new of freerdp. Please
explain- where could be the problem? Sorry for my english.
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
Jon Schneider | 10 Nov 20:09 2014

Re: RDP via gateway gets RPC_S_INVALID_TAG

I'm still having problems connecting to this tsgateway externally.  I
recompiled with debugging enabled to get a better idea of the output and
here is what I'm seeing (with some markup):

root <at> ubuntu:~/FreeRDP# xfreerdp /v:WORKSTATION /d:DOMAIN /u:USER
getaddrinfo: Name or service not known (it would appear that even though a
gateway was specified, it still tries to connect directly to the server)
[11:26:48:134] [28890:28891] [INFO][com.freerdp.core.gateway.rpc] -
rpc_vers: 82
[11:26:48:135] [28890:28891] [INFO][com.freerdp.core.gateway.rpc] -
rpc_vers_minor: 80
[11:26:48:135] [28890:28891] [INFO][com.freerdp.core.gateway.rpc] - ptype:
[11:26:48:135] [28890:28891] [INFO][com.freerdp.core.gateway.rpc] -
pfc_flags (0x5F) = {
[11:26:48:135] [28890:28891] [INFO][com.freerdp.core.gateway.rpc] -
[11:26:48:135] [28890:28891] [INFO][com.freerdp.core.gateway.rpc] -
[11:26:48:135] [28890:28891] [INFO][com.freerdp.core.gateway.rpc] -
[11:26:48:135] [28890:28891] [INFO][com.freerdp.core.gateway.rpc] -
[11:26:48:135] [28890:28891] [INFO][com.freerdp.core.gateway.rpc] -
[11:26:48:135] [28890:28891] [INFO][com.freerdp.core.gateway.rpc] -  }
[11:26:48:135] [28890:28891] [INFO][com.freerdp.core.gateway.rpc] -
packed_drep[4]: 49 4E 5F 44
[11:26:48:135] [28890:28891] [INFO][com.freerdp.core.gateway.rpc] -
(Continue reading)

Ryan Bair | 31 Oct 02:59 2014

Re: XDamage with Shadow Server

The regions under the mouse cursor are being updated at full blast. I
believe the issue is in x11_shadow_blend_cursor, disabling it drastically
reduces bandwidth usage. I'm suspecting the cursor is being added to the
image and then compared against the next frame which does not have the
cursor triggering an update. I haven't looked too closely as I'm hoping to
replace that functionality with client side pointer.

It looks like a lot of the machinery for sending the pointer updates to the
client are already in place, but just not wired up. All in all, it doesn't
look too terrible.

My real world C background is limited so forgive me if I'm off base with
this, but I'm not in love with the shadow_client_thread event loop. I
believe I'll need to add a `pointerEvent` handle to the
rdp_shadow_subsystem struct and events list (given to WaitForMultipleObjects),
another `if` to check the handle, and a pointer to the new pointer data so
I can send it the appropriate message to the client. I'm imagining that if
the list of handles grows as more features as added (sound, clipboard, etc)
that the struct and loop will get pretty scary.

Is my general procedure correct?

Could this loop be improved with something like libuv's inter-thread
communication facilities?

On Sat, Oct 25, 2014 at 10:45 AM, Marc-André Moreau <
marcandre.moreau <at>> wrote:

> Hi Ryan,
(Continue reading)

Nezam | 27 Oct 06:52 2014

[aFreeRDP-rdp file settings] Using the rdp file in Android/iOS Client

I am working on the android client,but it seems that clicking on the rdp 
file in android OS simply brings up the connection settings screen 
without filling in the details of the connection like host,username.

Expected scenario : Clicking on the rdp file automatically connects to 
the server.

Here are the rdp settings with which we tried it with:

screen mode id:i:2
use multimon:i:0
session bpp:i:32
connection type:i:2
disable wallpaper:i:0
allow font smoothing:i:1
allow desktop composition:i:1
disable full window drag:i:0
disable menu anims:i:0
disable themes:i:0
disable cursor setting:i:0
(Continue reading)

Ryan Bair | 24 Oct 04:49 2014

XDamage with Shadow Server

I found some unused code which makes use of XDamage but is no longer used.
There are two commits that removed the functionality:

Can anyone shed light on the history of this or if its worth while to
attempt to re-enable XDamage/Fixes? I know some compositing window managers
had issues a while ago but I thought we had that all behind us.