Cannot start gpg4win

Hello,

I try to install gpg4win on domain machine.
Installation working fine, no errors, but cannot start “kleopatra.exe”
If look into task manager, the “kleopatra.exe” is starting and closing.
Did try check Event Logs of Windows, but no “crash” info there, also enabled Windows dump crash folder for applications, no info there too.

Can you please help?

OS: Windows 7 Enterprise 64bit

Best regards,
Oscar

Hi Oscar,
I take it you did install 2.3.1.
Can you try to start kleopatra.exe manually on the cmd.com?

See Kleo section in https://wiki.gnupg.org/TroubleShooting

Best,
Bernhard
ps.: Flattr Gpg4win at https://flattr.com/thing/2053326,
if you appreciate this answer and my work within the Gpg4win Initiative.

Hello Bernhard,

I have activated all logs from here:
https://www.gpg4win.de/doc/en/gpg4win-compendium_29.html

I did try run from CMD, same issue, not starting.
Logs I catch attached also from DebugView.

With dependency walker I see only this error:
Error: Modules with different CPU types were found.
Not sure what it is and how to deal with it.

Best regards,
Oscar

kleologdir.zip (3.67 KB)

Hi,
your problem seems to be with the following log line:

Critical:kleopatra(10684): KUniqueApplication: Cannot find the D-Bus session server: “Failed to get autolaunch address from launched dbus-daemon”

Check out the forum, this often can be the case if something with the local
network connection does not work as expected, see
https://wald.intevation.org/forum/message.php?msg_id=3940&group_id=11

Best,
Bernhard

Hello Bernhard,

Indeed I don’t see process running: dbus-daemon
I have tried add dbus-daemon in firewall as accept any connection, turn off firewall, also can add that my PC respond to localhost ping, did try delete hosts file, but not sure why other guy did that :slight_smile:

See print screen what i see if try run from CMD the line “bin\dbus-daemon.exe --session”
Is this normal error?

Best regards,
Oscar

dbus-daemon.jpg

And see this if run like: “C:\Program Files (x86)\GNU\GnuPG>bin\dbus-daemon.exe --session”

"
C:\Program Files (x86)\GNU\GnuPG>bin\dbus-daemon.exe --session
Failed to start message bus: Failed to open “C:\Program Files (x86)\GNU\GnuPG\etc\session-local.conf”: The system cannot find the file specified.
"

Best regards,
Oscar

Hello Bernhard,

The trick helped for me is to delete those lines:
–BEGIN

session-local.conf

contexts/dbus_contexts
–END

From file: C:\Program Files (x86)\GNU\GnuPG\etc\session.conf

After delete those lines I can start Kleopatra and I see that “dbus-daemon.exe” is running as well.

Is it safe to delete those lines?

Best regards,
Oscar

Hello Bernhard,

The trick helped for me is to delete those lines:
–BEGIN

session-local.conf

contexts/dbus_contexts
–END

From file: C:\Program Files (x86)\GNU\GnuPG\etc\session.conf

After delete those lines I can start Kleopatra and I see that “dbus-daemon.exe” is running as well.

Is it safe to delete those lines?

Best regards,
Oscar