A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/06/20 11:58
Browser : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
IP-Address : 78.43.91.217
Hostname : HSI-KBW-078-043-091-217.hsi4.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1497959853
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Prerequisites] Markup finally fixed
User : stefanbaur
@@ -394,9 +394,9 @@
==== Prerequisites ====
* You need an existing DHCP/PXE/TFTP setup with the usual pxelinux.0/pxelinux.cfg boot and configuration files, and a directory where kernel and initrd can be stored. This is not covered here, though we might add a separate howto for that some time later on.
* Note that whoever manages to spoof this server name can deploy rogue images to your ThinClients. If this is a serious issue for you, consider using local storage media and the
autoupdater instead.
* It **might** be possible to already use HTTPS in this early stage when using iPXE. This is untested and requires building your own iPXE image. see http://ipxe.org/crypto for details. Alternatively, use ipxe.lkrn (from [[http://boot.ipxe.org/ipxe.lkrn]] and pxelinux.0 in combination with scripted ipxe commands in the pxelinux.cfg.
- * You will also need an HTTP/HTTPS/FTP server with a dedicated IP (no name-based virtual hosts) for the squashfs image. - **Note: set BX2GO_NOSQUASHFS=true and use iPXE (e.g. with ipxe.lkrn + pxelinux.0) if you cannot use an IP for your host. Another option (untested) is explained [[https://blog.jacekk.info/2016/01/debian-live-webboot-dns/|here]]**
+ * You will also need an HTTP/HTTPS/FTP server with a dedicated IP (no name-based virtual hosts) for the squashfs image. - **Note:** set BX2GO_NOSQUASHFS=true and use iPXE (e.g. with ipxe.lkrn + pxelinux.0) if you cannot use an IP for your host. Another option (untested) is
explained [[https://blog.jacekk.info/2016/01/debian-live-webboot-dns/|here]]
* This image cannot be deployed via TFTP as it is too large - some TFTP servers refuse to serve files lager than 32MB, and some TFTP clients have problems with that as well.
* Also, even if you have a TFTP server/client combination that handles files larger than 32 MB, it will still be waaaay slower than the HTTP/FTP transfer.
* Note that whoever manages to spoof this server name can deploy rogue images to your ThinClients. If this is a serious issue for you, consider using local storage media and the autoupdater instead.
* It **might** be possible to use HTTPS with the ''fetch='' command. This is untested.
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/06/20 11:57
Browser : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
IP-Address : 78.43.91.217
Hostname : HSI-KBW-078-043-091-217.hsi4.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1497959819
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: old revision restored (2017/06/20 11:56) - serious markup problem in latest version, reverting
User : stefanbaur
@@ -394,9 +394,9 @@
==== Prerequisites ====
* You need an existing DHCP/PXE/TFTP setup with the usual pxelinux.0/pxelinux.cfg boot and configuration files, and a directory where kernel and initrd can be stored. This is not covered here, though we might add a separate howto for that some time later on.
* Note that whoever manages to spoof this server name can deploy rogue images to your ThinClients. If this is a serious issue
for you, consider using local storage media and the autoupdater instead.
* It **might** be possible to already use HTTPS in this early stage when using iPXE. This is untested and requires building your own iPXE image. see http://ipxe.org/crypto for details. Alternatively, use ipxe.lkrn (from [[http://boot.ipxe.org/ipxe.lkrn]] and pxelinux.0 in combination with scripted ipxe commands in the pxelinux.cfg.
- * You will also need an HTTP/HTTPS/FTP server with a dedicated IP (no name-based virtual hosts) for the squashfs image. - **Note:** set BX2GO_NOSQUASHFS=true and use iPXE (e.g. with ipxe.lkrn + pxelinux.0) if you cannot use an IP for your host. Another option (untested) is explained [[https://blog.jacekk.info/2016/01/debian-live-webboot-dns/|here]]**
+ * You will also need an HTTP/HTTPS/FTP server with a dedicated IP (no name-based virtual hosts) for the squashfs image. - **Note: set BX2GO_NOSQUASHFS=true and use iPXE (e.g. with ipxe.lkrn + pxelinux.0) if you cannot use
an IP for your host. Another option (untested) is explained [[https://blog.jacekk.info/2016/01/debian-live-webboot-dns/|here]]**
* This image cannot be deployed via TFTP as it is too large - some TFTP servers refuse to serve files lager than 32MB, and some TFTP clients have problems with that as well.
* Also, even if you have a TFTP server/client combination that handles files larger than 32 MB, it will still be waaaay slower than the HTTP/FTP transfer.
* Note that whoever manages to spoof this server name can deploy rogue images to your ThinClients. If this is a serious issue for you, consider using local storage media and the autoupdater instead.
* It **might** be possible to use HTTPS with the ''fetch='' command. This is untested.
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/06/20 11:56
Browser : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
IP-Address : 78.43.91.217
Hostname : HSI-KBW-078-043-091-217.hsi4.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1497959788
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Prerequisites] forgot "unbold" markup
User : stefanbaur
@@ -394,9 +394,9 @@
==== Prerequisites ====
* You need an existing DHCP/PXE/TFTP setup with the usual pxelinux.0/pxelinux.cfg boot and configuration files, and a directory where kernel and initrd can be stored. This is not covered here, though we might add a separate howto for that some time later on.
* Note that whoever manages to spoof this server name can deploy rogue images to your ThinClients. If this is a serious issue for you, consider using local storage media and the
autoupdater instead.
* It **might** be possible to already use HTTPS in this early stage when using iPXE. This is untested and requires building your own iPXE image. see http://ipxe.org/crypto for details. Alternatively, use ipxe.lkrn (from [[http://boot.ipxe.org/ipxe.lkrn]] and pxelinux.0 in combination with scripted ipxe commands in the pxelinux.cfg.
- * You will also need an HTTP/HTTPS/FTP server with a dedicated IP (no name-based virtual hosts) for the squashfs image. - **Note: set BX2GO_NOSQUASHFS=true and use iPXE (e.g. with ipxe.lkrn + pxelinux.0) if you cannot use an IP for your host. Another option (untested) is explained [[https://blog.jacekk.info/2016/01/debian-live-webboot-dns/|here]]**
+ * You will also need an HTTP/HTTPS/FTP server with a dedicated IP (no name-based virtual hosts) for the squashfs image. - **Note:** set BX2GO_NOSQUASHFS=true and use iPXE (e.g. with ipxe.lkrn + pxelinux.0) if you cannot use an IP for your host. Another option (untested) is
explained [[https://blog.jacekk.info/2016/01/debian-live-webboot-dns/|here]]**
* This image cannot be deployed via TFTP as it is too large - some TFTP servers refuse to serve files lager than 32MB, and some TFTP clients have problems with that as well.
* Also, even if you have a TFTP server/client combination that handles files larger than 32 MB, it will still be waaaay slower than the HTTP/FTP transfer.
* Note that whoever manages to spoof this server name can deploy rogue images to your ThinClients. If this is a serious issue for you, consider using local storage media and the autoupdater instead.
* It **might** be possible to use HTTPS with the ''fetch='' command. This is untested.
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/06/20 11:56
Browser : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
IP-Address : 78.43.91.217
Hostname : HSI-KBW-078-043-091-217.hsi4.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1497915663
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Prerequisites] added note describing how to work around the no-DNS squashfs limitation, and some more ipxe hints
User : stefanbaur
@@ -393,10 +393,10 @@
==== Prerequisites ====
* You need an existing DHCP/PXE/TFTP setup with the usual pxelinux.0/pxelinux.cfg boot and configuration files, and a directory where kernel and initrd can be stored. This is not covered here, though we might add a separate howto for that some time later on.
* Note that whoever manages to spoof this server name can deploy rogue images to your ThinClients. If
this is a serious issue for you, consider using local storage media and the autoupdater instead.
- * It **might** be possible to already use HTTPS in this early stage when using iPXE. This is untested and requires building your own iPXE image. see http://ipxe.org/crypto for details.
- * You will also need an HTTP/HTTPS/FTP server with a dedicated IP (no name-based virtual hosts) for the squashfs image.
+ * It **might** be possible to already use HTTPS in this early stage when using iPXE. This is untested and requires building your own iPXE image. see http://ipxe.org/crypto for details. Alternatively, use ipxe.lkrn (from [[http://boot.ipxe.org/ipxe.lkrn]] and pxelinux.0 in combination with scripted ipxe commands in the pxelinux.cfg.
+ * You will also need an HTTP/HTTPS/FTP server with a dedicated IP (no name-based virtual hosts) for the squashfs image. - **Note: set BX2GO_NOSQUASHFS=true and use iPXE (e.g. with ipxe.lkrn + pxelinux.0) if you cannot use an IP for your
host. Another option (untested) is explained [[https://blog.jacekk.info/2016/01/debian-live-webboot-dns/|here]]**
* This image cannot be deployed via TFTP as it is too large - some TFTP servers refuse to serve files lager than 32MB, and some TFTP clients have problems with that as well.
* Also, even if you have a TFTP server/client combination that handles files larger than 32 MB, it will still be waaaay slower than the HTTP/FTP transfer.
* Note that whoever manages to spoof this server name can deploy rogue images to your ThinClients. If this is a serious issue for you, consider using local storage media and the autoupdater instead.
* It **might** be possible to use HTTPS with the ''fetch='' command. This is untested.
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/06/19 23:41
Browser : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
IP-Address : 78.43.91.217
Hostname : HSI-KBW-078-043-091-217.hsi4.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1497911348
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Starting the Build] rm ./x2go-tce-initrd.img as well
User : stefanbaur
@@ -367,9 +367,9 @@
ln ./tftpboot/live/initrd.img ./x2go-tce-initrd.img
if [ "$LBX2GO_NOSQUASHFS" = "true" ] ; then
(cd binary; echo live$'\n'live/filesystem.squashfs |cpio -o -H newc | gzip --fast) >./x2go-tce-filesystem.cpio.gz
cat ./x2go-tce-initrd.img ./x2go-tce-filesystem.cpio.gz >./x2go-tce-initrd-with-fs.img
- rm ./x2go-tce-filesystem.cpio.gz ./x2go-tce-filesystem.squashfs
+ rm
./x2go-tce-filesystem.cpio.gz ./x2go-tce-filesystem.squashfs ./x2go-tce-initrd.img
fi
fi
if [ "$LBX2GO_IMAGETYPE" = "iso" ] || [ "$LBX2GO_IMAGETYPE" = "iso-hybrid" ] ; then
ln ./binary/live/vmlinuz ./x2go-tce-vmlinuz
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/06/19 22:29
Browser : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
IP-Address : 78.43.91.217
Hostname : HSI-KBW-078-043-091-217.hsi4.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1497909189
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Configuring the Build] added better explanation for LBX2GO_NOSQUASHFS
User : stefanbaur
@@ -79,12 +79,13 @@
# You can safely enable this if you intend to run X2GoClient in fullscreen mode all the time, or when building the ssh-only rescue image.
# For all other uses of the TCE-Live image creator (i.e. Minidesktop), your results may vary ... use at your own risk.
export LBX2GO_TCE_SHRINK="true"
- # This patches the squashfs file into the initrd. Only useful for netbooting.
+ # This patches the squashfs file into the initrd. Only parsed when
image type "netboot" is set.
# Will require boot parameter live-media=/ instead of fetch=...
# Both TFTP client and TFTP server must support file transfers >32MB for this to work, if you want to deploy this initrd via TFTP.
# When using iPXE, you can use http instead of TFTP.
+ # This is especially helpful if you want to netboot via http and cannot use the server's IP, but must specify a DNS name - as "fetch=..." only understands IPs.
export LBX2GO_NOSQUASHFS="false"
# Select ONE of the following LBX2GO_IMAGETYPE lines and comment out the others
# to create an iso image:
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/06/19 21:53
Browser : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
IP-Address : 78.43.91.217
Hostname : HSI-KBW-078-043-091-217.hsi4.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1497902854
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: moved LBX2GO_TCE_SHRINK and LBX2GO_NOSQUASHFS to first script, added documentation
User : stefanbaur
@@ -73,8 +73,19 @@
# This is to optimize squashfs size, based on a suggestion by intrigeri from the TAILS team
# note that this will permanently change /usr/lib/live/build/binary_rootfs
sed -i -e 's#MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -comp xz"#MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -comp xz -Xbcj x86 -b 1024K -Xdict-size 1024K"#' /usr/lib/live/build/binary_rootfs
+
+ # This removes documentation, locales and man pages
+ # You can
safely enable this if you intend to run X2GoClient in fullscreen mode all the time, or when building the ssh-only rescue image.
+ # For all other uses of the TCE-Live image creator (i.e. Minidesktop), your results may vary ... use at your own risk.
+ export LBX2GO_TCE_SHRINK="true"
+
+ # This patches the squashfs file into the initrd. Only useful for netbooting.
+ # Will require boot parameter live-media=/ instead of fetch=...
+ # Both TFTP client and TFTP server must support file transfers >32MB for this to work, if you want to deploy this initrd via TFTP.
+ # When using iPXE, you can use http instead of TFTP.
+ export LBX2GO_NOSQUASHFS="false"
# Select ONE of the following LBX2GO_IMAGETYPE lines and comment out the others
# to create an iso image:
# export LBX2GO_IMAGETYPE='iso'
@@ -337,10 +348,8 @@
if [ -d "../patch" ] ; then
cp -a ../patch/* config/
fi
if [ "$LBX2GO_TCE_SHRINK" = "true" ] ; then
- # You can safely set
$LBX2GO_TCE_SHRINK = "true" if you intend to run X2GoClient in fullscreen mode all the time.
- # For all other uses of the TCE-Live image creator (i.e. Minidesktop), your results may vary ... use at your own risk
echo '#!/bin/sh' >./config/hooks/0112-remove-folders.hook.chroot
echo 'set -e' >>./config/hooks/0112-remove-folders.hook.chroot
echo '# Remove folders' >>./config/hooks/0112-remove-folders.hook.chroot
echo 'rm -rf ./usr/share/doc/*' >>./config/hooks/0112-remove-folders.hook.chroot
@@ -357,9 +366,9 @@
ln ./tftpboot/live/initrd.img ./x2go-tce-initrd.img
if [ "$LBX2GO_NOSQUASHFS" = "true" ] ; then
(cd binary; echo live$'\n'live/filesystem.squashfs |cpio -o -H newc | gzip --fast) >./x2go-tce-filesystem.cpio.gz
cat ./x2go-tce-initrd.img ./x2go-tce-filesystem.cpio.gz >./x2go-tce-initrd-with-fs.img
- rm ./x2go-tce-filesystem.cpio.gz
+ rm
./x2go-tce-filesystem.cpio.gz ./x2go-tce-filesystem.squashfs
fi
fi
if [ "$LBX2GO_IMAGETYPE" = "iso" ] || [ "$LBX2GO_IMAGETYPE" = "iso-hybrid" ] ; then
ln ./binary/live/vmlinuz ./x2go-tce-vmlinuz
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/06/19 20:07
Browser : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
IP-Address : 78.43.91.217
Hostname : HSI-KBW-078-043-091-217.hsi4.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1497902748
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Starting the Build] X2GOTCE_SHRINK -> LBX2GO_TCE_SHRINK
User : stefanbaur
@@ -336,10 +336,10 @@
--archive-areas "$LBX2GO_ARCHIVE_AREAS"
if [ -d "../patch" ] ; then
cp -a ../patch/* config/
fi
- if [ "$X2GOTCE_SHRINK" = "true" ] ; then
- # You can safely set $X2GOTCE_SHRINK = "true" if you intend to run X2GoClient in fullscreen mode all the time.
+ if [ "$LBX2GO_TCE_SHRINK" = "true" ] ; then
+ # You can safely set $LBX2GO_TCE_SHRINK = "true" if you intend to run X2GoClient in fullscreen mode all
the time.
# For all other uses of the TCE-Live image creator (i.e. Minidesktop), your results may vary ... use at your own risk
echo '#!/bin/sh' >./config/hooks/0112-remove-folders.hook.chroot
echo 'set -e' >>./config/hooks/0112-remove-folders.hook.chroot
echo '# Remove folders' >>./config/hooks/0112-remove-folders.hook.chroot
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/06/19 20:05
Browser : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
IP-Address : 78.43.91.217
Hostname : HSI-KBW-078-043-091-217.hsi4.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1497880325
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Starting the Build] added LBX2GO_NOSQUASHFS option -> concats squashfs to initrd
User : stefanbaur
@@ -354,8 +354,13 @@
ln ./binary/live/filesystem.squashfs ./x2go-tce-filesystem.squashfs
if [ "$LBX2GO_IMAGETYPE" = "netboot" ] ; then
ln ./tftpboot/live/vmlinuz ./x2go-tce-vmlinuz
ln ./tftpboot/live/initrd.img ./x2go-tce-initrd.img
+ if [ "$LBX2GO_NOSQUASHFS" = "true" ] ; then
+ (cd binary; echo live$'\n'live/filesystem.squashfs |cpio -o -H newc | gzip --fast)
>./x2go-tce-filesystem.cpio.gz
+ cat ./x2go-tce-initrd.img ./x2go-tce-filesystem.cpio.gz >./x2go-tce-initrd-with-fs.img
+ rm ./x2go-tce-filesystem.cpio.gz
+ fi
fi
if [ "$LBX2GO_IMAGETYPE" = "iso" ] || [ "$LBX2GO_IMAGETYPE" = "iso-hybrid" ] ; then
ln ./binary/live/vmlinuz ./x2go-tce-vmlinuz
ln ./binary/live/initrd.img ./x2go-tce-initrd.img
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/06/19 13:52
Browser : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
IP-Address : 78.43.91.217
Hostname : HSI-KBW-078-043-091-217.hsi4.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1488043528
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Starting the Build] Quotes were missing
User : stefanbaur
@@ -336,9 +336,9 @@
--archive-areas "$LBX2GO_ARCHIVE_AREAS"
if [ -d "../patch" ] ; then
cp -a ../patch/* config/
fi
- if [ $X2GOTCE_SHRINK = "true" ] ; then
+ if [ "$X2GOTCE_SHRINK" = "true" ] ; then
# You can safely set $X2GOTCE_SHRINK = "true" if you intend to run X2GoClient in fullscreen mode all the time.
# For all other uses of the TCE-Live image creator (i.e. Minidesktop), your results may vary ... use at your own risk
echo '#!/bin/sh' >./config/hooks/0112-remove-folders.hook.chroot
echo 'set -e' >>./config/hooks/0112-remove-folders.hook.chroot
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/