Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1965338

Summary: kiosk-session subpackage needs to be ported from RHEL 8
Product: Red Hat Enterprise Linux 9 Reporter: Ray Strode [halfline] <rstrode>
Component: gnome-sessionAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas Pelka <tpelka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: jhorak, jkoten, rstrode, stransky, tpelka
Target Milestone: betaKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnome-kiosk-40.0-4.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:20:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1950042    

Description Ray Strode [halfline] 2021-05-27 13:40:10 UTC
RHEL 8 has a gnome-session-kiosk-session package that we should ship in RHEL 9 too.

In RHEL 8 it uses mutter as the window manager. In RHEL 9 it should use gnome-kiosk

Comment 12 Ray Strode [halfline] 2021-08-11 18:01:42 UTC
so tpelka pointed out there's a fresh off the buildsystem build of firefox that fixes the tab crashing issue I was seeing.

I did some testing and found one issue, the desktop file is missing X-GNOME-HiddenUnderSystemd=true in it.
This meant it was getting started twice, once from systemd and once from gnome-session
I also think the service file should have SendSIGHUP=true in it. I'll do builds for those things after I investigate teh crash from comment 10

Comment 13 Ray Strode [halfline] 2021-08-11 18:18:41 UTC
another issue i've run into is it's hard to switch between wayland and xorg since the sessions are named differently, so there's no automatic fallback.  I'll make sure to fix that too.

Comment 14 Ray Strode [halfline] 2021-08-11 19:09:10 UTC
just a heads up, there's already a requires in place:

Requires:       %{name} = %{version}-%{release}•

Comment 15 Ray Strode [halfline] 2021-08-11 20:05:12 UTC
So i have some fixes brewing here:

https://gitlab.com/redhat/centos-stream/rpms/gnome-kiosk/-/merge_requests/13

But testing with firefox still isn't working that well. It's failing to map until another window maps on screen too.  I'm assuming it's some sort of gnome-kiosk or mutter bug, but I haven't been able to figure out what yet. Maybe something to do with unredirection of fullscreen windows? anyway going to dig more.

Comment 16 Ray Strode [halfline] 2021-08-12 13:49:38 UTC
So the problem mentioned in comment 15 doesn't seem to happen at all now. I don't know if it was gremlins or some issue on my test system from in-place hacking, or if it's an unfixed race that I was losing before and always win now.  I would appreciate if you could test and see if the problem happens for you. Make sure to start with a fresh user, because the session name changed.

At any rate, everything is working great for me now with firefox.  Assuming things check out for you too, I think we can cautiously move forward.

Today, I'm going to look at replacing the search-appliance with a configurable gnome-kiosk-browser-session subpackage instead.

Comment 17 Tomas Pelka 2021-08-13 16:02:12 UTC
OK no more crash with Alt+F2, session do not react to standard key combos, switch to VT is disabled. There is only one session type which is based on the patch expected. Firefox --kiosk works nicely.