diff --git a/docs/greetd-autologin-setup.md b/docs/greetd-autologin-setup.md deleted file mode 100644 index 4ee2d08..0000000 --- a/docs/greetd-autologin-setup.md +++ /dev/null @@ -1,67 +0,0 @@ -# Greetd Auto-Login Setup for Ubuntu Server 24 - -## Overview -This guide configures greetd for automatic login of the `kiosk` user on Ubuntu Server 24, bypassing password authentication while keeping the user account password-protected for other purposes. - -## Installation - -```bash -# Install greetd -sudo apt update -sudo apt install greetd - -# Disable other display managers if running -sudo systemctl disable gdm3 lightdm sddm -``` - -## Configuration - -Edit `/etc/greetd/config.toml`: - -```toml -[terminal] -vt = 1 - -[default_session] -command = "agreety --cmd /bin/bash" -user = "kiosk" - -[initial_session] -command = "/bin/bash" -user = "kiosk" -``` - -## Auto-Start Application - -Create `/home/kiosk/.bash_profile`: - -```bash -#!/bin/bash -# Auto-start RhemaWave on login -if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then - exec /usr/local/bin/rhemawave -fi -``` - -Make it executable: -```bash -chmod +x /home/kiosk/.bash_profile -chown kiosk:kiosk /home/kiosk/.bash_profile -``` - -## Enable Service - -```bash -sudo systemctl enable greetd -sudo systemctl start greetd -``` - -## Verification - -Reboot the system. The `kiosk` user should auto-login on tty1 and launch RhemaWave automatically. - -## Notes - -- The `kiosk` user password remains active for SSH, sudo, and manual logins on other TTYs -- Auto-login only applies to tty1 (the primary console) -- If RhemaWave crashes, the user remains logged in at a bash prompt diff --git a/docs/kiosk-setup-guide.md b/docs/kiosk-setup-guide.md deleted file mode 100644 index 9e1b49c..0000000 --- a/docs/kiosk-setup-guide.md +++ /dev/null @@ -1,189 +0,0 @@ -# RhemaWave Kiosk Setup Guide - Ubuntu Server 24 - -Complete setup guide for a fresh Ubuntu Server 24 installation configured as a RhemaWave kiosk. - -## Initial System Setup - -### 1. Create Kiosk User - -```bash -sudo adduser kiosk -sudo usermod -aG sudo kiosk -``` - -### 2. Install Dependencies - -```bash -sudo apt update -sudo apt install -y \ - libsdl2-2.0-0 \ - libsdl2-ttf-2.0-0 \ - libsdl2-mixer-2.0-0 \ - libegl1-mesa \ - libgles2-mesa \ - libgbm1 \ - libinput10 \ - libxkbcommon0 \ - dbus \ - network-manager -``` - -### 3. Install Cage (Wayland Compositor) - -```bash -sudo apt install -y cage -``` - -### 4. Install Greetd - -```bash -sudo apt install -y greetd -``` - -### 5. Configure PAM for Greetd - -Create `/etc/pam.d/greetd`: - -```bash -sudo tee /etc/pam.d/greetd < -``` - -### View RhemaWave Logs -```bash -# From SSH session -sudo journalctl -u greetd -f -``` - -### Restart RhemaWave -```bash -sudo systemctl restart greetd -``` - -### Update RhemaWave -```bash -sudo apt update -sudo apt upgrade rhemawave -``` diff --git a/scripts/setup.sh b/scripts/setup.sh deleted file mode 100755 index d2ec981..0000000 --- a/scripts/setup.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/bash -set -e - -# RhemaWave Repository Setup Script -# Usage: curl -fsSL https://repository.rhemawavetech.com/setup.sh | sudo bash - -echo "=== RhemaWave Repository Setup ===" - -# Check if running as root -if [ "$EUID" -ne 0 ]; then - echo "Error: This script must be run as root" - echo "Please run: curl -fsSL https://repository.rhemawavetech.com/setup.sh | sudo bash" - exit 1 -fi - -# Check if running on Ubuntu/Debian -if [ ! -f /etc/debian_version ]; then - echo "Error: This script is for Ubuntu/Debian systems only" - exit 1 -fi - -REPO_URL="https://repository.rhemawavetech.com" -REPO_NAME="rhemawave" -SOURCES_LIST="/etc/apt/sources.list.d/${REPO_NAME}.list" -KEYRING_FILE="/usr/share/keyrings/${REPO_NAME}-archive-keyring.gpg" - -echo "Adding RhemaWave repository..." - -# Add the repository to sources.list.d -# echo "deb [signed-by=${KEYRING_FILE}] ${REPO_URL} stable main" >"${SOURCES_LIST}" - -echo "deb [trusted=yes] ${REPO_URL} release main" >"${SOURCES_LIST}" - -# Download and install the GPG key (you'll need to provide this) -# Uncomment and modify once you have a GPG key: -# curl -fsSL "${REPO_URL}/KEY.gpg" | gpg --dearmor -o "${KEYRING_FILE}" - -echo "Updating package lists..." -apt update - -echo "Upgrading system packages..." -apt upgrade -y - -echo "Installing Tailscale..." -if ! command -v tailscale &> /dev/null; then - curl -fsSL https://tailscale.com/install.sh | sh -else - echo "✓ Tailscale already installed" -fi - -echo "Installing RhemaWave..." -apt install -y rhemawave - -echo "Setting Tailscale operator..." -if tailscale set --operator=kiosk; then - echo "✓ Tailscale operator set to kiosk" -else - echo "⚠ Warning: Could not set Tailscale operator" -fi - -echo "" -echo "=== Installation Complete ===" -echo "RhemaWave has been installed successfully." -echo "" \ No newline at end of file