You were right! *d*ash was by default used I added #!/bin/bash in the beginning of all three scripts. Further carried out everything as root After start of scripts I receive the message:
root@tce:~/builddir# ./x2goconfig && ./x2gousbpatch && ./x2gobuild 2>&1 | tee logfile One or more of the following variables is unset: LBX2GO_ARCH: '' LBX2GO_SPACE: '' LBX2GO_DEFAULTS: '' LBX2GO_DEBVERSION: '' LBX2GO_CONFIG: '' LBX2GO_IMAGETYPE: '' LBX2GO_TIMESTAMP: '20190114120404' LBX2GO_BOOTLOADERPARAMNAME: '' LBX2GO_BOOTLOADER: '' LBX2GO_ARCHIVE_AREAS: '' Please visit http://wiki.x2go.org/doku.php/doc:howto:tce and read up on the general prerequisites for X2Go-TCE Later started them on one from root in such sequence: ./x2goconfig ./x2gousbpatch ./x2gobuild 2>&1 The last a script leads to the same mistake: One or more of the following variables is unset: LBX2GO_ARCH: '' LBX2GO_SPACE: '' LBX2GO_DEFAULTS: '' LBX2GO_DEBVERSION: '' LBX2GO_CONFIG: '' LBX2GO_IMAGETYPE: '' LBX2GO_TIMESTAMP: '20190114120404' LBX2GO_BOOTLOADERPARAMNAME: '' LBX2GO_BOOTLOADER: '' LBX2GO_ARCHIVE_AREAS: '' Please visit http://wiki.x2go.org/doku.php/doc:howto:tce and read up on the general prerequisites for X2Go-TCE Here debuglog contents: grep results: # Select ONE of the following LBX2GO_ARCH lines and comment out the others export LBX2GO_ARCH='-a amd64 -k amd64' # export LBX2GO_ARCH='-a i386 -k 686-pae' # export LBX2GO_ARCH='--architectures i386 --linux-flavours 586' export LBX2GO_ARCHIVE_AREAS="main contrib non-free" x2goconfig invocation exports after x2goconfig declare -x HISTCONTROL="ignoreboth" declare -x HOME="/root" declare -x LANG="ru_UA.UTF-8" declare -x LANGUAGE="ru_UA:ru" declare -x LOGNAME="root" declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz$ declare -x MAIL="/var/mail/root" declare -x MC_SID="671" declare -x MC_TMPDIR="/tmp/mc-root" declare -x OLDPWD="/root" declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" declare -x PWD="/root/builddir" declare -x SHELL="/bin/bash" declare -x SHLVL="2" declare -x SUDO_COMMAND="/bin/bash" declare -x SUDO_GID="1000" declare -x SUDO_UID="1000" declare -x SUDO_USER="rostma" declare -x TERM="xterm" declare -x USER="root" declare -x USERNAME="root" -- Stroganov Roman
_______________________________________________ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user