[X2Go-Dev] Fullscreen RDP sessions with X2Go
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Tue Jul 3 16:24:55 CEST 2012
Hi Helmer,
On Di 03 Jul 2012 16:09:23 CEST Helmer Teles wrote:
> On Tuesday 03 July 2012 15:53:24 Mike Gabriel wrote:
>> Hi John (Sullivan),
>>
>> I currently try to provide Windows 2008 Terminal Services through X2Go
>> and I stumbled over an issue I was not aware of.
>>
>> In fullscreen mode the X2Go client-side does not get a keyboard grab
>> on the rdesktop session window. I can move+click with the mouse, I can
>> view the rdesktop login screen, but I cannot type. This is with
>> pyhoca-gui and x2goclient. The problem does not occur with rdesktop
>> running in a Window (rootless, but not fullscreen).
>>
>> I then hacked PyHoca-GUI a little and launched rdesktop (-f) not as a
>> rootless application (which is the default), but inside an agent
>> desktop session (type "D"). Then the keyboard grab is there.
>>
>> Have you an idea on this? I know that you provide RDP session through
>> X2Go quite often.
>>
>> Thanks for any info,
>> Mike
>
> Hi Mike,
>
> although i don't use rdesktop but FreeRDP i've had that problem some
> time ago.
> The way i've managed to do it was by calling a script that do some stuff and
> instead of calling freerdp -f ( fullscreen ) it calls it with a windows the
> size of the root window.
>
> Something like this:
>
> #!/bin/bash
>
> # Script para Proxy RDP com optimização de trafego e
> # Sem necessidade de usar um Gateway Windows
> # ou Expor portas rdp directamente cá fora
> # Impressora funciona como PDF - nao tem problemas de compatibilidade
> # Se existir um ficheiro ~/.ssh/hostname ele usará esse hostname ( requerido
> por algumas
> # aplicações como o Primavera por exemplo para controle de postos.
> #
> # Tecnologias de Base: X2GO-DEV; Xfreerdp-DEV
> # 2011 hteles at spikecs.pt
>
> SCRIPTNAME=`basename $0`
> LOGFILE="${HOME}/.$SCRIPTNAME.log"
> SERVER=${SCRIPTNAME}
> PORT="3389"
> SOUND="off"
> MOUNTPOINT="${HOME}/media/disk"
> # Newest xfreerdp git versions have a bug with full screen ( -f ) under
> nxagent
> DSIZE=`xdpyinfo |grep -i dimensions|awk '{print $2}'`
> PRINTER=`lpstat -d |cut -d ':' -f 2 |tr -d ' '`
>
> ...
>
>
> open_rdp()
> {
>
> setxkbmap -model pc105 -layout pt
> setxkbmap -model pc105 -layout pt
> KEYB="0x00000816"
> COMMAND=" -d Domain -x 3 -z -g ${DSIZE} -k ${KEYB} --gdi hw -n
> ${USERHOSTNAME} --sec rdp ${FINALSTRG
> } ${SERVER}:${PORT}"
>
>
> Hope that this helps you,
Can you provide the whole script? It feels like this (or something
very much like this) should become part of X2Go upstream.
Thanks+Greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148
GnuPG Key ID 0xB588399B
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20120703/30d598c2/attachment.pgp>
More information about the x2go-dev
mailing list