Skip to content

Instantly share code, notes, and snippets.

@andersevenrud andersevenrud/X11.md
Created Dec 10, 2016

Embed
What would you like to do?
OS.js on X11

Install OS.js as a Linux Distribution

Disclaimer This is experimental, and is not intended for usage when developing/testing OS.js. If that is what you're looking for, do a "normal" installation.

THIS HAS NOT BEEN UPDATED TO BE COMPATIBLE WITH THE NOVEMBER 2016 UPDATE -- STAY TUNED FOR MORE UPDATES

Building your own

OS.js can run as a X11 Desktop.

This was tested using ubuntu-14.04.3-server-amd64.iso

#
# Install dependencies
#

$ sudo apt-get install nodejs nodejs-legacy npm virtualbox-guest-x11
$ sudo apt-get install xorg xauth xcursor-themes consolekit dbus dbus-x11 libwebkitgtk-3.0 libwebkitgtk-3.0-dev libwebkitgtk-dev 
$ sudo apt-get install alsa-utils pulseaudio pulseaudio-module-x11 gstreamer0.10-alsa gstreamer0.10-pulseaudio gstreamer0.10-plugins-good gstreamer0.10-plugins-base
$ sudo apt-get install build-essential libpam0g-dev libgtk-3-dev

#
# Make image
#

$ git clone https://github.com/os-js/OS.js.git
$ cd OS.js
$ ./bin/build-deb.sh osjs 2.0.0-0001

#
# Install
#

$ sudo dpkg -i <IMAGE NAME>.deb
$ sudo update-rc.d -f osjs-server defaults 98
$ sudo update-rc.d -f osjs-client defaults 99

OS.js will now start every time you reboot

Prebuilt packages

You can also get ready builds from http://builds.os.js.org/debian/.

Please note that these might be outdated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.