An open API service indexing awesome lists of open source software.

https://github.com/sibyx/nug-server

Simple RFB server
https://github.com/sibyx/nug-server

python rfb vnc-server

Last synced: 6 months ago
JSON representation

Simple RFB server

Awesome Lists containing this project

README

          

# nug-server

**Work in progress**

Simple KVM switch with RFB output written in Python based on the
[asyncio](https://docs.python.org/3/library/asyncio-protocol.html) module.

This project is a part of my master thesis on the
[Faculty of Informatics and Information Technologies STU in Bratislava](https://www.fiit.stuba.sk/en.html) on the
subject of KVM switch implementation.

## Usage

```shell
# 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

```toml
[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](https://archlinuxarm.org/) as base image.

- cmake (`pacman -S cmake`)
- opencv (`pacman -S opencv`)
- gcc (`pacman -S gcc`)
- numpy (`pip install numpy`)
- [tomli](https://github.com/hukkin/tomli)

---
With ❤️☕️🥃🍀 Jakub Dubec 2022