Commit Graph

7 Commits

Author SHA1 Message Date
Earnestly f25cbb415d sx: test has clearer syntax when AND or OR is used 2017-12-04 11:56:45 +00:00
Earnestly a5fc2e3907 sx: combine export and assignment 2017-12-02 11:40:28 +00:00
Earnestly e08bc130c0 sx: use the default logfile
There's not a lot of point in absorbing the xserver's log file when it
will just be less intuitive for those looking for it in the standard
location.  Since the log is generated by Xorg and not sx, it only seems
reasonable.

This commit also renames xauthfile to xauthority for a little more
consistency with documentation and prior art.
2017-12-02 02:22:29 +00:00
Earnestly 29e20b2e41 sx: remove unused code 2017-12-02 02:17:10 +00:00
Earnestly 95f648452f README: mention the Xorg.wrap bypass
Xorg.wrap default system of autodetection of root rights requirement is
wrong in every case I've seen it used.  The result is the Xorg server
runs as the root user when it is not necessary.

The main autodetection failure case is when the proprietary nvidia
drivers are used, incorrectly assuming Xorg needs to be run as root.
2017-12-01 21:15:06 +00:00
Earnestly 6b089b8d50 sx: unconditionally run xauth remove in cleanup
Even if xauth(1) fails before we get a $pid for cleanup, make sure to
run xauth remove during cleanup.
2017-12-01 20:59:00 +00:00
Earnestly 161b8be6f5 introduce sx 2017-12-01 20:14:54 +00:00