Bug#3267: Unqualified hostnames in rstart
Package: xbase
Version: 3.1.2-9
The man page for rstart says:
The $DISPLAY environment variable is passed. If it starts
with a colon, the local hostname is prepended. The local
domain name should be appended to unqualified host names,
but isn't.
I think that replacing the line:
:*) disp="`hostname`$DISPLAY"
with:
:*) disp="`hostname --long`$DISPLAY
would fix the problem. Alternatively -f or --fqdn could be used. I'm not
sure which is more likely to be portable.
Chris
Reply to: