public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jocelyn Falempe <jfalempe@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/kmscon] rawhide: Fix kmscon starting in background
Date: Tue, 09 Jun 2026 12:54:04 GMT [thread overview]
Message-ID: <178100964463.1.10518244810457269646.rpms-kmscon-4e90da4671ec@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/kmscon
Branch : rawhide
Commit : 4e90da4671eca3f58641b535a6ecf568dfb60cc1
Author : Jocelyn Falempe <jfalempe@redhat.com>
Date : 2026-06-09T14:53:26+02:00
Stats : +37/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/kmscon/c/4e90da4671eca3f58641b535a6ecf568dfb60cc1?branch=rawhide
Log:
Fix kmscon starting in background
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
---
diff --git a/0001-seat-Fix-seat-startup-in-background.patch b/0001-seat-Fix-seat-startup-in-background.patch
new file mode 100644
index 0000000..bf7359f
--- /dev/null
+++ b/0001-seat-Fix-seat-startup-in-background.patch
@@ -0,0 +1,32 @@
+From 087ded3ac1ef932e73fd0f1fb47a8d49c4404a67 Mon Sep 17 00:00:00 2001
+From: Jocelyn Falempe <jfalempe@redhat.com>
+Date: Tue, 9 Jun 2026 14:38:44 +0200
+Subject: [PATCH] seat: Fix seat startup in background
+
+If VT 2 is active, and you run systemctl restart kmsconvt@tty3
+
+Then the session will try to directly take the GPU, and fails.
+So don't awake the seat on startup, but wait for the tty be be activated.
+
+Fix: 0dffbd7 session: Simplify session management
+Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
+---
+ src/kmscon_seat.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/kmscon_seat.c b/src/kmscon_seat.c
+index 91b8db8..7dd13de 100644
+--- a/src/kmscon_seat.c
++++ b/src/kmscon_seat.c
+@@ -1101,8 +1101,6 @@ void kmscon_seat_startup(struct kmscon_seat *seat)
+ if (!seat)
+ return;
+
+- seat_go_awake(seat);
+-
+ s = kmscon_seat_new_session(seat);
+ if (s)
+ seat_switch(seat, s);
+--
+2.54.0
+
diff --git a/kmscon.spec b/kmscon.spec
index cee55b3..33029c6 100644
--- a/kmscon.spec
+++ b/kmscon.spec
@@ -29,13 +29,16 @@ BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(xkbcommon) >= 0.5.0
BuildRequires: pkgconfig(zlib)
-Patch: localectl_support.patch
+Patch1: localectl_support.patch
+
+# Fix background startup:
+Patch2: 0001-seat-Fix-seat-startup-in-background.patch
# Temporary downstream patch until kmscon natively supports /usr/lib/issue.d
# This is needed by Fedora Server and Fedora ELN to display the Cockpit
# console URL at the login prompt.
# See https://github.com/kmscon/kmscon/issues/407 for more details
-Patch: 0001-Use-agetty-on-Fedora.patch
+Patch10: 0001-Use-agetty-on-Fedora.patch
%description
Kmscon is a simple terminal emulator based on linux kernel mode setting (KMS).
reply other threads:[~2026-06-09 12:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178100964463.1.10518244810457269646.rpms-kmscon-4e90da4671ec@fedoraproject.org \
--to=jfalempe@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox