Re: KVM Switch bug

From: Keith Owens (kaos@ocs.com.au)
Date: Fri Apr 12 2002 - 06:41:03 EST


On Thu, 11 Apr 2002 20:50:36 +0200,
Stijn Verrept <sverrept@vub.ac.be> wrote:
>When switching using a KVM switch I loose keyboard (only in Linux so it's not
>hardware related)

For flakey KVMs, I define a user (switched) in /etc/passwd with the
same uid/gid as root and no password. Instead of a normal shell, its
login entry is /usr/local/bin/switched which contains

#!/bin/sh
/etc/rc.d/init.d/gpm restart
/sbin/kbdrate -r 30

If there are any problems I log in as user switched, either keyboard or
network. The script runs to reset mouse and keyboard then the user
exits. The lack of password means that anybody can reset the KVM
devices to fix problems.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 15 2002 - 22:00:20 EST