Install Ubuntu 14.04 on a Chromebook

There are plenty of sites out there that give advise on this topic, unfortunately most of them are highly ad-infested to the point of being unreadable as well as only containing single bit rather that an overall picture. This is a collection of useful links to source materials as well as steps necessary to install.    by  Joe Wilcox  Resource Links Crouton Github: https://github.com/dnschneid/crouton - Thank you David Schneider for the excellent work !!! Developer Info for Chromebooks: https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices Put Cromebook into "developer mode" Back up any data as the process wipes the system Create a restore image for Chrome OS (install the Restore Image Chrome Extension for this task) Enter Developer Mode - hold down ESC and Refresh (F3) keys and press the Power button Download Crouton Script Download link for installer: https://raw.githubusercontent.com/dnschneid/crouton/master/installer/crouton Installing Crouton CTRL+Alt+t to open Cronos Prompt + type "shell" to enter proper bash shell. To see the list of supported releases: sh -e ~/Downloads/crouton -r list To see a list of the supported desktop envoironments (target names): sh -e ~/Downloads/crouton -t help I generally install LXDE on 'resource-challenged' devices. shell sudo sh -e ~/Downloads/crouton -r RELEASENAME -t TARGETNAME -e The '-e' at the end is optional to encrypt the chroot. Which is probably a good idea as the Chromebook in developer mode is completely open and allows any user to access. If you do not specify the Release it defaults to Ubuntu 12.04 (precise) My default install would be: sudo sh -e ~/Downloads/crouton -r trusty -t…

Continue Reading

CyanogenMod 12 on Sony Xperia Z2

Just a quick update of the previous article on "Sony Xperia Z2 upgrading to CyanogenMod 11". One thing is that CM now included the custom recovery and you do not need to download any other custom recoveries ! Download the CM 12 ZIP file for Sony Xperia Z2 (sirius) and extract the 'boot.img' file Download link: https://download.cyanogenmod.org/?device=sirius Get the device into fastboot (bootloader mode) fastboot -i 0xfce flash boot boot.img fastboot reboot Install CyanogenMod Choose the “Install zip from sdcard –> Install from sideload” option adb sideload cm-12-20150219-NIGHTLY-sirius.zip After the install has finished choose the “Reboot system now” option.

Continue Reading

Ubuntu 14.04 Webmin Install from PPA

On remote systems sometimes a web-based tool can be very handy. Webmin is such a tool that has been well maintained for decades. To install quickly on a Ubuntu Server without having to manage dependencies and keeping it updated as part of normal OS update operations installing from a PPA Repo is handy. sudo echo "deb http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add - sudo apt-get update sudo apt-get install webmin After this you should be able to connect to your webmin instance on port 10000 https://hostname:10000 Security note: I would never allow direct access to Webmin on a remote server but rather tunnel port 10000 over SSH !

Continue Reading

Barebone Ubuntu 14.04 Cloud Desktop

Since I have found some issues with my previous LXQT setup in real-life work I decided to fall back to standard Lubuntu for my cloud desktop. As part of this I also switched to TightVNC which seems a lot easier to configure. Add local user account adduser USERNAME adduser USERNAME sudo Install Lubuntu Desktop sudo apt-get install --no-install-recommends lubuntu-desktop tightvncserver TightVNC Configuration sudo vim /etc/lightdm/lightdm.conf # # VNC Server configuration # # enabled = True if VNC connections should be allowed # port = TCP/IP port to listen for connections on # [VNCServer] enabled=true port=5900 width=1366 height=768 depth=24 sudo /etc/init.d/lightdm restart Connect to the remote system ssh -L 5900:localhost:5900 -i /path/to/your/aws/keyfile.pem YOUR.EC2.IP.ADDRESS   If you are using a Chromebook then this article might help.

Continue Reading

Accessing your cloud desktop from Chromebook

One of the main reasons for setting up a cloud desktop is that I tend to use a lot of different devices some of which are not very powerful. One of my favorite devices of late has been a HP 11 Chromebook. I originally bought it for a new employee and wanted to check myself how this thing stacks up to do day-to-day computing tasks more efficiently than a standard laptop without all the headaches of running Windows (viruses, endless driver installs, bloatware, malware, ...). We already have several people at work working exclusively from Chromebooks and they absolutely love them. Long story short - I ended up keeping the Chromebook for myself as it's an absolutely great secondary device for me. I can carry it with me everywhere (doesn't weigh much more than a tablet, roughly the same size as a tablet & has a keyboard and is so much more useful than a tablet). Initially I was using it more as a secondary device, but lately I have been thinking that I will not even take my main notebook at all for travels. The problem with this is that I do (sometimes - very infrequently) need access to software not available on such a limited device. Accessing your Cloud Desktop via SSH (I know there seem to be people allowing direct VNC access - but that is just asking for trouble) is highly recommended. I also use RSA keys instead of password authentication. Copy SSH Private Key (generated…

Continue Reading

ARD Mediathek offline viewing on Ubuntu

Since I am a bit of a sucker for German "Krimis" as well as some their excellent documentaries I like to watch ARD Mediathek IPTV. However there are several problems with this when you live at the opposite side of the world. ARD has a block for any films that are 15+ years outside of 20.00h-6.00h GMT+1. Which makes it pretty much impossible to watch at a reasonable time in Australia. I also like to watch these things on the plane which requires download of the media files. Install JSON Parser sudo apt-get install jq Download script wget https://github.com/leogaggl/media/raw/master/download_mediathek.sh chmod +x download_mediathek.sh Usage ./download_mediathek.sh -f save_as_filename.mp4 -q 3 MEDIATHEK-URL The -f and -q parameters are optional. -f filename.mp4 (or full path + filename to save in different directory). Defaults to original filename -q quality setting from 0 to 3 (where 0 is lowest and 3 highest quality). Defaults to highest quality Please leave a comment if you find any issues or log an issue on GitHub. NOTE (2014-07-06): If you are only interested in the Tatort series I suggest you look at this script by Felix Knecht (see comment below)

Continue Reading

Ubuntu 14.04 Amazon EC2 Cloud Desktop using LXQT

Using Amazon EC2's free usage tier to host your own cloud desktop is a very economical way to to have a desktop at hand anytime you can not be near one. Since I quite often use Chromebooks these days when on the road this is a particular handy way should I need a full desktop for certain tasks. Since Ubuntu 14.05 is my default desktop on my normal hardware I obviously want to have my cloud desktop running the same underlying OS. However I don't think running Unity as the desktop interface would be appropriate via a low-bandwidth remote desktop connection. For this reason I chose LXQT. If you need total stability you probably should go for the more mature LXDE instead, but I have already tried LXQT on an old EEE PC and was very impressed by the speed and low resource usage. NOTE (Edit: 2014-11-03): Please find an updated (and easier) version of this blog here. I was experiencing some issues with LXQT (which is understandable as it clearly states that it is not a release version) Provision Ubuntu 14.04 LTS EC2 Instance Instance details Connect to AWS Console and go to EC2 Service Choose OS Image: "Ubuntu Server 14.04 LTS" (see screenshot) Choose a "Micro Instance" if you want to use Amazon's Free Usage Tier Choose Instance details - the defaults will generally be fine Add Storage (I generally add a separate Volume for /home but default should do) Tag instance (just give it a name to…

Continue Reading

Upgrading Nokia X to CyanogenMod 11 (via Ubuntu)

The Nokia X seems to be a nice piece of hardware for just around $125 AUD. Nothing spectacular in terms of computing power, but much better build quality than your average cheap Chinese Android clone. I have always been a fan of Nokia hardware until they decided to commit suicide by firstly adding CEO Stephen Elop and ditching all of their software for Windows Mobile. The problem with the device out of the box is that is has a horribly butchered version of Android. And by horribly I mean way worse than the usual bloat and crapware that poor Samsung, HTC or Sony users are normally subjected to. Hopefully this is only Nokia's first step to a more open platform, but I wouldn't hold my breath on that one. Before committing to buy this device I made sure that I could flash it to CyanogenMod as soon as it arrives. Sidenote: I purchased from Mobicity AU - which turned out to be a big mistake. Do yourself a favour and go somewhere else unless you have weeks to wait. Boot Mode - Nokia X Nokia Recovery Mode: 1. Turn off your device 2. Press Volume + and Power Button 15 seconds Dependencies If you haven't got the Android SDK or tools yet you need to install sudo apt-get install android-tools-adb android-tools-fastboot USB Configuration sudo vim /etc/udev/rules.d/51-android.rules #add the following line SUBSYSTEMS=="usb", ATTR{idVendor}=="0421", MODE="0666", OWNER="plugdev" sudo service udev restart vim ~/.android/adb_usb.ini #add at the end of the file 0x0421 sudo adb…

Continue Reading

Upgrade Rikomagic MK902 Android MiniPC from Ubuntu

If there would be an Oscar for the WORST firmware upgrade procedure (and associated drivers, documentation and general quality of software) Rikomagic should win this by a country mile ! Since all the information I found on the interwebs said Linux was not supported I ended up borrowing friends notebooks (as I don't own any Windows machinery anymore). My main Toshiba Ultrabook seemed to have issues with picking up the USB from a Windows Virtual Machine). After not being able to get the absolute crap USB drivers that come with the firmware download with any of the machines (Vista & Win7_64) I was ready to throw in the towel and put the purchase of this unit (in hindsight I would not do it again anyway) down as a total waste. I tried a last search on upgrading using Linux it turns out there was a very recent Rockchip Linux Upgrade Tool release. Download Upgrade Tool http://dl.radxa.com/rock/tools/linux/Linux_Upgrade_Tool_v1.16.zip Dependencies If you haven't got the Android SDK or tools yet you need to install sudo apt-get install android-tools-adb android-tools-fastboot USB Configuration sudo vim /etc/udev/rules.d/51-android.rules #add the following line SUBSYSTEMS=="usb", ATTRS{idVendor}=="2207", MODE="0666", GROUP="plugdev" Restart udev sudo udevadm control --reload-rules vim ~/.android/adb_usb.ini #add at the end of the file 0x2207 Restart the adb server adb kill-server adb start-server You should be able to test with adb devices The output should be like the following: adb devices * daemon not running. starting it now on port 5037 * * daemon started successfully * List of devices…

Continue Reading

Android SDK issues on Ubuntu 14.04 64bit

Since the upgrade to Ubuntu 14.04 (Trusty Tahr) I have had issues running the Android SDK Tools. For example this error: ./adb bash: ./adb: No such file or directory Check the multi-arch architectures installed on the system. sudo dpkg --print-architecture Mine only showed 'amd64'. Turns out you need to add the i386 architecture and install libc6:i386,libncurses5:i386,libstdc++6:i386 library packages. sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 sudo ./adb

Continue Reading