Hello, I'm x2go user since some years ago. Now trying to install a new PXEBOOT server. What I did:
1) Updated x2go sources according:
https://wiki.x2go.org/doku.php/wiki:repositories:debian2) Then continued building system with instructions
https://wiki.x2go.org/doku.php/doc:howto:tce#building_your_own_x2go-tce_image $ apt-get install genisoimage git-core live-build live-config-doc live-manual-html live-boot-doc lsb-release netcat-traditional
$ apt-get install apt-cacher-ng
$ apt-get install qemu-user-static
# dpkg -l|grep x2go
ii x2go-keyring 2019.08.20+git20190820.118+10.main.1 all GnuPG keys of all X2Go developers and the X2Go archive
rc x2gothinclient-management 1.5.0.1-0x2go2+git20191129.725+10.main.1 all Management tools for X2Go Thin Client chroot server
$ mkdir /usr/local/x2gobuild ; cd /usr/local/x2gobuild
# then created the three files patchscript/x2go-tce-build/x2go-tce-config
# applied patchscript and started to build
root@pxeserver:/usr/local/x2gobuild# ./x2go-tce-build
....
cryptsetup: WARNING: Couldn't determine root device
cryptsetup: ERROR: Couldn't resolve device /dev/sda3
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries nor crypto modules. If that's on purpose, you may
want to uninstall the 'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs integration and avoid this
warning.
....
Build is done: './live-build-x2go-20200227200355-netboot-amd64-openbox-magic-pixel-workaround-buster'
641641 bloques
[2020-02-27 20:20:07] lb clean
P: Cleaning chroot
root@pxeserver:/usr/local/x2gobuild#
3)
* http server installed. Both x2go-tce.sessions & x2go-tce-filesystem.squashfs are accesible through niginx.
root@pxeserver:/usr/local/x2gobuild# cp live-build-x2go-20200227200355-netboot-amd64-openbox-magic-pixel-workaround-buster/x2go-tce-filesystem.squashfs /var/www/html/x2go-tce/
* dhcp server installed and working.
4) Netbooting
4.1) atftp server working
4.2) Copied x2go-tce-vmlinuz and x2go-tce-initrd.img to /srv/tftp/x2go-tce
4.3) created in tftproot "pxelinux.cfg/x2go-tce" (file reference to x2go-tce/vmlinuz and x2go-tce/initrd.img instead, changed that)
4.4) looking for a pxelinux.0 file:
4.4.1) root@pxeserver:/usr/local/x2gobuild/live-build-x2go-20200227200355-netboot-amd64-openbox-magic-pixel-workaround-buster#
cp live-image-amd64.netboot.tar /srv/tftp/
root@pxeserver:/usr/local/x2gobuild/live-build-x2go-20200227200355-netboot-amd64-openbox-magic-pixel-workaround-buster# tar xvf live-image-amd64.netboot.tar
# copied tftpboot directory to tftproot directory
root@pxeserver:/srv/tftp# ls
advanced.cfg install.cfg libcom32.c32 libmenu.c32 live menu.cfg pxelinux.cfg stdmenu.cfg x2go-tce
hdt.c32 ldlinux.c32 libgpl.c32 libutil.c32 live.cfg pxelinux.0 splash.png vesamenu.c32
---> Result, system does not boot (ethernet driver fails)
or
4.4.2) Using old x2gothinclient_preptftpboot script
---> System boots but login screen offers to connect to an X server somewhere in the Internet (seems is not using sessions file)