Start xinit inside su
authorJoachim Breitner <mail@joachim-breitner.de>
Thu, 4 Sep 2008 14:52:15 +0000 (16:52 +0200)
committerJoachim Breitner <mail@joachim-breitner.de>
Thu, 4 Sep 2008 14:52:15 +0000 (16:52 +0200)
commit78ecbe5f763ded6345d96dde9b01941415c1e357
tree3e1a41bd52335856c24ebe2118c2d965ea7044ad
parentadb349a033fbf3bc09c673d771db4a42893db12b
Start xinit inside su

Otherwise:
 * xinit thinks it’s ran for root (if $USER is something else)
 * su without -p forgets DISPLAY
 * su with -p does not override HOME, and does not do cd ~
zhone-session.init