FreeRDP icon indicating copy to clipboard operation
FreeRDP copied to clipboard

Muli-monitor support appears to be busted with the latest build

Open m34nbunny opened this issue 11 years ago • 21 comments

Hey All,

The multimon feature used to work flawlessly. However, with the latest build from source when I use the command, it goes full screen on my left monitor but doesn't even show up on the right monitor. Any suggestions? I am running Ubuntu GNOME 15.04 and have pulled the latest build from source. Connecting up to a Windows 8.1 Pro virtual machine.

Below is my command

xfreerdp /title:mm-local-desk2 +wallpaper +clipboard /multimon /sound:sys:pulse /microphone:sys:pulse /usb:id,dev:18d1:4ee2 /v:192.168.56.110

Thanks!

m34nbunny avatar Jun 30 '15 13:06 m34nbunny

@meanbunny what version are you referring to with "now"? - What Windows version you are connecting to?

bmiklautz avatar Jun 30 '15 13:06 bmiklautz

Connecting up to the same Windows 8.1 Pro virtual that I always have been. I am aware multimon support isn't on all Windows versions. Now refers to the latest code build, ive updated my issue with some more detail

m34nbunny avatar Jun 30 '15 14:06 m34nbunny

@meanbunny latest code as in master? - If did you observe what the last working version was?

bmiklautz avatar Jun 30 '15 14:06 bmiklautz

Looks like I have this for the version number. I unfortunately didn't check what I had before, wish I had now.

This is FreeRDP version 1.2.4-dev (git cc4b5f9)

m34nbunny avatar Jun 30 '15 20:06 m34nbunny

@meanbunny thanks for the update. I quickly tried today and saw the exact same behavior you've reported.

bmiklautz avatar Jun 30 '15 21:06 bmiklautz

@bmiklautz Ah ok cool, glad it wasn't just my local setup lol

m34nbunny avatar Jun 30 '15 22:06 m34nbunny

... and a reminder to fill in the blanks here: https://github.com/FreeRDP/FreeRDP/wiki/Quality-Assurance-(QA)#fullscreen

nfedera avatar Jun 30 '15 22:06 nfedera

I think the issue is related to #2707

giovannitarter avatar Jul 03 '15 07:07 giovannitarter

Have you tried /multimon:force ?

LGLumi avatar Jul 03 '15 10:07 LGLumi

I tried with /multimon:force but it did not solve the issue. The fullscreen window was on the primary monitor only.

giovannitarter avatar Jul 03 '15 16:07 giovannitarter

Shame... I have no problem with that in Windows 2012... So, I guess it's related to Windows 8.1 only then - line in issue you linked.

LGLumi avatar Jul 06 '15 11:07 LGLumi

@LGLumi I could reproduce the problem with window7 so it's there as well.

bmiklautz avatar Jul 06 '15 12:07 bmiklautz

I experience the problem also connecting to Windows 2012

giovannitarter avatar Jul 06 '15 12:07 giovannitarter

@bmiklautz Well, there are few difference between what is described here and how am I using it. First of all, I don't use /title and I use FreeRDP on Debian Wheezy. (I use many things in addition such as gdi:hw /rfx -decorations ... rest are not graphicaly related at all.. so not mentioning ... but it works, now depends if it's compatibility issue or matter of additional stuff..)

LGLumi avatar Jul 08 '15 06:07 LGLumi

@LGLumi I'v tested/reproduced this with a very simple command line almost without extra options. Maybe you can also add your command line for comparison?

bmiklautz avatar Jul 08 '15 15:07 bmiklautz

@bmiklautz I will try. Need to some things and will do, hopefully today.

LGLumi avatar Jul 08 '15 15:07 LGLumi

@bmiklautz @meanbunny I just tried it and nothing. Had to add just -sec-nla due to Windows Server 2012, but I have left rest as meanbunny. Both monitors worked fine. But I am using really excesive build options, so that might make difference while I work... You might want to try that build but seriously you will get more than you need I guess, but it's worth a try I guess:

cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/freerdp-git -DWITH_PCSC=ON -DWITH_CUPS=ON -DCHANNEL_CLIPRDR_SERVER=ON -DCHANNEL_DRDYNVC_SERVER=ON -DCHANNEL_DRIVE_SERVER=ON -DCHANNEL_ECHO_SERVER=ON -DCHANNEL_PARALLEL_SERVER=ON -DCHANNEL_PRINTER=ON -DCHANNEL_RAIL_SERVER=ON -DCHANNEL_RDPDR_SERVER=ON -DCHANNEL_RDPEI_SERVER=ON -DCHANNEL_SAMPLE=ON -DCHANNEL_SERIAL_SERVER=ON -DCHANNEL_SMARTCARD=ON -DCHANNEL_TSMF_SERVER=ON -DCHANNEL_URBDRC=ON -DWITH_MANPAGES=OFF -DCHANNEL_DISP_SERVER=ON -DCHANNEL_PRINTER_CLIENT=ON -DCHANNEL_PRINTER_SERVER=ON -DCHANNEL_RDPGFX_SERVER=ON -DCHANNEL_SMARTCARD_CLIENT=ON -DCHANNEL_SMARTCARD_SERVER=ON -DCHANNEL_URBDRC_CLIENT=ON -DCHANNEL_URBDRC_SERVER=ON -DWITH_GSM=OFF -DWITH_PULSE=ON -DWITH_SERVER=ON -DWITH_THIRD_PARTY=ON -DWITH_PROFILER=ON -DWITH_FFMPEG=ON -DWITH_JPEG=ON -DWITH_DIRECTFB=OFF -DWITH_GPROF=ON -DWITH_IPP=OFF -DWITH_DEBUG_ALL=ON

Ehm, I think this "-DCHANNEL_SAMPLE=ON" will get excluded, or at least I remember it did it for me while this option probably does not exist anymore.

LGLumi avatar Jul 08 '15 16:07 LGLumi

I posted this on the other thread (https://github.com/FreeRDP/FreeRDP/issues/2707#issuecomment-152856281) - thought you guys may find it useful also: I was able to rollback client/X11/xf_window.c to eb14ab15f5bca5751d8a71965f31509d4c3b176b and recompile to make FreeRDP start in fullscreen mode across all monitors again. Not sure what all ramifications that might have - perhaps @nfedera could weigh in on this?

cmsmith1977 avatar Nov 03 '15 02:11 cmsmith1977

@cmsmith1977 see my answer in https://github.com/FreeRDP/FreeRDP/issues/2707#issuecomment-153721965

nfedera avatar Nov 04 '15 13:11 nfedera

(Apologies in advance for those that are unable to upgrade & will need to figure a way of patching the old behaviour back)

I have multimonitor support working well with gnome 3.20 under xenial & 6th Oct build of master (uncomplicated build flags). Seems to work fine assigning 2 of 3 real monitors to the rdp session, Using: /multimon /monitors:1,2 +aero +fonts +window-drag +menu-anims +decorations +smart-sizing

Windows 7 sees both monitors correctly & uses them fullscreen at the client's native resolution. No problem that monitors are oriented differently (horizontal & vertical). It behaves exactly as if the monitors are directly attached [in fullscreen mode]

Scales intelligently enough when not running fullscreen & can be stretched across multiple monitors, although with the H&V orientation that's hard to use (but that's my edge case & it gives a sensible & expected behaviour).

caramorsimon avatar Oct 07 '16 09:10 caramorsimon