rinputd

Differences between revisions 7 and 9 (spanning 2 versions)
Revision 7 as of 2009-09-15 02:55:38
Size: 1827
Editor: cpe-75-180-27-10
Comment:
Revision 9 as of 2009-11-11 03:33:08
Size: 1740
Editor: cpe-75-180-27-10
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
rinputd is a server daemon that listens for remote input clients and sends their input events to the Linux kernel. rinputd is the short name of the Remote Input server program. It listens for remote input clients and handles input events.
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: === Ubuntu ===
You can install the rinputd package from the [[https://launchpad.net/~chasedouglas/+archive/ppa|rinputd ppa]].
Line 7: Line 8:
=== Other Linux ===
You will need to build and install the rinputd server from the source code. The latest the latest source code release can be found at the [[https://launchpad.net/rinput/+download|rinputd download page]].

=== Mac OS X ===
Download the OS X installation package from the [[https://launchpad.net/rinput/+download|rinputd download page]]. Open the package to install the remote input server.

== Configuration ==

=== Linux ===
After installing the package add users for rinputd:
Line 8: Line 19:
$ sudo apt-get install rinputd $ sudo saslpasswd2 -c -u rinput <username>
Line 11: Line 22:
After installing the package, a few steps will complete the installation process: === Mac OS X ===
No configuration is necessary. Use the username and password of the currently logged in user to control the computer.
Line 13: Line 25:
 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 ==
== Advanced Usage ==
Line 39: Line 33:
-p; --port; number between 1 and 65535; Port to listen for clients on; 8771 -p; --port; number between 0 and 65535; Port to listen for clients on, set to 0 to listen on any available port; 8771
Line 44: Line 38:

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

rinputd is the short name of the Remote Input server program. It listens for remote input clients and handles input events.

Installation

Ubuntu

You can install the rinputd package from the rinputd ppa.

Other Linux

You will need to build and install the rinputd server from the source code. The latest the latest source code release can be found at the rinputd download page.

Mac OS X

Download the OS X installation package from the rinputd download page. Open the package to install the remote input server.

Configuration

Linux

After installing the package add users for rinputd:

$ sudo saslpasswd2 -c -u rinput <username>

Mac OS X

No configuration is necessary. Use the username and password of the currently logged in user to control the computer.

Advanced 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 0 and 65535 Port to listen for clients on, set to 0 to listen on any available port 8771
-n --no-broadcast none Do not advertise rinput service through mDNS
-v --verbose none Verbose output
-q --quiet none Quiet output

In Linux, 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)