rinputd

Differences between revisions 5 and 6
Revision 5 as of 2009-09-03 00:17:25
Size: 1608
Editor: cpe-98-31-46-159
Comment:
Revision 6 as of 2009-09-14 19:36:43
Size: 1611
Editor: cpe-75-180-27-10
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
$ sudo openssl genrsa 1024 > /etc/rinput/rinput.key $ sudo openssl genrsa -out /etc/rinput/rinput.key 1024

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.

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

RemoteInput/rinputd (last edited 2012-04-04 02:13:54 by c-67-170-185-42)