sudo apt-get install x11vnc
Set password
x11vnc -storepasswd password /path/to/passfile
or
x11vnc -storepasswd to use ~/.vnc/passwd
x11vnc -display :0 -auth .Xauthority -rfbauth /path/to/passfile
or
| docker rm -v `docker ps --no-trunc -aq` | |
| docker rmi $(docker images -f "dangling=true" -q) |
| wget -qO- https://github.com/cockpit-project/cockpit/releases/download/0.90/cockpit-0.90.tar.bz2 | tar xvj | |
| mv cockpit-0.90 cockpit | |
| apt-get install -y nodejs npm intltool libsystemd-journal-dev \ | |
| libsystemd-daemon-dev libjson-glib-dev libpolkit-agent-1-dev \ | |
| libssh-dev libkeyutils-dev libpcp3-dev libpcp-import1-dev \ | |
| libpcp-pmda3-dev libpam-dev xsltproc xmlto | |
| cd cockpit && ./configure --libexecdir=/usr/bin | |
| make && make install |
| #!/bin/bash | |
| # Frank Zhao, July 2015 | |
| echo "Download prerequisites... [1 of 4]" | |
| curl -O http://www.ist-inc.com/motif/download/motif_files/openmotif-compat-2.1.32_IST.macosx10.5.dmg | |
| curl -O ftp://ftp.freetds.org/pub/freetds/stable/freetds-patched.tar.gz | |
| curl -O http://xquartz.macosforge.org/downloads/SL/XQuartz-2.7.7.dmg | |
| curl -O http://www.mdsplus.org/dist/macosx/stable/MDSplus-7-0-103-osx.pkg | |
| echo "Installing OpenMotif... [1 of 4]" | |
| hdiutil attach openmotif-compat-2.1.32_IST.macosx10.5.dmg |
| # Frank Zhao 2015 | |
| # Test compilation of Kalaha submissions | |
| from subprocess import Popen, PIPE, STDOUT | |
| import os, shutil, glob, zipfile | |
| def attempt_compilation(folder, path): | |
| path = path + "/" | |
| os.mkdir(path + sources_dir) | |
| copytree(sources_dir, path + sources_dir) # Copy assignment template files | |
| shutil.copy2(compile_script, path + compile_script) # Copy compile script |
sudo apt-get install x11vnc
Set password
x11vnc -storepasswd password /path/to/passfile
or
x11vnc -storepasswd to use ~/.vnc/passwd
x11vnc -display :0 -auth .Xauthority -rfbauth /path/to/passfile
or
| # Frank Zhao 2015 | |
| # Test compilation of Wireworld submissions | |
| from os import listdir, mkdir | |
| from subprocess import Popen, PIPE, STDOUT | |
| from shutil import copy2 | |
| import zipfile | |
| def attempt_compilation(folder, path): | |
| path = path + "/" | |
| copy2(compile_script, path + compile_script) |
| xubuntu-desktop | |
| git openssh-server tmux zsh clang curl texlive vagrant vim | |
| rvm ruby-2.1.0 rails postgresql | |
| cuda-toolkit | |
| python-numpy python-scipy python-matplotlib ipython python-pip python-setuptools | |
| ipython-notebook python-pandas python-sympy python-nose | |
| pycuda | |
| terminator guake xchat | |
| (find / -name 'libGLU*') | |
| libglu1-mesa libxi-dev libxmu-dev libglu1-mesa-dev freeglut3 freeglut3-dev |