> > > On Fri, Jan 20, 2017 at 1:48 PM, Antonio Trujillo Carmona < > antonio.trujillo.s...@juntadeandalucia.es> wrote: > >> First congratulation for your work. >> I need start xfreerdp2 in full screen, multimonitor, but I need that the >> primary monitor is assigned to the right one. >> I download form git (folowing your instruction in the wiki), modify >> "FreeRDP/client/X11/xf_monitor.c". >> I only comment out the first part of deciding which monitor is primary >> .../... >> /* If there are multiple monitors and we have not selected a >> primary */ >> if (!primaryMonitorFound) >> { >> /* First lets try to see if there is a monitor with a 0,0 >> coordinate */ >> /* for (i = 0; i < settings->MonitorCount; i++) >> { >> if (!primaryMonitorFound && >> settings->MonitorDefArray[i].x == 0 >> && settings->MonitorDefArray[i].y == 0) >> { >> settings->MonitorDefArray[i].is_primary = TRUE; >> settings->MonitorLocalShiftX = >> settings->MonitorDefArray[i].x; >> settings->MonitorLocalShiftY = >> settings->MonitorDefArray[i].y; >> primaryMonitorFound = TRUE; >> } >> } >> >> /* If we still do not have a primary monitor then just >> arbitrarily choose first monitor */ >> if (!primaryMonitorFound) >> { >> settings->MonitorDefArray[0].is_primary = TRUE; >> settings->MonitorLocalShiftX = >> settings->MonitorDefArray[0].x; >> settings->MonitorLocalShiftY = >> settings->MonitorDefArray[0].y; >> primaryMonitorFound = TRUE; >> } >> } >> >> >> .../... >> I compiled it with no error and the goal is get. >> but is I try to redirect a printer with /printer:"$NOMB_IMP","$CONT_IMP" >> I got: >> .../... >> [ERROR][com.winpr.library] - LoadLibraryA: >> /usr/local/lib/freerdp2/libprinter-client.so: no se puede abrir el >> fichero del objeto compartido: No existe el fichero o el directorio >> .../... >> >> for redirect usb I got other error similar but with different library. >> >> Is there some missing parameter at compiling time or in cmake? >> >> Sorry for my bad english but I'm spanish. >> -- >> >> *Antonio Trujillo Carmona* >> >> *Técnico de redes y sistemas.* >> >> *Subdirección de Tecnologías de la Información y Comunicaciones* >> >> Servicio Andaluz de Salud. Consejería de Salud de la Junta de Andalucía >> >> _antonio.trujillo.sspa@juntadeandalucia.es_ >> >> Tel. +34 670947670 747670) >> >> >> >> >> ------------------------------------------------------------ >> ------------------ >> 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 >>
El 20/01/17 a las 19:30, Jaime Crespo escribió: > Hello, > > If you are using an rdp file try to disable all redirects:i:0 and enable > multimon option via cmdline: > https://github.com/FreeRDP/FreeRDP/wiki/CommandLineInterface > > Hope it helps, No I don't use a rdp file I start in from a script with the line: /usr/local/bin/xfreerdp /sec:rdp /cert-ignore /f /toggle-fullscreen:off /monitors:0,1 /multimon:force /d:HVN /u:"" \ /v:"$SERVIDOR".hvn.sas.junta-andalucia.es /rfx /sound:sys:alsa /microphone:sys:alsa /drive:equipo,/mnt/informacion/ \ # /printer:"$NOMB_IMP","$CONT_IMP" printer is coment out because I can't compiling plugins. previously, in .xinitrc, y make: /usr/bin/xrandr --output DP1 --primary --mode 1920x1080 --rate 60.00 --pos 4096x1080 --output HDMI2 --mode 4096x2160 --rate 24.00 --pos 0x0 But in code, freerdp always select like primary monitor the monitor who have the coordinate 0x0, so I need comment out this part, secondary if the don't found the monitor the select like primary monitor the primary of the array one. This secondary option work fine and, for mi, is a better solution that impose 0x0 like primary. Phiscally the left one in a big (60" TV) screen in witch some pictures is show, working monitor is on right side so it must be primary for windows, both are in a furniture so is impossible change it. so: How can I compile the plugins? I wish change the way of select primary monitor, with a parameter first, with a array second or in the last time which one have 0x0. -- *Antonio Trujillo Carmona* *Técnico de redes y sistemas.* *Subdirección de Tecnologías de la Información y Comunicaciones* Servicio Andaluz de Salud. Consejería de Salud de la Junta de Andalucía _antonio.trujillo.sspa@juntadeandalucia.es_ Tel. +34 670947670 747670) ------------------------------------------------------------------------------ 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