rinputd

Differences between revisions 2 and 3
Revision 2 as of 2009-09-01 01:05:46
Size: 1465
Editor: cpe-98-31-46-159
Comment:
Revision 3 as of 2009-09-01 01:07:18
Size: 1481
Editor: cpe-98-31-46-159
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
  # openssl genrsa 1024 > /etc/rinput/rinput.key
  # chmod 600 /etc/rinput/rinput.key
  # openssl req -new -x509 -key /etc/rinput/rinput.key -out /etc/rinput/rinput.crt -days 1095
$ sudo openssl genrsa 1024 > /etc/rinput/rinput.key
$ sudo chmod 600 /etc/rinput/rinput.key
$ sudo openssl req -new -x509 -key /etc/rinput/rinput.key -out /etc/rinput/rinput.crt -days 1095
Line 17: Line 17:
  # saslpasswd2 -c -u rinput <username> $ sudo saslpasswd2 -c -u rinput <username>
Line 22: Line 22:
 # /usr/sbin/rinputd $ sudo /usr/sbin/rinputd

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 1024 > /etc/rinput/rinput.key
      $ 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 run:

  • $ sudo /usr/sbin/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)