Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[SOLVED] Niri freezes tty on launch attempt

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
DumJRaimond
n00b
n00b
Posts: 6
Joined: Wed Mar 18, 2026 9:20 pm

[SOLVED] Niri freezes tty on launch attempt

  • Quote

Post by DumJRaimond » Wed Mar 18, 2026 9:35 pm

Just like the title says, whenever i try to launch niri, either via greetd or manually, the tty becomes stuck on "loaded config from /home/user/.config/niri/config.kdl" (The config hasn't been changed aside from replacing alacritty with foot

However, it can be launched within Weston, and it gives 2 results depending on what command i use:

1 (niri, dbus-run-session niri) - Niri launches as a window, with a huge input delay

2 (niri --session, dbus-run-session niri --session) - Niri doesn't launch, giving the following message:

Code: Select all

2026-03-18T21:33:06.669874Z  WARN niri: running as a session but WAYLAND_DISPLAY
 is set, removing it
2026-03-18T21:33:06.669919Z  INFO niri: starting version 25.11 (b35bcae)
2026-03-18T21:33:06.698406Z DEBUG niri_config: loaded config from "/home/user/.
config/niri/config.kdl"

thread 'main' (4705) panicked at src/main.rs:181:6:
called `Result::unwrap()` on an `Err` value: error initializing the TTY backend

Caused by:
    0: Error creating a session. This might mean that you're trying to run niri 
on a TTY that is already busy, for example if you're running this inside tmux th
at had been originally started on a different TTY
    1: Failed to open session: Function not implemented (os error 38)
I'm quite new to Gentoo, so any help would be very appreciated :D
Last edited by DumJRaimond on Thu Mar 19, 2026 6:25 pm, edited 2 times in total.
Top
flexibeast
l33t
l33t
Posts: 682
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

Re: Niri freezes tty on launch attempt

  • Quote

Post by flexibeast » Wed Mar 18, 2026 11:22 pm

At least in part, it looks like you're trying to start Niri (a compositor) on top of another compositor (Weston) - i'm not sure of the extent to which this 'should' work, but the output you provided suggests Niri might not be happy with running on a VT (Virtual Terminal) that's already running another compositor. Can you confirm you've also tried starting Niri via the Linux console, i.e. the pure-text VT one gets on system startup when not using a display manager like greetd, by running `dbus-run-session niri --session`?
https://wiki.gentoo.org/wiki/User:Flexibeast
My most recent wiki contributions
Top
DumJRaimond
n00b
n00b
Posts: 6
Joined: Wed Mar 18, 2026 9:20 pm

Re: Niri freezes tty on launch attempt

  • Quote

Post by DumJRaimond » Thu Mar 19, 2026 12:24 am

flexibeast wrote:At least in part, it looks like you're trying to start Niri (a compositor) on top of another compositor (Weston) - i'm not sure of the extent to which this 'should' work, but the output you provided suggests Niri might not be happy with running on a VT (Virtual Terminal) that's already running another compositor. Can you confirm you've also tried starting Niri via the Linux console, i.e. the pure-text VT one gets on system startup when not using a display manager like greetd, by running `dbus-run-session niri --session`?
I tried to run it in the linux console many times before, but it freezes at "loaded config from /home/user/.config/niri/config.kdl", i can't do anything with it unless i switch to another tty.
Top
flexibeast
l33t
l33t
Posts: 682
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Thu Mar 19, 2026 3:21 am

Hmm, okay, odd. i just installed and ran it (via `dbus-run-session niri --session`) from a new VT while my Wayfire session was running, and it started fine.

Something else i'd like to check: Are you using Kmscon?
https://wiki.gentoo.org/wiki/User:Flexibeast
My most recent wiki contributions
Top
DumJRaimond
n00b
n00b
Posts: 6
Joined: Wed Mar 18, 2026 9:20 pm

  • Quote

Post by DumJRaimond » Thu Mar 19, 2026 6:20 am

Nope, not using Kmscon, however it seems like it was an issue with my drivers? i added radeonsi to VIDEO_CARDS in my make.conf, and now niri launches just fine, so i'd say that the issue is now solved :D :D :D
Top
flexibeast
l33t
l33t
Posts: 682
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Thu Mar 19, 2026 6:44 am

Ah! Glad you solved it - i'll add a note to the "Niri" page on the wiki. :) Could you please edit the title of this discussion to add '[SOLVED]' at the start?
https://wiki.gentoo.org/wiki/User:Flexibeast
My most recent wiki contributions
Top
Post Reply

6 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic