I see the problem:
cur_hostname="$(hostname)"
if [ -z "${cur_name}" ] || [ "${cur_hostname}" = "(none)" ] || [
"${cur_hostname}" = "localhost" ]; then
errormsg "Hostname not set correctly; aborting."
fiYou're setting up a variable "cur_hostname" but then checking whether "cur_name" is empty instead of cur_hostname. Of course it's empty, it wasn't set! _______________________________________________ x2go-dev mailing list [email protected] http://lists.x2go.org/listinfo/x2go-dev
