x2gothinclient_preptftpboot(8)

NAME
x2gothinclient_preptftpboot - Prepare PXE/Syslinux Boot Environment (delivered via tftpd) on X2Go PXE Server.

SYNOPSIS
x2gothinclient_preptftpboot

DESCRIPTION
This helper script prepares X2Go's PXE/Syslinux boot environment. As X2Go PXE server you can either use your X2Go server itself or a dedicated machine or VM that merely serves as PXE boot server.

Please run the x2gothinclient_create helper script first before you run this script.

This script can only be called if the PXE boot dir (default: /srv/tftp) does not already contain any other PXE/Syslinux boot environment.

MANUAL STEPS AFTER SCRIPT HAS RUN
At the end of x2gothinclient_preptftpboot 2-3 manual steps are still needed (as displayed by the script itself when run)... The $TC_* variables mentioned in the text below have to be obtained from /etc/x2go/x2gothinclient_settings.

    1. Make sure your DHCP server's configuration points to:

        next-server <IP-or-hostname-of-this-server>;
        filename '/pxelinux.0';

    2. Export the X2Go Thin Client chroot environment via NFSv3:

      * Add this line to /etc/exports... (in one line):

        $TC_CHROOT \ <network>/<netmask>(ro,async,no_root_squash,no_subtree_check)

      * ... and then restart your NFS server with:

        /etc/init.d/nfs-kernel-server restart

    3. Customize PXE/Syslinux files in $TC_TFTP_BOOT/ (optional):

      * customize PXE boot menu, take a look at

        $TC_TFTP_BOOT/default.cfg

        and proceed from there on...
      * use your own boot loader background image: 640x480px,
        16bit colour depth, file: $TC_TFTP_BOOT/x2go-tce.png

OPTIONS
x2gothinclient_pretftpboot has no known options.

FILES
/etc/x2go/x2gothinclient_settings
    Configuration file for x2gothinclient_* scripts.

AUTHOR
This manual has been written by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> for the X2Go project (https://www.x2go.org).