File tree Expand file tree Collapse file tree
overlays/rootfs-overlay/etc/systemd/system Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[Unit]
2- Description =Microlab Browser (X11 Kiosk)
3- After =network-online.target systemd-logind.service getty@tty1.service
2+ Description =Microlab Browser (X11 Kiosk on vt7 )
3+ After =network-online.target systemd-logind.service
44Wants =network-online.target
5- BindsTo =getty@tty1.service
65
76# OR conditions using the '|' prefix — if any exists, the unit may start
87ConditionPathExists =|/dev/fb0
@@ -26,17 +25,17 @@ RuntimeDirectoryMode=0700
2625Environment =DISPLAY =:0
2726Environment =XDG_RUNTIME_DIR =%t/microlab-browser
2827
29- # Attach to a real VT and open a PAM session so logind grants seat/DRM/input access
28+ # Open a PAM session so logind grants seat/DRM/input access.
29+ # Attach to a VT we control (not the tty1 getty).
3030StandardInput =tty
31- TTYPath =/dev/tty1
31+ TTYPath =/dev/tty7
3232TTYReset =yes
33- TTYVHangup =yes
34- TTYVTDisallocate =yes
3533PAMName =login
3634
37- # Launch Xorg on :0 and run startBrowser script as *thief*
35+ # Launch Xorg on :0 bound to vt7 and run startBrowser as *thief*
3836# (no --no-sandbox needed because we're not root)
39- ExecStart =/usr/bin/xinit /opt/solderless-microlab/scripts/startBrowser.sh -- :0 -nolisten tcp -s 0 -dpms -nocursor vt1
37+ ExecStart =/usr/bin/xinit /opt/solderless-microlab/scripts/startBrowser.sh -- :0 -nolisten tcp -s 0 -dpms -nocursor vt7
38+
4039Restart =on-failure
4140RestartSec =5
4241
You can’t perform that action at this time.
0 commit comments