Skip to content

Commit

Permalink
Start grml-x via .zprofile
Browse files Browse the repository at this point in the history
To get rid of our ugly hacks to start X via the bootoption "startx", we
decided to run grml-x on tty7/vt7 which is defined in the
.zprofile-file.

When the bootoption "startx" is given, we switch to tty7 (via
grml-autoconfig) where agetty automatically starts a grml-user
login-(z)-shell and grml-x is started.

Closes grml/grml#20
  • Loading branch information
jkirk committed May 20, 2017
1 parent b008773 commit 8a32433
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etc/skel/.zprofile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[[ -z $DISPLAY && -n "$XDG_VTNR" && "$XDG_VTNR" -eq 7 ]] && grml-x

0 comments on commit 8a32433

Please sign in to comment.