Giter Club home page Giter Club logo

idrac-kvm-keyboard-fix's Introduction

Dell servers with an iDRAC card allow for remote management of the server, including a handy remote video console with keyboard and mouse support. This is served to your web browser as a Java app, but it has a couple of small problems.

The problem

As noted by a user on the Dell forums, newer Linux distros use evdev instead of kbd for the keyboard driver, and the keycodes don't match the ones expected by the KVM app.

As a result, certain keys won't work, such as SysRq and the arrow keys.

The solution

This is a shared library hack to translate evdev keycodes to old style keycodes. You then use it via LD_PRELOAD.

How to build and install

make
make install

This requires no special privileges, as it installs to your homedir (~/local/lib/). A wrapper executable is installed to a bin directory in your $PATH to intercept calls to javaws and perform the LD_PRELOAD hack. You may need to add one yourself (~/bin/ is a reasonable suggestion).

How to use

Nothing extra, it should Just Work the next time you launch a remote DRAC console. If not, direct your browser to open the viewer.jnlp file with the executable wrapper.

Using SysRq

If you want to make use of magic SysReq, make sure that it is disabled on your local workstation, lest you get a bit of a surprise...

cat /proc/sys/kernel/sysrq and set it to 0 if it's not already.

Additional keysym mapping

A large set of keysyms were merged into the mapping in commit c3f916c. If you find the hack isn't working as expected, you may need to revert to an earlier commit, possibly 8f11599. The functionality is dependent on both the local system and the app served up by the iDRAC, so it's hard to provide definite predictions. Good luck!

idrac-kvm-keyboard-fix's People

Contributors

barneydesmond avatar dklann avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.