kiro in linux not working - logging system not working
Feature Description
kiro in linux not working - logging system not working
Use Case
kiro in linux not working - logging system not working
Additional Context
No response
Hey @mijailguillemard-pixel, Could you please elaborate on what you mean by the logging system not working? Are you encountering any errors while logging? Kindly share additional details so we can better understand and address the issue
hey kiro team, you can find full details of the problem by for instance searching in the ai brave browser using the key words kiro login linux hangs. Here is one output:
The Kiro login process on Linux systems can hang when attempting to authenticate, particularly when the application tries to launch the system's default web browser for sign-in. This issue has been reported across multiple Linux distributions, including Ubuntu 24.04.2 LTS and Linux Mint 22.1 Cinnamon , where clicking on login options like "Sign in with GitHub" or "Sign in with Google" results in the application freezing at the "redirecting to browser" screen without launching the browser. The application becomes completely unresponsive, and no further interaction is possible, including using the "Cancel" button.
The root cause appears to be the application's failure to properly call the system's default URL handler, which prevents the browser from launching. This issue is linked to underlying problems with the application's core processes, such as the UtilityProcessWorker terminating unexpectedly and the Extension host becoming unresponsive. Additionally, users have observed numerous errors in the terminal logs related to the GBM (Generic Buffer Manager) wrapper, specifically failures to get file descriptors for planes and export buffers to dma_buf, which may indicate deeper system-level compatibility issues.
The problem is not isolated to the desktop application. The Kiro CLI (kiro-cli login) also fails to open the browser for authentication and does not fall back to alternative login methods like q login, which previously worked. This indicates a broader issue with the authentication flow across different Kiro components. Users are advised to run kiro-cli doctor to diagnose and fix common issues, verify their internet connection, and ensure they are using a supported environment. Reinstalling the Kiro CLI may also help resolve the problem.
On Fri, Dec 12, 2025 at 3:06 PM Anil Maktala @.***> wrote:
AnilMaktala left a comment (kirodotdev/Kiro#4366) https://github.com/kirodotdev/Kiro/issues/4366#issuecomment-3646620493
Hey @mijailguillemard-pixel https://github.com/mijailguillemard-pixel, Could you please elaborate on what you mean by the logging system not working? Are you encountering any errors while logging? Kindly share additional details so we can better understand and address the issue
— Reply to this email directly, view it on GitHub https://github.com/kirodotdev/Kiro/issues/4366#issuecomment-3646620493, or unsubscribe https://github.com/notifications/unsubscribe-auth/B2YYTVLZ3AVMLZWCXWZQIF34BLDX5AVCNFSM6AAAAACOYTOQSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMNBWGYZDANBZGM . You are receiving this because you were mentioned.Message ID: @.***>
Hey @AnilMaktala
So, I'm on a Mac but use a Linux VM for dev.
On the Mac - the web browser is launched on login
$ kiro-cli version
kiro-cli 1.22.0
$ kiro-cli login
▰▱▱▱▱▱▱ Opening browser... | Press (^) + C to cancel
On linux (debian) however this behavior is different
$ kiro-cli version
kiro-cli 1.22.0
$ time kiro-cli login
error: Already logged in, please logout with kiro-cli logout first
real 0m15.936s <--- what's it doing for this long?
user 0m0.101s
sys 0m0.085s
$ time kiro-cli logout
You are now logged out
Run kiro-cli login to log back in to Kiro CLI
real 0m15.869s
user 0m0.103s
sys 0m0.063s
$ time kiro-cli login
? Select login method ›
❯ Use with Builder ID
Use with IDC Account <--- but where are the github and google signin options
$ time kiro-cli doctor
✘ Auth: Not authenticated. Please run kiro-cli login
error: Not authenticated. Please run kiro-cli login
real 0m16.155s
user 0m0.175s
sys 0m0.103s
$ time kiro-cli login --license 'pro' --social 'google' --use-device-flow --verbose
error:
0: Social login is not supported in remote environments. Please use BuilderID or Identity Center authentication.
Location:
crates/q_cli/src/cli/user.rs:326
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
real 0m15.956s
user 0m0.078s
sys 0m0.162s
But why - It seems arbitrary to limit this.
On bash, it doesn't work. On fish, it also doesn't work. It only can read the output on ZSH on mine, if that's what you meant.
Hi, I had the same issue on Ubuntu 24.04 with an older CPU (Intel Ivy Bridge, 2012). After some investigation I found a workaround that fixed it for me.
The root cause, in my case, was that the extension host was crashing silently before even getting to the login step. I documented the full analysis and the temporary fix in this related thread: https://github.com/kirodotdev/Kiro/issues/2741
For the full step-by-step workaround, I also put together a write-up here: https://github.com/lkevic/kiro-avx2-fix/blob/main/README.md
Hope this helps someone!
I was able to solve this issue by just using Bun's specific version for older devices. Here are the steps to fix it manually:
- Step 1: Download the Bun baseline build for older devices without AVX2:
wget https://github.com/oven-sh/bun/releases/latest/download/bun-linux-x64-baseline.zip
- Step 2: Unzip the downloaded file:
unzip bun-linux-x64-baseline.zip
- Step 3: Move the baseline binary to override Kiro's bundled engine:
mv ./bun-linux-x64-baseline/bun ~/.local/share/kiro-cli/bun
And voila! kiro-cli started successfully! WITHOUT --classic mode 🥀