Giter VIP home page Giter VIP logo

xandra-server's Introduction

xandra-server

Receives and executes key and mouse events from xandra-android. For more information on what xandra does see the description of xandra-android.

Tested on GNU/Linux and BSD.

Usage

Usually starting xandra without parameters should suffice. It is, however, possible to start the server on a different port.

Usage: xandra [-4|-6] [PORT]
Start xandra server on port PORT (default 64296).

  -4          use only IPv4
  -6          use only IPv6
  --help      display this help and exit

Installation

There are no binaries for download so you have to compile for yourself.

Prerequisites

xandra requires the libxdo library which is available for most distributions:

  • Arch Linux
    # pacman -S xdotool  
    
  • Debian/Ubuntu
    # apt-get install libxdo-dev
    
  • Fedora
    # dnf install libxdo-devel libX11-devel
    
  • openSUSE
    # zypper install xdotool-devel
    
  • FreeBSD
    The version in ports (x11/xdotool) is too old (2.20110530.1) and does not work. With a more current version from upstream it works fine.

Depending on your installation installing a C compiler (probably gcc) or make may also be required.

Compiling

Download the current version from here and unpack.

$ cd xandra-server/src
$ make

Copy the resulting binary xandra to your preferred place (or use make install).

Troubleshooting

xandra uses the wrong keyboard layout (e.g. types z instead of y)

If the keyboard layout is set system wide via a xorg.conf file for some configurations xandra ignores these settings and defaults to the English layout. This can usually be fixed by setting the keyboard layout in the settings of your desktop environment or by simply executing setxkbmap (no arguments necessary).

Cannot connect to xandra

Some distributions (such as Fedora) use a firewall that will deny access. To solve this you have to allow TCP connections on port 64296.

xandra-server's People

Contributors

ddast avatar

Watchers

 avatar

xandra-server's Issues

Refactor protocol

1-4 byte UTF-8 have the usual meaning (heartbeat is 0x00).
5 byte UTF-8 are mouse events.
6 byte UTF-8 are special keys (way too big, but doesn't matter).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.