Skip to content

Instantly share code, notes, and snippets.

View Ubuntu 18.04, DBUS Fix Instructions with Troubleshooting
Ubuntu 18.04, DBUS Fix Instructions with Troubleshooting
After asking if there were updated instructions, and promising to write it up if I could figure it out...
From a truly clean 18.04.1 install it should be this:
sudo apt install dbus-x11
sudo systemd-machine-id-setup
seffyroff / Run Visual Studio Code for Linux from
Created Nov 15, 2018 — forked from fedme/Run Visual Studio Code for Linux from
Run Visual Studio Code for Linux from WSL on Windows 10
View Run Visual Studio Code for Linux from

Run Visual Studio Code for Linux from WSL

Thanks a lot to mredbishop and others for their insturctions posted here. This is just a recap of what they figured out.

This process was tested on WSL Ubuntu 18.04.

Install VcXsrv on Windows

  1. Dowload the VcXsrv installer from
  2. Install the software on Windows

Add VS Code repositories

View 2018-11-08_21-43-15.txt
seffyroff@maasvm:~$ sudo ./lxd-p2c rombus.lan maas / --rsync-args="-vvv --exclude=/var/cache"
Generating a temporary client certificate. This may take a minute...
Certificate fingerprint: b8b5087b293d2e4891fddb416e390b31c5ae3b16c22de192779e5751520bb2b6
ok (y/n)? y
Admin password for https://rombus.lan:8443:
opening connection using: sh -c "/home/seffyroff/lxd-p2c netcat @lxd-p2c/bfba53aa-d314-4d52-87d2-6f21e3e5a3fb" localhost rsync --server -vvvlogDtpXrSze.iLsfxC --compress-level=2 --delete --partial --numeric-ids . /tmp/foo (13 args)
sending incremental file list
[sender] make_file(rootfs,*,0)
send_file_list done
[sender] pushing local filters for /tmp/lxd-p2c_mount_728675622/rootfs/
#!/usr/bin/env python
This script will update all the juju units using
the hostname defined on the provided dns server
{0} ip-of-maas-dns-server
View profile.lxd-super-privileged.yaml
boot.autostart: "true"
linux.kernel_modules: openvswitch,nbd,ip_tables,ip6_tables,kvm
raw.apparmor: mount,
raw.lxc: |-
lxc.cgroup.devices.allow = c 10:237 rwm
lxc.cgroup.devices.allow = b 7:* rwm
lxc.cgroup.devices.allow = b 259:* rwm
lxc.cgroup.devices.allow = b 230:* rw
security.nesting: "true"
set -eu
_UID=$(id -u)
GID=$(id -g)
# give lxd permission to map your user/group id through
grep root:$_UID:1 /etc/subuid -qs || sudo usermod --add-subuids ${_UID}-${_UID} --add-subgids ${GID}-${GID} root
# set up a separate key to make sure we can log in automatically via ssh
# with $HOME mounted

Setting up with an EdgeRouter

This document covers how to setup, a service that provides iPXE-based installation and live boot of a bunch of operating systems, on a Ubiquiti EdgeRouter.


I've made a few assumptions throughout this document that will probably be different for your setup:

View stdout
consul-dev_consul.1.tlhacl3b4dst@rombus | ==> Found address '' for interface 'eth0', setting bind option...
consul-dev_consul.1.tlhacl3b4dst@rombus | ==> Found address '' for interface 'eth1', setting client option...
consul-dev_consul.1.tlhacl3b4dst@rombus | bootstrap = true: do not enable unless necessary
consul-dev_consul.1.tlhacl3b4dst@rombus | ==> Starting Consul agent...
consul-dev_consul.1.tlhacl3b4dst@rombus | ==> Consul agent running!
consul-dev_consul.1.tlhacl3b4dst@rombus | Version: 'v1.0.3'
consul-dev_consul.1.tlhacl3b4dst@rombus | Node ID: 'd26442fe-82f2-2aaf-b24a-bdca60130bb1'
consul-dev_consul.1.tlhacl3b4dst@rombus | Node name: 'ff1d4c0dfb73'
consul-dev_consul.1.tlhacl3b4dst@rombus | Datacenter: 'dc1' (Segment: '<all>')
consul-dev_consul.1.tlhacl3b4dst@rombus | Server: true (Bootstrap: true)
seffyroff / grav.log
Created Jan 10, 2018
Grav log output for newsfeed error on admin plugin
View grav.log
[2018-01-10 19:30:42] grav.CRITICAL: Call to undefined function ZendXml\simplexml_import_dom() - Trace: #0 /srv/src/user/plugins/admin/vendor/fguillot/picofeed/lib/PicoFeed/Parser/XmlParser.php(68): ZendXml\Security::scan('<feed xmlns="ht...', Object(DOMDocument)) #1 /srv/src/user/plugins/admin/vendor/fguillot/picofeed/lib/PicoFeed/Parser/XmlParser.php(29): PicoFeed\Parser\XmlParser::scan('<feed xmlns="ht...') #2 /srv/src/user/plugins/admin/vendor/fguillot/picofeed/lib/PicoFeed/Parser/Parser.php(113): PicoFeed\Parser\XmlParser::getSimpleXml('<feed xmlns="ht...') #3 /srv/src/user/plugins/admin/classes/admin.php(1468): PicoFeed\Parser\Parser->execute() #4 /srv/src/user/plugins/admin/classes/admincontroller.php(765): Grav\Plugin\Admin\Admin->getFeed() #5 [internal function]: Grav\Plugin\Admin\AdminController->taskGetNewsFeed() #6 /srv/src/user/plugins/admin/classes/adminbasecontroller.php(104): call_user_func(Array) #7 /srv/src/user/plugins/admin/admin.php(346): Grav\Plugin\Admin\AdminBaseController->execute() #
You can’t perform that action at this time.