[Bug]: Sign in required after restarting hub since update from 3.12 to 3.16

Open
#176 9 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
linux

Research direction

No source file or test is named. Reproduce the sign-in loss on Fedora Kinoite by signing in, quitting or restarting Unity Hub, and reviewing the reported KWallet and D-Bus output; the issue is done when the session remains authenticated after reopening Hub without manually granting session-bus permissions.

Written by the indexing model from the issue text.

Description

bug help wanted
What Happened

When restarting Unity Hub, I have to sign in again. I should stay logged in.
The command line output shows errors connecting to kwallet, so I assumes its just dbus permissions missing. See comment.

How to Reproduce
  1. Open Unity Hub
  2. Sign in
  3. Restart pc or quit hub from the system tray
  4. Open Unity Hub again
  5. I am not signed in
Operating System

Fedora Kinoite 43

Command-line output
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: deb
[2:0205/233449.209481:ERROR:dbus/object_proxy.cc:573] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd6: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[2:0205/233449.209514:ERROR:components/os_crypt/sync/kwallet_dbus.cc:113] Error contacting kwalletd6 (isEnabled)
[2:0205/233449.209806:ERROR:dbus/object_proxy.cc:573] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[2:0205/233449.209813:ERROR:components/os_crypt/sync/kwallet_dbus.cc:82] Error contacting klauncher to start kwalletd6
[2:0205/233449.209953:ERROR:dbus/object_proxy.cc:573] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd6: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[2:0205/233449.209957:ERROR:components/os_crypt/sync/kwallet_dbus.cc:408] Error contacting kwalletd6 (close)
[70:0205/233449.392275:ERROR:media/gpu/vaapi/vaapi_wrapper.cc:1631] vaInitialize failed: unknown libva error
LaunchProcess: failed to execvp:
xdg-settings
^C
[2 preload-host-spawn-strategy] Dropping 0x3e78000402c0 (3) because of connection closed
[2:0205/233726.368788:FATAL:dbus/bus.cc:1248] D-Bus connection was disconnected. Aborting.
Anything else?

I manually gave permission to communicate with the following sessison busses:

  • org.freedesktop.DBus
  • org.kde.kwalletd6

This successfully solved the issue.

Dominant language
Python
Stars
26
Forks
16
Avg merge
15h 26m
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from flathub/com.unity.UnityHub

All issues in flathub/com.unity.UnityHub

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.