Michael, the command fails because /run/user/0/dbus-session doesn't exist. I also looks like I have a different version installed. I see 264 and 277 (besides common) in /root/snap/unity8-session.
I adjusted your command to not set DBUS_SESSION_ADDRESS and explicitly set LD_LIBRARY_PATH (without using snappyenv): 1_DEBUG=1 SNAP_USER_COMMON=/root/snap/unity8-session/common SNAP_USER_DATA=/root/snap/unity8-session/277 SNAP_ARCH=amd64 HOME=/root/snap/unity8-session/277 LD_LIBRARY_PATH=/snap/unity8-session/current/usr/lib/x86_64-linux-gnu /snap/unity8-session/current/usr/lib/x86_64-linux-gnu/unity- scopes/scoperunner "" /snap/unity8-session/current/usr/lib/x86_64-linux- gnu/unity-scopes/clickapps/clickscope.ini This yields: # U1_DEBUG=1 SNAP_USER_COMMON=/root/snap/unity8-session/common SNAP_USER_DATA=/root/snap/unity8-session/277 SNAP_ARCH=amd64 HOME=/root/snap/unity8-session/277 LD_LIBRARY_PATH=/snap/unity8-session/current/usr/lib/x86_64-linux-gnu /snap/unity8-session/current/usr/lib/x86_64-linux-gnu/unity-scopes/scoperunner "" /snap/unity8-session/current/usr/lib/x86_64-linux-gnu/unity-scopes/clickapps/clickscope.ini QSqlDatabase: QSQLITE driver not loaded QSqlDatabase: available drivers: QSqlDatabase: an instance of QCoreApplication is required for loading driver plugins Failed to open departments db: Cannot open departments database [2016-12-09 05:56:44.991] ERROR: clickscope: unity::scopes::ConfigException: Cannot instantiate run time for clickscope, config file: : unity::scopes::MiddlewareException: cannot initialize zmq middleware for scope clickscope: unity::scopes::ConfigException: No endpoint directories specified, and XDG_RUNTIME_DIR environment variable not set scoperunner: unity::scopes::ConfigException: Cannot instantiate run time for clickscope, config file: : unity::scopes::MiddlewareException: cannot initialize zmq middleware for scope clickscope: unity::scopes::ConfigException: No endpoint directories specified, and XDG_RUNTIME_DIR environment variable not set Running this with snappyenv, I get: # U1_DEBUG=1 SNAP_USER_COMMON=/root/snap/unity8-session/common SNAP_USER_DATA=/root/snap/unity8-session/277 SNAP_ARCH=amd64 HOME=/root/snap/unity8-session/277 /snap/unity8-session/current/snappyenv /snap/unity8-session/current/usr/lib/x86_64-linux-gnu/unity-scopes/scoperunner "" /snap/unity8-session/current/usr/lib/x86_64-linux-gnu/unity-scopes/clickapps/clickscope.ini ERROR: ld.so: object '/lib/libsnap-preload-shim.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. mkdir: cannot create directory ‘/lightdm-data’: Read-only file system /snap/unity8-session/current/snappyenv: 113: exec: /bin/desktop-launch: not found -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1645798 Title: No snaps appear in scope on Core 16 To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1645798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs