Skip to content

XRDP connection to RHEL 8.5 single application (kiosk) mode #2254

Closed Answered by matt335672
rathbunr asked this question in Q&A
Discussion options

You must be logged in to vote

Interesting question.

I've installed gnome-session-kiosk-session on a CentOS 8 stream machine as instructed by your link (which uses yum rather than dnf at the time of writing!) and had a look at it.

Not a lot gets installed. The most significant bit appears to be the desktop file for the kiosk session:-

$ cat /usr/share/xsessions/com.redhat.Kiosk.desktop
[Desktop Entry]
Name=Kiosk
Comment=Kiosk mode
Exec=/usr/bin/gnome-session --session=redhat-kiosk
DesktopNames=Red-Hat-Kiosk;GNOME;

At a first glance it appears the thing to do is to start the session using the Exec line indicated above.

In your kiosk user, create a file $HOME/.xsession with the following contents:-

#!/bin/sh

exec /usr/b…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by matt335672
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2250 on May 06, 2022 15:46.