Nested RDP and VMWare and ILO console sessions: keystroke repetition and latency

Solution 1:

Whereas an SSH connection transmits keystrokes, an HP ILO connection transmits key states. Each time you press a key, the server receives separate KeyDown and KeyUp events. The repeated keystrokes result when the KeyUp event is received late.

The two most likely reasons for the KeyUp event to be received late are:

  1. Network congestion/performance issues.
  2. Poor performance of the client system initiating the ILO connection. If the client is a virtual machine, is the underlying host system overloaded, or does the VM have inadequate memory/CPU resources allocated?

If the root cause cannot be addressed:

  1. The key repeat problem can be worked around by disabling an ILO2 setting called "Key Up/Down". This will cause ILO2 to transmit keystrokes instead of key states. Unfortunately, this setting was removed from ILO3.
  2. If the target operating system is Linux, you may be able to work around the issue by redirecting the console to ttyS0 and using a Virtual Serial Port (VSP) session instead of a virtual console. This will eliminate the Key Up/Down issue, because serial connections transmit keystrokes instead of key up/down events.
  3. It may be helpful to adjust the key repeat rate and/or disable autorepeat entirely on the target system. I acknowledge that this may not be easy to accomplish, depending on the severity of the key repeat problem.
  4. Given that you're using a Mac as your local workstation, it might be worthwhile to try pasting complete commands into your Mac RDP client using Command-V. I do not know whether this is a viable workaround, but it might have an interesting effect. I've often appreciated working on remote Windows machines from a Mac workstation specifically because local command-hotkey combinations continue to work predictably.

References:

  • Advisory: HP Integrated Lights-Out 3 (iLO 3) - Using iLO 3 Integrated Remote Console (IRC) Over a Slow or Congested Network May Cause Keystrokes to Repeat
  • HP Communities - ILO3 typing / mouse lag problems?

Solution 2:

This looks likes it's just a problem with the protocol. I've reduced the issue somewhat by using Ericom Blaze as the RDP transport for the central server I connect from; e.g. "jump box".

Other things:

I'm trying to avoid multiple nested sessions.

I'm running VMWare Fusion with Windows 7 on my Mac to allow me to use the native RDP from Windows in certain cases.

That's about all I can see for now.

Solution 3:

you need to edit the .vmx file to add the following line:

keyboard.typematicMinDelay = "2000000"

it takes out the "bounce".

With my version of vmware, I have to make this change when the VM is down. I understand that it can be made from an edit window, but I have not been able to find that place.

Solution 4:

Is the problem happening with your connection to the rdp (can you type in notepad correctly?) or between the RDP and the iLO)?

If between RDP and iLO (I know you have done this already)

  1. Using the Java remote console was near impossible. I found if I used the "remote console" (it may be called .Net), resulted in a massive improvement. The latency was less, the latency was not jittery, and repeated and lost keystrokes didn't happen.

  2. Boot off live cd, install openssh server, and use ssh to connect. Do our install over ssh (if connection is bad use screen also.

If between you and RDP:

Use freenx or vnc tuned to low bandwith to your windows box. This should at least clean up the keystrokes. Is the connection to the RDP ok (is that where the keystroke problems are happening?

If both: Write out commands in a notepad, then copy and paste if you can, hopefully it will work better than typing.