New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keybase-gui silently fails (no logs either) #16843
Comments
I assume you're using the Keybase community package. cc @eli-schwartz who maintains it (Keybase maintains @oefd, could you try |
This is the shim script I install to emulate the run_keybase script, as the community package does not, for example, provide the suid redirector. I can start up the GUI using this systemd startup process and find newly appended log data from today in /home/eschwartz/.cache/keybase/Keybase.app.log |
Note that in respect to the default working of On Arch Linux, this is usually accomplished by executing /etc/X11/xinit/xinitrc.d/50-systemd-user.sh as part of xorg initialization, if you're using wayland then you should be performing a similar setup. I don't use wayland and am unsure whether there is any default integration similar to xorg's ~/.xinitrc (or if wayland uses DISPLAY, I seem to see mention of WAYLAND_DISPLAY instead?). |
fwiw @eli-schwartz, we've gotten a few bug reports from Arch users who don't have |
That sounds like it would make sense. According to the help text for this command, it "Among other things, sets up a environment file", but the --dry-run output seems to indicate this is the only thing it does. Is there something I'm missing? This new logic refactored out of run_keybase does seem pretty clean and targeted, so if it just sets up keybase's private env file it's definitely something I should add. |
Does electron actually work on Wayland, or does it need XWayland? |
@eli-schwartz Thanks for the help, the problem was indeed not source the xinit script. I didn't realize it'd be a problem because something with sway/xwayland was setting I'll call this solved, and see if I can't put a little snippet about this in the Arch wiki to mention this. @heronhaye For what it's worth: if |
Maybe the error message was in |
@oefd glad it's solved. @eli-schwartz Actually, and I wasn't able to do this in the official package because Debian's systemd is ancient, you could package a systemd environment generator (https://www.freedesktop.org/software/systemd/man/systemd.environment-generator.html) that mirrors the variables forwarded by |
@heronhaye I think the keybase-specific environment file is fine. More generally, @oefd I think I can solve the missing error message by using |
I'm currently uploading a new keybase package for release 3.2.1 which contains both changes that were discussed. |
I have keybase (the service) and kbfs running - and they work just fine.
keybase status
gives:which all looks fine to me, but the problem starts when I want to get the GUI going.
keybase-gui
will run and give a 0 exit code, but the status is unchanged:and the log file
Keybase.app.log
does not exist after runningkeybase-gui
. (but other log files do, and they seem to contain nothing about the failure of the GUI)I wouldn't be surprised if the key issue is that I'm trying to run this on wayland/swaywm, but even if it's some issue outside of keybase' hand that the gui can't work in that environment yet it seems like a problem in its own right that it's possible for a failure that emits no logs or error messages, and still happily lets
keybase-gui
exit with 0.The text was updated successfully, but these errors were encountered: