portability: use `uname -n` instead of `hostname`
hostname to obtain the hostname, but this is not defined by POSIX, so not guaranteed to work.
(the script already does some checks to deal with different hostname implementations on Linux...)
uname -n instead fixes this in a portable way. Patch: startx-uname.diff