Am 15.01.19 um 15:21 schrieb Stroganov Roman: > 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"
So the exports are there ... > x2goconfig invocation ... there's no error reported while they are being set up ... > 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" ... yet they are missing. Very weird. Exported variables should remain set even after a script ends. What is the output of the following commands? cat /etc/debian_version uname -a dpkg -l | grep live-build dpkg -l | grep bash Now this is a bit hackish, but you could try this (again, as root): cp ./x2goconfig ./x2gobuild2 cat ./x2gobuild >>./x2gobuild2 chmod 755 ./x2gobuild2 ./x2gousbpatch && ./x2gobuild2 2>&1 | tee logfile Let's see if that gets things going for you. Kind Regards, Stefan Baur -- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 _______________________________________________ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user