diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-10-13 04:23:20 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-10-13 04:23:20 +0000 |
commit | f7d5e8f722a8d33df033dc7812204f395d151977 (patch) | |
tree | 5027b93fddfcb9cfb50e60715e3f40759f33c0c0 /gdm | |
parent | 70d94df34defa2b893f097902e61557479ee6013 (diff) |
Add files for kiosk-mode web-browser.
Diffstat (limited to 'gdm')
-rwxr-xr-x | gdm/Sessions/Kiosk | 29 | ||||
-rwxr-xr-x | gdm/Sessions/SimpleKiosk | 11 |
2 files changed, 40 insertions, 0 deletions
diff --git a/gdm/Sessions/Kiosk b/gdm/Sessions/Kiosk new file mode 100755 index 0000000..662bc78 --- /dev/null +++ b/gdm/Sessions/Kiosk @@ -0,0 +1,29 @@ +#!/bin/sh +# +# /etc/gdm/Sessions/Kiosk +# Copyright 2002 Jonas Smedegaard <dr@jones.dk> +# +# $Id: Kiosk,v 1.1 2002-10-13 04:24:07 jonas Exp $ +# +# Run a guest web-only environment +# For kiosk use... +# +# Requirements: oroborus, light +# +# Limitations: +# * Cannot handle multiple logins to same account +# (a limitation of mozilla-based browsers) +# * This file must be copied to /etc/gdm/Sessions/Kiosk +# (symlinks are ignored by GDM) + +cp -f /etc/local-COMMON/X11/oroborus/kiosk.oroborusrc $HOME/.oroborusrc +/usr/bin/oroborus & + +mkdir -p $HOME/.light +cp -f /etc/local-COMMON/X11/light/prefs-kiosk.js $HOME/.light/prefs.js + +# run forever... +# (until GDM hopefully one day supports remote auto-login) +while true; do + /usr/bin/light http://kiosk/ +done diff --git a/gdm/Sessions/SimpleKiosk b/gdm/Sessions/SimpleKiosk new file mode 100755 index 0000000..688b863 --- /dev/null +++ b/gdm/Sessions/SimpleKiosk @@ -0,0 +1,11 @@ +#!/bin/sh +# +# /etc/gdm/Sessions/SimpleKiosk +# Copyright 2002 Jonas Smedegaard <dr@jones.dk> +# +# $Id: SimpleKiosk,v 1.1 2002-10-13 04:24:07 jonas Exp $ +# +# Run the web browser dillo as a barebones kiosk. +# Supports multiple logins to same account, + +exec /usr/bin/dillo http://kiosk/ |