xfreerdp ignores resolution parameter

21,797

Solution 1

I had got the same problem for a long time with xfreerdp in Debian 7. It's a bug because I finally found the reason which concerns the positional parameters on the command line!

-g option is always ignored when after -d option!

Here's my test :

-g option fails when after -d option

-g option succeeds when after -x -a or -u option

Hope this will help...


EDIT : -t option and -p option fail after -d option

So the rule is : option -d must be the last on the command line!

Solution 2

In the recent version that I have (version 2.0.0-rc4), one should use /size:WxH option:

    /size:...   Screen size

The -g and -geometry options are used for other purposes:

    /g:<gateway>[:<port>]       Gateway Hostname

    /geometry                   Geometry tracking channel
Share:
21,797

Related videos on Youtube

Vitas
Author by

Vitas

Updated on September 18, 2022

Comments

  • Vitas
    Vitas over 1 year

    I cannot connect to a server with a custom screen resolution set If I use command xfreerdp servername -g 1280x1024 it connects but the resolution is 1024x768. Xfreerdp just carelessly ignores the -g parameter. Any ideas how to fix it or some suggestions for alternative RDP client? It is freerdp-x11 1.0.1-1ubuntu7 amd64 RDP client for Windows Terminal Services

    and I use Ubuntu 12.10 64bit. Thanks

  • iled
    iled almost 8 years
    This was also helpful to me, thanks. Just to make it clear -- even if not using the -d parameter explicitly, one should add the server in the end, e.g., xfreerdp -u username -g 1280x1024 127.0.0.1.