rinputd

Revision 7 as of 2009-09-15 02:55:38

Clear message

rinputd is a server daemon that listens for remote input clients and sends their input events to the Linux kernel.

Installation

You can install the rinputd package from the rinput ppa at https://launchpad.net/~chasedouglas/+archive/ppa. Synaptic sometimes has issues with ppas, so if rinputd doesn't show up after adding the ppa to your software sources and reloading the package list you can try to use apt:

$ sudo apt-get install rinputd

After installing the package, a few steps will complete the installation process:

  1. Generate an OpenSSL certificate and private key for security (If you already have these available and want to use them for rinputd, copy them to /etc/rinput/rinput.key and /etc/rinput/rinput.crt)
    • $ sudo openssl genrsa -out /etc/rinput/rinput.key 1024
      $ sudo chmod 600 /etc/rinput/rinput.key
      $ sudo openssl req -new -x509 -key /etc/rinput/rinput.key -out /etc/rinput/rinput.crt -days 1095
  2. Add a remote input user
    • $ sudo saslpasswd2 -c -u rinput <username>

rinputd can now be started:

  • $ sudo /etc/init.d/rinputd start

The arguments supplied to rinputd when run by the init script can be modified in the file /etc/default/rinputd.

Usage

rinputd supports the following arguments:

Short Switch Long Switch Argument Description Default
-r --realm string Realm to authenticate clients against rinput
-c --cert certificate file path SSL certificate file /etc/rinput/rinput.crt
-k --key private key file path SSL private key file /etc/rinput/rinput.key
-p --port number between 1 and 65535 Port to listen for clients on 8771
-n --no-broadcast none Do not advertise rinput service through mDNS
-v --verbose none Verbose output
-q --quiet none Quiet output