E2OD
Terminal
Setup
- Ubuntu 24.04 Server
- minified install
- proper network config (set ETHs optional)
- add ssh keys
- disable password auth
- add fbcon=rotate:1 to GRUB_CMDLINE_LINUX_DEFAULT
GRUB_CMDLINE_LINUX_DEFAULT="fbcon=rotate:1"
- hit update-grub
- apt update && apt upgrade && apt -y install less nano lightdm lightdm-autologin-greeter
- adduser public
- edit /etc/lightdm/lightdm.conf.d/lightdm-autologin-greeter.conf
# you really have to configure the below, otherwise
# LightDM auto-login will fail...
autologin-user=public
# put any session from /usr/share/xsessions (strip .desktop from the file names there)
# here, if you want to run any other session than x-session-manager
autologin-session=e2od
- add /etc/lightdm/lightdm.conf.d/99-custom.conf
[Seat:*]
greeter-session=lightdm-autologin-greeter
[Desktop Entry]
Name=Kiosk Browser Session
Comment=Kiosk Browser
Exec=/usr/share/xsessions/kiosk.sh
TryExec=/usr/bin/chromium-browser
Type=Application
#!/usr/bin/env bash
# place this file in
# /usr/share/xsessions/kiosk.sh
# and make it executable
# switch off power management and screen saver
xset -dpms
xset s off
xrandr -o right
xinput set-prop "10" --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
xinput set-prop "11" --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
# detect screen size
#SIZE=`xrandr | awk '/\*\+/ {print $1}' | sed 's/x/,/' `
SLEEPTIME="0.2s"
STARTURL="http://example.com"
# restart browser if stopped
while true; do
chromium-browser --incognito --no-first-run --no-message-box \
--noerrdialogs --disable-translate --default-browser \
--start-maximized --window-position=0,0 --window-size=1200,1920 \
--no-default-browser-check --kiosk $STARTURL
sleep $SLEEPTIME;
done
sketching
toggle display
- xset -display :0.0 dpms force on
- xset -display :0.0 dpms force off
IPs
fwl402.hda.tu-darmstadt.de
- eth0 130.83.75.49/29, Gateway: 130.83.75.54, DNS: 130.83.22.60, 130.83.22.63, 130.83.56.60
- eth1 10.13.0.254/24 Camnet
- eth2 10.13.1.254/24 Client Net
- eth3 192.168.1.1/24 Spare
- eth4 10.13.3.1/24 Misc Net
Camnet
DHCP: off
- 10.13.0.10 cam1
- 10.13.0.11 cam2
- 10.13.0.12 cam3
- 10.13.0.13 cam4
- 10.13.0.254 fwl402.hda.tu-darmstadt.de
Client Net
DHCP: 150-160 and 1-10 based on MAC
- 10.13.1.1/24 client01 94:05:bb:10:cf:91 401199/
- 10.13.1.2/24 client02 98:fc:84:e3:20:af 401199/
- 10.13.1.3/24 client03 94:05:bb:10:d0:7f 401199/
- 10.13.1.4/24 client04 98:fc:84:e4:43:00 401199/
- 10.13.1.5/24 client05 98:fc:84:e4:3f:69 401199/
- 10.13.1.6/24 client06 94:05:bb:10:d0:64 401199/
- 10.13.1.7/24 client07 94:05:bb:10:d2:b0 401199/
- 10.13.1.8/24 client08 84:05:bb:19:52:b2 401199/
- 10.13.1.9/24 client09 98:fc:84:e3:9d:d8 401199/
- 10.13.1.10/24 client10 94:05:bb:10:cf:14 401199/
- 10.13.1.254/24 fwl402.hda.tu-darmstadt.de
Spare Net
DHCP: on 100-150
For maintenance purposes.
- 192.168.1.254 fwl402.hda.tu-darmstadt.de
Misc Net
DHCP: off
- 10.13.3.1/24 ServicePoint
- 10.13.3.2/24 AccessPoint
- 10.13.3.3/24 Printer
- 10.13.3.4/24 Thomas
- 10.13.3.20/24 ESP Keypad
- 10.13.3.21/24 ESP Unlocker
- 10.13.3.22/24 ESP Window
- 10.13.3.23/24 ESP ServicePoint
- 10.13.3.254/24 fwl402.hda.tu-darmstadt.de