From f458c15677c33c00e1e357d10dacf814b5ccfa72 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 4 Mar 2025 16:11:28 -0500 Subject: [PATCH] Correct launching of GUI in genesis --- .../genesis/initramfs/opt/confluent/bin/rungenesis | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis b/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis index de9b4305..1d87e978 100644 --- a/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis +++ b/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis @@ -8,7 +8,8 @@ if [ -x /usr/bin/seatd-launch -a -x /usr/bin/sway ]; then export XDG_RUNTIME_DIR=/run/users/0 mkdir -p $XDG_RUNTIME_DIR sed -i '/^output /d' /etc/sway/config - echo 'exec foot -t XTERM -T Terminal tmux a' > /etc/sway/config.d/genesis + echo 'exec foot -t xterm -T Terminal tmux a' > /etc/sway/config.d/genesis + (while :; do seatd-launch sway <> /dev/tty1 >& /dev/null; done) & else (while :; do TERM=linux tmux a <> /dev/tty1 >&0 2>&1; done) & fi