About [Mouse and mouse <Lan> sharing software: Synergy] install

Source: Internet
Author: User
Tags arch linux
Installationarch Linux

You can download this software [synergy]: http://synergy-project.org/

Windows and Mac OS X

Download and run the newest InstallerDownload from Linux

Pre-configuration [related configuration before install installation]

First determine the IP addresses and host names for each machine and make sure each has a correct hosts file.

  • Arch Linux-/Etc/hosts in Linux Hosts [host name and lan ip address match] File Path
  • Windows-C: \ windows \ system32 \ drivers \ etc \ hosts window hosts [host name and lan ip address match] File Path
  • Mac OS X-how to add hosts to local hosts file. hosts under MAC [host name and LAN IP address match] File Path
/etc/hosts

10.10.66.1 archserver. localdomain archserver
10.10.66.100 archleft. localdomain archleft10.10.66.105 arshortght. localdomain arshortght

Edit the file and modify the file content. The format is bold and bold. The IP address and hostname are determined based on your own situation.
Host IP host name. localdomain Host Name
Note:Check that the clients can reach the server. [Ensure that the client can connect to the server.] This article introduces how to use Linux as the server:

Configure the config file of synergy:

Path:/etc/Synergy. conf, which can be VI/etc/Synergy. conf and then refer to the following code content

section: screens    desktop:        halfDuplexCapsLock = false        halfDuplexNumLock = false        halfDuplexScrollLock = false        xtestIsXineramaUnaware = false        switchCorners = none         switchCornerSize = 0    notepad:        halfDuplexCapsLock = false        halfDuplexNumLock = false        halfDuplexScrollLock = false        xtestIsXineramaUnaware = false        switchCorners = none         switchCornerSize = 0endsection: aliasesendsection: links    desktop:        down = notepad    notepad:        up = desktopendsection: options    relativeMouseMoves = false    screenSaverSync = true    win32KeepForeground = false    switchCorners = none     switchCornerSize = 0    keystroke(Control+l) = switchToScreen(desktop)    keystroke(Control+k) = switchToScreen(notepad)end

The above red font is the hostname host name, which can be changed as needed:

 

Enable port 24800. [synergy service port ]:

Iptables-A input-I p33p1-P TCP -- dport 24800-J accept

In the red section above, use the ifconfig command to view the Network Card Name.

 

 

Edit the service file:

Path:/Etc/systemd/system/[email protected]

Direct: vi/Etc/systemd/system/[email protected:

[Unit]Description=Synergy Server DaemonAfter=network.target[Service]Type=forkingExecStart=/usr/bin/synergys --config /etc/synergy.confUser=%i[Install]WantedBy=multi-user.target

Make the service take effect

Then enable it as the appropriate user (replacing 'Mary 'with your username ):

# Systemctl enable [email protected] Mary # systemctl start [email protected] Mary

The above red font is your Linux Username

 

Start synergy in the background:

# Synergys-F

 

Window, there are many online materials, not to mention, personal email: [email protected], can communicate at any time, happy to come!

Result:

 

 

 

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.