goKVM

command module
v0.0.0-...-3809010 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

README

Detail

This is simple kvm softwere write in go
It no protect mechaim ,so do not use in you product
Thi program can sharing clipboard data , control remote keybroad and mouse

Prepare

create config to use
Onserver

./main -print-server  > config.conf
chmod 600 config.conf


On client

./main -print-client  > config.conf

change the default psk to you psk

psk = P@ssWoRdVeryLong

Currently, it only supports automatic switching by hovering the mouse over the left and right sides. And it only supports one main screen.

Auto swich is setting by key "switch" on global session . You should set this value differently on the client and server

[global]
switch = left    # client
------------------
[global]
switch = right  # sever

Using

On remote

# run sudo comanand first
sudo ls
export XAUTHORITY=$HOME/.Xauthority
export DISPLAY=":0"
sudo ./main -s -f <config file>  > /dev/null 2>&1  &


On local machine which has keybroad and mouse :

 sudo ./main -c <ip remote> -f <config file>


Switch machine with press right Ctrl + right Shift

Require

uintput module package : libx11-dev xvfb libx11-dev libxtst-dev libxt-dev libxinerama-dev libx11-xcb-dev libxkbcommon-dev libxkbcommon-x11-dev libxkbfile-dev

Know bug and TODO

  • only suppot 2 device
  • compress mouse move evnet
  • Only work in linux
  • Handle compress package

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL