← Back to team overview

desktop-packages team mailing list archive

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

 

Thanks for taking your time to report this issue and help making Ubuntu
better.

I got the same error message when attemting to run secret-tool on a
headless system. I also tried with a newer version, but the issue is
still present in libsecret-tools 0.18-1ubuntu2 on Ubuntu Vivid.

I tested with the following command:
$ secret-tool store --label="example" foo bar

I've taken the liberty of moving this bug report to the libsecret
package, since I don't see how it is related to anacron.

** Package changed: anacron (Ubuntu) => libsecret (Ubuntu)

** Changed in: libsecret (Ubuntu)
       Status: New => Confirmed

** Tags added: trusty utopic vivid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libsecret in Ubuntu.
https://bugs.launchpad.net/bugs/1420914

Title:
  secret-tool does not run on headless system

Status in libsecret package in Ubuntu:
  Confirmed

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsecret/+bug/1420914/+subscriptions