GithubHelp home page GithubHelp logo

jtcjtcc / go-vncdriver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openai/go-vncdriver

0.0 0.0 0.0 158.19 MB

Fast VNC driver

License: MIT License

Shell 0.03% Python 3.50% C 2.57% Go 93.48% Makefile 0.30% Dockerfile 0.13%

go-vncdriver's Introduction

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.

go-vncdriver's People

Contributors

jeremyschlatter avatar gdb avatar tlbtlbtlb avatar catherio avatar jonathathan avatar christopherhesse avatar ben-harack avatar gerred avatar ematvey avatar nottombrown avatar html5cat avatar baoblackcoal avatar

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.