Sibyx / nug-server

Simple RFB server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nug-server

Work in progress

Simple KVM switch with RFB output written in Python based on the asyncio module.

This project is a part of my master thesis on the Faculty of Informatics and Information Technologies STU in Bratislava on the subject of KVM switch implementation.

Usage

# Create env
python -m venv venv
source venv/bin/activate
pip install nug_server  # Not yet on PyPi = won't work

python -m nug_server --verbose --config config.toml

Configuration

[general]
port = 5901
bind = [
    "0.0.0.0",
    "::"
]
database = "/home/alarm/nug.db"
log_level = "DEBUG"
name = "VNC Nug Server"

[syslog]
ip = "127.0.0.1"
port = 1514

[[dongles]]
ip = "10.0.0.1"
port = 5801
services = [ "mouse", "keyboard" ]

[[dongles]]
ip = "10.0.0.2"
port = 5802
services = [ "video" ]

Dependencies

We us ArchLinux ARM as base image.

  • cmake (pacman -S cmake)
  • opencv (pacman -S opencv)
  • gcc (pacman -S gcc)
  • numpy (pip install numpy)
  • tomli

With ❤️☕️🥃🍀 Jakub Dubec 2022

About

Simple RFB server


Languages

Language:Python 100.0%