From 4a960b2a3cd6c5c32b555bb370dc00f7763da3f0 Mon Sep 17 00:00:00 2001 From: outis1one Date: Sun, 23 Nov 2025 17:33:45 -0500 Subject: [PATCH] Delete fix_talkkonnect_terminal.sh --- fix_talkkonnect_terminal.sh | 90 ------------------------------------- 1 file changed, 90 deletions(-) delete mode 100755 fix_talkkonnect_terminal.sh diff --git a/fix_talkkonnect_terminal.sh b/fix_talkkonnect_terminal.sh deleted file mode 100755 index 89ae8eb..0000000 --- a/fix_talkkonnect_terminal.sh +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/bash -################################################################################ -# Fix talkkonnect Terminal Initialization Error -################################################################################ -# This script fixes the "Cannot Initialize Terminal" error that occurs when -# talkkonnect is run as a systemd service without a TTY. -# -# The fix adds: -# - Environment="TERM=dumb" to use minimal terminal mode -# - StandardInput=null to prevent terminal initialization -################################################################################ - -set -e - -echo "================================" -echo " Talkkonnect Terminal Fix" -echo "================================" -echo - -# Get kiosk user (usually 'kiosk') -KIOSK_USER=$(ls -l /home | grep '^d' | grep -v lost | head -1 | awk '{print $NF}') - -if [ -z "$KIOSK_USER" ]; then - echo "❌ Error: Could not find kiosk user" - exit 1 -fi - -echo "Kiosk user: $KIOSK_USER" -echo - -# Check if talkkonnect is installed -if ! systemctl list-unit-files | grep -q talkkonnect.service; then - echo "❌ Error: talkkonnect service not found" - echo " Install talkkonnect first using the main install script" - exit 1 -fi - -echo "[1/3] Stopping talkkonnect service..." -sudo systemctl stop talkkonnect - -echo "[2/3] Updating systemd service..." -sudo tee /etc/systemd/system/talkkonnect.service > /dev/null <