system

the Chamesle handbook, init, live ISO and install helpers
git clone https://github.com/tortr-rs/system
Log | Files | Refs | README | LICENSE

chamesle-session (370B)


      1 #!/bin/sh
      2 # the login on tty1 of a graphical stage: starts X with rio, and comes back to the shell when X ends
      3 export PLAN9=/opt/plan9
      4 export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PLAN9/bin
      5 export HOME=${HOME:-/root}
      6 cd "$HOME"
      7 xinit /etc/X11/xinit/xinitrc -- /usr/bin/Xorg :0 vt1 -keeptty -nolisten tcp >"$HOME/.xsession-errors" 2>&1
      8 exec /usr/bin/mksh -l