rinputd

Differences between revisions 7 and 8
Revision 7 as of 2009-09-15 02:55:38
Size: 1827
Editor: cpe-75-180-27-10
Comment:
Revision 8 as of 2009-09-16 17:35:55
Size: 1275
Editor: cpe-75-180-27-10
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
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: 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 using apt:
Line 11: Line 11:
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
  {{{
After installing the package add a user for rinputd:
{{{
Line 22: Line 14:
  }}}

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.
}}}
Line 44: Line 29:

The arguments supplied to rinputd when run by the init script can be modified in the file /etc/default/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. 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 using apt:

$ sudo apt-get install rinputd

After installing the package add a user for rinputd:

$ sudo saslpasswd2 -c -u rinput <username>

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

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

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