https://bugs.freedesktop.org/show_bug.cgi?id=76273

--- Comment #15 from Emiliano Heyns <[email protected]> ---
Allright. Starting

$ ./dbus-session.sh bash

now shows

GNOME_KEYRING_CONTROL=/run/user/1000/keyring-g51NwC
GNOME_KEYRING_PID=32508

If I then start the script below with:

password=xxxxxx ./setup.sh

I get 


(gnome-keyring:32540): Gtk-WARNING **: cannot open display:
** Message: couldn't initialize prompt:
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
/usr/lib/gcr/gcr-prompter exited with status 1
[ERROR] fetching folder list: GDBus.Error:org.meego.activesyncd.Error.Failed:
HTTP request failed: 401 - Unauthorized

But I thought the 3rd gconftool call was supposed to store the password so
gcr-prompter wouldn't be necessary? Could it be related perhaps to gconftool-2
being called rather than gconftool in the first two config commands?

===== script

#!/bin/sh

[email protected]
username="staff\\hnse"
echo $password

gconftool --type string --set /apps/activesyncd/accounts/$email/serverUri
'https://weboffice.han.nl/Microsoft-Server-ActiveSync'
gconftool --type string --set /apps/activesyncd/accounts/$email/username
"$username"
gconftool-2 --set --type=string /apps/activesyncd/accounts/$email/password
$password

/usr/bin/gnome-keyring &

EAS_DEBUG_FILE=activesyncd.log EAS_DEBUG=5 /usr/libexec/activesyncd &
syncevolution --daemon=no --print-databases username=$email backend=eas-events

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
https://lists.syncevolution.org/mailman/listinfo/syncevolution-issues

Reply via email to