mirror of
https://github.com/debauchee/barrier.git
synced 2026-11-25 21:33:20 +08:00
Documentation update.
This commit is contained in:
92
INSTALL
92
INSTALL
@@ -9,15 +9,18 @@ To build synergy from the sources you'll need the following:
|
||||
Windows:
|
||||
* VC++ 6.0 or up
|
||||
|
||||
Linux:
|
||||
* gcc 2.95 (or up?)
|
||||
Unix:
|
||||
* gcc 2.95 (or up)
|
||||
* X11R4 or up headers and libraries
|
||||
|
||||
In this document, "Unix" means any of the following: Linux, Solaris,
|
||||
Irix.
|
||||
|
||||
|
||||
Configuring the build
|
||||
---------------------
|
||||
|
||||
This step is only necessary when building on Linux.
|
||||
This step is only necessary when building on Unix.
|
||||
|
||||
To configure the build for your platform use the configure script:
|
||||
|
||||
@@ -36,7 +39,7 @@ Windows:
|
||||
(Build | Set Active Configuration) to `All - Debug' or `All - Release'
|
||||
then build. Binaries are built into ./Debug or ./Release.
|
||||
|
||||
Linux:
|
||||
Unix:
|
||||
Simply enter:
|
||||
|
||||
make
|
||||
@@ -59,7 +62,7 @@ Windows:
|
||||
* synergys.exe
|
||||
* synrgyhk.dll
|
||||
|
||||
Linux:
|
||||
Unix:
|
||||
make install
|
||||
|
||||
will install the client and server into /usr/local/bin unless you
|
||||
@@ -126,8 +129,8 @@ See `Starting Automatically on Windows' below for configuring synergy
|
||||
to start automatically when the computer starts.
|
||||
|
||||
|
||||
Configuring the Server on Linux
|
||||
-------------------------------
|
||||
Configuring the Server on Unix
|
||||
------------------------------
|
||||
|
||||
The synergy server requires configuration. The configuration file is a
|
||||
plain text file broken into sections. Each section has the form:
|
||||
@@ -210,8 +213,8 @@ file if the user doesn't specify a path using the `--config' command
|
||||
line option. `synergys --help' reports those pathnames.
|
||||
|
||||
|
||||
Running the Server on Linux
|
||||
---------------------------
|
||||
Running the Server on Unix
|
||||
--------------------------
|
||||
|
||||
Run the server on the computer that has the keyboard and mouse to
|
||||
be shared. You must have prepared a configuration file before
|
||||
@@ -232,12 +235,12 @@ file (either as a screen name or an alias) then you'll have to add
|
||||
a name in the configuration file. You can use `synergys --help'
|
||||
for a list of command line options.
|
||||
|
||||
See `Starting Automatically on Linux' below for running synergy
|
||||
See `Starting Automatically on Unix' below for running synergy
|
||||
automatically when the X server starts.
|
||||
|
||||
|
||||
Running the Client on Linux
|
||||
---------------------------
|
||||
Running the Client on Unix
|
||||
--------------------------
|
||||
|
||||
Run the client on all computers that aren't the server using the
|
||||
following command line:
|
||||
@@ -280,7 +283,7 @@ the problem. Here are typical problems and possible solutions:
|
||||
Once all the clients are running, try moving the mouse to each
|
||||
screen. Be sure to check all the configured links.
|
||||
|
||||
See `Starting Automatically on Linux' below for running synergy
|
||||
See `Starting Automatically on Unix' below for running synergy
|
||||
automatically when the X server starts.
|
||||
|
||||
|
||||
@@ -316,51 +319,50 @@ Otherwise, click the `Install' button in the `When You Log In' box
|
||||
to have synergy automatically start when you log in.
|
||||
|
||||
|
||||
Starting Automatically on Linux
|
||||
-------------------------------
|
||||
Starting Automatically on Unix
|
||||
------------------------------
|
||||
|
||||
Linux:
|
||||
Synergy requires an X server. That means a server must be
|
||||
running and synergy must be authorized to connect to that server.
|
||||
It's best to have the display manager start synergy. You'll need
|
||||
the necessary (probably root) permission to modify the display
|
||||
manager configuration files. If you don't have that permission
|
||||
you can start synergy after logging in via the .xsession file.
|
||||
Synergy requires an X server. That means a server must be
|
||||
running and synergy must be authorized to connect to that server.
|
||||
It's best to have the display manager start synergy. You'll need
|
||||
the necessary (probably root) permission to modify the display
|
||||
manager configuration files. If you don't have that permission
|
||||
you can start synergy after logging in via the .xsession file.
|
||||
|
||||
To have the display manager start synergy, edit the Xsetup script.
|
||||
The location of this file depends on your installation. It might
|
||||
be /etc/X11/xdm/Xsetup. Near the end of the file but before
|
||||
anyplace the script calls exit, start the client with something
|
||||
like:
|
||||
To have the display manager start synergy, edit the Xsetup script.
|
||||
The location of this file depends on your installation. It might
|
||||
be /etc/X11/xdm/Xsetup. Near the end of the file but before
|
||||
anyplace the script calls exit, start the client with something
|
||||
like:
|
||||
|
||||
/usr/bin/killall synergyc
|
||||
/usr/local/bin/synergyc [<options>] <server-host-name>
|
||||
/usr/bin/killall synergyc
|
||||
/usr/local/bin/synergyc [<options>] <server-host-name>
|
||||
|
||||
<options> must not include `-f' or `--no-daemon'. Change the
|
||||
paths as necessary. It's important to make sure no old copies
|
||||
of synergy are running so they can't interfere with the new one.
|
||||
<options> must not include `-f' or `--no-daemon'. Change the
|
||||
paths as necessary. It's important to make sure no old copies
|
||||
of synergy are running so they can't interfere with the new one.
|
||||
|
||||
To start the server use something like:
|
||||
To start the server use something like:
|
||||
|
||||
/usr/bin/killall synergys
|
||||
/usr/local/bin/synergys [<options>] --config <config-pathname>
|
||||
/usr/bin/killall synergys
|
||||
/usr/local/bin/synergys [<options>] --config <config-pathname>
|
||||
|
||||
Again, <options> must not include `-f' or `--no-daemon'. If
|
||||
the configuration pathname is one of the default locations then
|
||||
you don't need the `--config' option.
|
||||
Again, <options> must not include `-f' or `--no-daemon'. If
|
||||
the configuration pathname is one of the default locations then
|
||||
you don't need the `--config' option.
|
||||
|
||||
Note that some display managers (xdm and kdm, but not gdm) grab
|
||||
the keyboard and do not release it until the user logs in, for
|
||||
security reasons. This prevents a synergy server from sharing
|
||||
the mouse and keyboard until the user logs in. It doesn't
|
||||
prevent a synergy client from synthesizing mouse and keyboard
|
||||
input, though.
|
||||
Note that some display managers (xdm and kdm, but not gdm) grab
|
||||
the keyboard and do not release it until the user logs in, for
|
||||
security reasons. This prevents a synergy server from sharing
|
||||
the mouse and keyboard until the user logs in. It doesn't
|
||||
prevent a synergy client from synthesizing mouse and keyboard
|
||||
input, though.
|
||||
|
||||
|
||||
Common Command Line Options
|
||||
---------------------------
|
||||
-d, --debug <level> use debugging level <level>
|
||||
--daemon run as a daemon (Linux) or background (Windows)
|
||||
--daemon run as a daemon (Unix) or background (Windows)
|
||||
-f, --no-daemon run in the foreground
|
||||
-n, --name <name> use <name> instead of the hostname
|
||||
--restart automatically restart on failures
|
||||
|
||||
Reference in New Issue
Block a user