WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: FreeRDP keyboard mapping issue - or upgrade to 1.0.2?  (Read 11032 times)

Offline guytechie

  • Newbie
  • *
  • Posts: 11
FreeRDP keyboard mapping issue - or upgrade to 1.0.2?
« on: November 23, 2012, 02:04:29 PM »
I have this issue:
https:// github.com /FreeRDP/FreeRDP/issues/446

I am using Xorg as I am aware it is required for FreeRDP.  Arrow keys not working correctly (left/right/up not working, down = Enter, the Insert/Delete/Home/End/PgUp/PgDn block of keys not working, right ALT and CTRL keys not working).

According to the post on FreeRDP's GIT site, the issue is fixed on version 1.0.2.  Can someone make it an extension for TC, please?  Or if it is an issue that can be fixed on my current version or FreeRDP (1.0.1), can someone please show me how?

Thanks.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: FreeRDP keyboard mapping issue - or upgrade to 1.0.2?
« Reply #1 on: November 23, 2012, 04:37:35 PM »
Hi guytechie
You could try forcing the keyboard ID using  xfreerdp -k ID
Enter   xfreerdp --kbd-list   for a list of supported keyboard IDs.

Offline guytechie

  • Newbie
  • *
  • Posts: 11
Re: FreeRDP keyboard mapping issue - or upgrade to 1.0.2?
« Reply #2 on: November 24, 2012, 10:57:56 PM »
Hi guytechie
You could try forcing the keyboard ID using  xfreerdp -k ID
Enter   xfreerdp --kbd-list   for a list of supported keyboard IDs.

I forgot to mention that I already tried this.  For US keyboard, I used 0x00000409

Strange thing I just noticed, if you use the keyboard (such as hit ESC to get out of the login screen, which ends the session), the next time you run FreeRDP, all keys works.

I wrote a script to run and connect to a server, after 5 seconds then used kill all xfreerdp, then reran FreeRDP...that did not work.  It has to have user interaction via keyboard, then end session, then reconnect.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: FreeRDP keyboard mapping issue - or upgrade to 1.0.2?
« Reply #3 on: November 25, 2012, 12:40:39 AM »
Poking in the mist, perhaps comparing which files change in the process might lead to a clue?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline guytechie

  • Newbie
  • *
  • Posts: 11
Re: FreeRDP keyboard mapping issue - or upgrade to 1.0.2?
« Reply #4 on: November 26, 2012, 09:14:31 PM »
This is odd.  I found out that after the first connection, the 2nd one works fine (all key mapped perfectly).

I then used Zenity to prompt for user/pass graphically, and that mitigated the problem.

I found a new problem: timezone.

The desktop session says the timezone is incorrect.  I tried to set the boot core options to my time zone (tz=CST, etc etc etc) based on the documentation and it still did not work.

Offline guytechie

  • Newbie
  • *
  • Posts: 11
Re: FreeRDP keyboard mapping issue - or upgrade to 1.0.2?
« Reply #5 on: November 28, 2012, 12:26:57 PM »
I decided to fix the issue on the session host server instead via GPO.

I created a logon script that basically queries for the timezone.  If it gives an error, I set it to Central Standard Time (use tzutil /l to list the actual time zone ID string to use).

Here's the script:

Code: [Select]
REM GET CURRENT TIMEZONE SETTING > PIPE TO FILE
tzutil /g > %userprofile%\tz-test.tmp

REM SEARCH FILE FOR SPECIFIC STRING (FAILED ERROR MSG)
find "TZUTIL: Failed to get the system time zone id." %userprofile%\tz-test.tmp

if %ERRORLEVEL% EQU 0 GOTO FOUND
if %ERRORLEVEL% EQU 1 GOTO NOTFOUND
if %ERRORLEVEL% EQU 2 GOTO NOTFOUND

:FOUND
REM IF FOUND, SET TIMEZONE ID
tzutil /s "Central Standard Time"
GOTO END


:NOTFOUND
GOTO END


:END
REM DELETE TEMP FILE WE CREATED EARLIER
del %userprofile%\tz-test.tmp

Offline guytechie

  • Newbie
  • *
  • Posts: 11
Re: FreeRDP keyboard mapping issue - or upgrade to 1.0.2?
« Reply #6 on: December 10, 2012, 11:46:56 AM »
I am still having keyboard problems.  All applications work fine except for the IBM Client Access (a 5250 terminal emulator).

I'm getting a PCSKBD110 - The system keyboard (type=0, subtype=0) is not supported.

It's definitely related to FreeRDP, but not sure how to fix it.

Between the time zone and keyboard locale not being redirected, I'm not sure if we can go forward with using FreeRDP as a solution. :'(

Can someone package up the latest stable version, as well as the latest dev version?  I heard there is a fix for the dev version:  https://github.com/FreeRDP/FreeRDP/issues/489
« Last Edit: December 10, 2012, 11:48:41 AM by guytechie »