HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-172-31-4-197 6.8.0-1036-aws #38~22.04.1-Ubuntu SMP Fri Aug 22 15:44:33 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/lightdm/guest-session/setup.sh
#!/bin/sh

HOME=${HOME:-$(getent passwd $(whoami) | cut -f6 -d:)}

# disable some services that are unnecessary for the guest session
services="jockey-kde.desktop jockey-gtk.desktop update-notifier.desktop user-dirs-update-gtk.desktop"

for service in ${services}; do
  if [ -e /etc/xdg/autostart/${service} ]; then
    [ -f ${HOME}/.config/autostart/${service} ] || cp /etc/xdg/autostart/${service} ${HOME}/.config/autostart
    echo "X-GNOME-Autostart-enabled=false" >> ${HOME}/.config/autostart/${service}
  fi
done

# disable Unity shortcut hint
[ -d ${HOME}/.cache/unity ] || mkdir -p ${HOME}/.cache/unity
touch ${HOME}/.cache/unity/first_run.stamp

[ -d ${HOME}/.kde/share/config ] || mkdir -p ${HOME}/.kde/share/config
echo "[Basic Settings]" >> ${HOME}/.kde/share/config/nepomukserverrc
echo "Start Nepomuk=false" >> ${HOME}/.kde/share/config/nepomukserverrc

echo "[Event]" >> ${HOME}/.kde/share/config/notificationhelper
echo "hideHookNotifier=true" >> ${HOME}/.kde/share/config/notificationhelper
echo "hideInstallNotifier=true" >> ${HOME}/.kde/share/config/notificationhelper
echo "hideRestartNotifier=true" >> ${HOME}/.kde/share/config/notificationhelper

# Load restricted session
#dmrc='[Desktop]\nSession=guest-restricted'
#/bin/echo -e ${dmrc} > ${HOME}/.dmrc

# delay the launch of info dialog
echo "export DIALOG_SLEEP=4" >> ${HOME}/.profile