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@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,
Helmer Teles
helmer [DOT] teles at Google Email Server Web Page: http://hteles.wordpress.com