← Back to team overview

desktop-packages team mailing list archive

[Bug 1420914] [NEW] secret-tool does not run on headless system

 

You have been subscribed to a public bug:

Description:	Ubuntu 14.04 LTS
Release:	14.04

libsecret-tools:
  Installed: 0.16-0ubuntu1
  Candidate: 0.16-0ubuntu1
  Version table:
 *** 0.16-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

I expected to be able to run secret-tool on a headless sytem, but got
this message after running it.

secret-tool store ...

(secret-tool:26626): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
secret-tool: Cannot autolaunch D-Bus without X11 $DISPLAY

# didn't expect thisto work, but thought I'd give it a try.
export DISPLAY=:0
secret-tool store ...

(secret-tool:26639): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
secret-tool: Error spawning command line 'dbus-launch --autolaunch=0feb8b37e7d1bdde6782aa3e537cfda6 --binary-syntax --close-stderr': Child process exited with code 1

** Affects: libsecret (Ubuntu)
     Importance: Undecided
         Status: Confirmed

-- 
secret-tool does not run on headless system
https://bugs.launchpad.net/bugs/1420914
You received this bug notification because you are a member of Desktop Packages, which is subscribed to libsecret in Ubuntu.