Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 10. Restricting the session to a single application
You can start the GNOME session in single-application mode, also known as kiosk mode. In this session, GNOME displays only a full-screen window of the application that you have selected.
10.1. Single-application mode Link kopierenLink in die Zwischenablage kopiert!
Single-application mode is a modified GNOME session that reconfigures the Mutter window manager into an interactive kiosk. This session locks down certain behavior to make the standard desktop more restrictive. The user can interact only with a single application selected by the administrator.
You can set up single-application mode for several use cases, such as:
- In the communication, entertainment, or education fields
- As a self-serve machine
- As an event manager
- As a registration point
The GNOME Kiosk utility provides the single-application mode configuration and sessions.
The following single-application sessions are available:
- Search Appliance Session
-
This session always starts the Mozilla Firefox web browser at the
www.google.comwebsite. - Kiosk Script Session
- This session starts an arbitrary application that you specify in a shell script.
10.2. Enabling search appliance mode Link kopierenLink in die Zwischenablage kopiert!
This procedure installs and enables the Search Appliance Session, which restricts the GNOME session to the Google search engine in a web browser.
Procedure
Install the GNOME Kiosk packages:
dnf install gnome-kiosk gnome-kiosk-search-appliance
# dnf install gnome-kiosk gnome-kiosk-search-applianceCopy to Clipboard Copied! Toggle word wrap Toggle overflow - At the GNOME login screen, select Search Appliance Session from the gear button menu and log in as the single-application user.
- The Mozilla Firefox browser opens as a full-screen window in its kiosk mode. It shows the Google search page.
10.3. Enabling single-application mode Link kopierenLink in die Zwischenablage kopiert!
This procedure installs and enables the Kiosk Script Session, which restricts the GNOME session to a selected single application.
Procedure
Install the GNOME Kiosk packages:
dnf install gnome-kiosk gnome-kiosk-script-session
# dnf install gnome-kiosk gnome-kiosk-script-sessionCopy to Clipboard Copied! Toggle word wrap Toggle overflow - At the GNOME login screen, select Kiosk Script Session from the gear button menu and log in as the single-application user.
The gedit text editor opens as a full-screen window. It shows the shell script that configures which application runs in your single-application session.
Edit the shell script and enter the application that you want to start in the single-application session.
For example, to start the Mozilla Firefox browser, enter the following content:
#!/usr/bin/sh firefox --kiosk https://example.org
#!/usr/bin/sh firefox --kiosk https://example.orgCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Save the script file.
Close the gedit window.
The session terminates and restarts with your selected application.
- The next time you log into the single-application session, your selected application runs.