-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
/dev/tty7 is typically the virtual terminal associated with the graphical user interface (GUI) on Linux systems. It is where the X server or the Wayland display server usually runs, handling the graphical display, input, and windowing environment. When you start a graphical session (such as GNOME, KDE, etc.), it usually runs on this virtual console. This patch mount bind /dev/tty7 to QM container and also to the nested containers. Just run: make qm_dropin_mount_bind_tty7 Signed-off-by: Douglas Schilling Landgraf <[email protected]>
- Loading branch information
Showing
5 changed files
with
84 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
/*.tar.gz | ||
rpmbuild/ | ||
tmp | ||
qm.pp.bz2 | ||
*~ | ||
qm_file_contexts | ||
*.8 | ||
tests/e2e/ContainerFile.template | ||
tests/e2e/ContainerFile.template |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
etc/qm/containers/containers.conf.d/qm_dropin_mount_bind_tty7.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Drop-in configuration for Podman to mount bind /dev/tty7 from host to container | ||
# | ||
# /dev/tty7 is typically the virtual terminal associated | ||
# with the graphical user interface (GUI) on Linux systems. | ||
# It is where the X server or the Wayland display server usually runs, | ||
# handling the graphical display, input, and windowing environment. | ||
# When you start a graphical session (such as GNOME, KDE, etc.), | ||
# it usually runs on this virtual console. | ||
[containers] | ||
devices = [ | ||
"/dev/tty7:/dev/tty7" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v*.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters