vinegarhq / sober

Runtime for Roblox on Linux
https://sober.vinegarhq.org/
195 stars 7 forks source link

LIBSECRET=1 results in failure to launch after reboot on KDE #77

Open Covkie opened 1 month ago

Covkie commented 1 month ago

Acknowledgement of checking existent issues

What problem did you encounter?

$ flatpak run org.vinegarhq.Sober
[log @ JNIMain]: TelemetryProtocol::setProcessTimeOverride: 239
[log @ rbx.signalr_jni]: [JNI] OnLoad: ... Done
[log @ rbx.JNIRobloxSettings]: Setting default app policy file: /home/kylie/.var/app/org.vinegarhq.Sober/data/sober/assets/content/guac/defaultConfigs/GuacDefaultPolicy-GlobalDist.json

This is unrelated to other Setting default app policy file errors as I can access roblox.com just fine.

Launching without LIBSECRET=1 works as intended

Roblox Experience link

No response

lunarlattice0 commented 1 month ago

Known bug, it seems that on some systems KDE fails to display the password prompt. Since libsecret is waiting for user interaction, it hangs Sober.

Please check that you have registered kWallet as a libsecret daemon as well.

I have heard that using another program to prompt the password before running Sober has also worked, but since this is pretty inconvenient, I recommend using the default mode without LIBSECRET=1 if it is not working on your system.

Edit: If anyone else would like to test this feature out on a KDE system, that would be very much appreciated.

Covkie commented 1 month ago

on first run xdg-desktop-portal accesses the wallet and remains open. upon a reboot it does not rerun the access request so sober fails. I assume you may have to rerun the access logic that happens on first setup or something

lunarlattice0 commented 1 month ago

There is no different behavior programmed between runs

km9l commented 1 month ago

upon a reboot it does not rerun the access request so sober fails.

can you get dbus-monitor output for both a first run and a run afterwards?

also kwallet's xdg-desktop-portal support is recent, this is very likely a kwallet bug