go-vncdriver

command module
v0.4.17-0...-3974de3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2018 License: MIT Imports: 13 Imported by: 0

README

Status: Archive (code is provided as-is, no updates expected)

go-vncdriver

A fast VNC driver.

Installation on Ubuntu:

If you have Ubuntu 14, get the latest Go compiler:

# Needed for Ubuntu 14, not Ubuntu 16
$ sudo add-apt-repository ppa:ubuntu-lxc/lxd-stable  # for newer golang
$ sudo apt-get update

Then

$ sudo apt-get install -y python-dev make golang libjpeg-turbo8-dev

And if you want OpenGL rendering support (you probably do, unless you're running on a headless server):

$ sudo apt-get install libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev \
  libxxf86vm-dev libgl1-mesa-dev mesa-common-dev

NOTE: If you're using a Python named something other than python, such as python3, replace both python and pip below with the commands for the corresponding Python

$ git clone https://github.com/openai/go-vncdriver.git
$ cd go-vncdriver
$ python build.py
$ pip install -e .

Installation on OSX:

$ brew install libjpeg-turbo golang

(On OSX newer than El Capitan, you may need to install golang from their site, and then just install brew install libjpeg-turbo.)

Then

$ git clone https://github.com/openai/go-vncdriver.git
$ cd go-vncdriver
$ python build.py
$ pip install -e .

OpenGL viewer

The OpenGL renderer is optional. If you get an error of the form:

go_vncdriver was installed without OpenGL support. See https://github.com/openai/go-vncdriver for details on how debug.

That means that your go-vncdriver was built without OpenGL support. (The installer will first try to install with OpenGL, but will fall back to installing without it.)

Do the installation steps above, including the extra dependencies to add OpenGL rendering.

If you get errors like below, the dependencies aren't installed properly:

fatal error: X11/Xcursor/Xcursor.h: No such file or directory
fatal error: X11/extensions/Xrandr.h: No such file or directory
fatal error: X11/extensions/XInput.h: No such file or directory
fatal error: GL/gl.h: No such file or directory

Python versions

go_vncdriver has been tested on Python 2.7 and 3.5.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
transcode
Command transcode converts an FBS file to an equivalent version that only uses raw encoding.
Command transcode converts an FBS file to an equivalent version that only uses raw encoding.
Package flate implements the DEFLATE compressed data format, described in RFC 1951.
Package flate implements the DEFLATE compressed data format, described in RFC 1951.
Package vncclient implements a VNC client.
Package vncclient implements a VNC client.

Jump to

Keyboard shortcuts

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