A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/01/02 18:41
Browser : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
IP-Address : 78.43.90.159
Hostname : HSI-KBW-078-043-090-159.hsi4.kabel-badenwuerttemberg.de
Old Revision: http://wiki.x2go.org/doku.php/doc:howto:tce?rev=1483382016
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Booting from CD/DVD/USB]
User : stefanbaur
@@ -429,12 +429,19 @@
===== Booting from CD/DVD/USB =====
Basically, proceed as shown for netboot above, but set LBX2GO_IMAGETYPE to iso-hybrid (recommended) or iso.
+ Also, you need to add --bootappend-live followed by all boot parameters that you would usually pass to pxelinux, syslinux or GRUB to LBX2GO_DEFAULTS.
if you actually intend to write the image to CD/DVD or USB media, the only file you need is located at ./original-x2go-tce-live-image-i386.hybrid.iso after using the above script.
+ ==== Burning to CD/DVD ====
+ Use ''xorriso -as cdrecord -v dev=/dev/your-writer-device -dao ./original-x2go-tce-live-image-i386.hybrid.iso'' or whatever cd burning software you like. See https://wiki.debian.org/BurnCd for some additional suggestions.
+
+ ==== Writing to USB media ====
When using iso-hybrid, this file can be dd'ed straight to USB media, no need to unpack, format, fiddle with a boot loader, etc.
+
+ So just do ''dd if=./original-x2go-tce-live-image-i386.hybrid.iso of=/dev/targetdevice'' and wait until it finishes.
Also, when using iso-hybrid and USB media, there are a few "cheats" to reclaim unused space on the USB media, and to turn it into a solution that allows you to run X2GoClient in portable mode on Windows, and boot it as X2Go-TCE, with a shared configuration file.
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/01/02 18:33
Browser : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
IP-Address : 78.43.90.159
Hostname : HSI-KBW-078-043-090-159.hsi4.kabel-badenwuerttemberg.de
Old Revision: http://wiki.x2go.org/doku.php/doc:howto:tce?rev=1483381742
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary:
User : stefanbaur
@@ -425,8 +425,19 @@
kernel /boot/X2Go-live2/x2go-tce-vmlinuz boot=live components noswap aufs rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0 kernel.sysrq=1 keep_bootcon sysrq_always_enabled rd.driver.pre=loop rd.noverifyssl rd.skipfsck rd.live.overlay.check rd.live.overlay.reset rd.live.ram log_buf_len=1M quickreboot consoleblank=0 kernel.sysrq=1 keep_bootcon sysrq_always_enabled rootwait=120 silent quiet splash lang=de vconsole.keymap=de keyboard-layouts=de locales=de_DE.UTF-8 hostname=localhost noroot nouser quiet splash
findiso=/boot/X2Go-live2/x2go-tce-squashfs-only.iso toram ntfs-uuid=xxxxxxxxxxxxx FURTHER-OPTIONS-GO-HERE
initrd /boot/X2Go-live2/x2go-tce-initrd.img
</file>
+
+ ===== Booting from CD/DVD/USB =====
+
+ Basically, proceed as shown for netboot above, but set LBX2GO_IMAGETYPE to iso-hybrid (recommended) or iso.
+
+ if you actually intend to write the image to CD/DVD or USB media, the only file you need is located at ./original-x2go-tce-live-image-i386.hybrid.iso after using the above script.
+
+ When using iso-hybrid, this file can be dd'ed straight to USB media, no need to unpack, format, fiddle with a boot loader, etc.
+
+ Also, when using iso-hybrid and USB media, there are a few "cheats" to reclaim unused space on the USB media, and to turn it into a solution that allows you to run X2GoClient in portable mode on Windows, and boot it as X2Go-TCE, with a shared configuration file.
+
===== Boot Parameters for X2Go-TCE =====
<note important>**These are
always required for security reasons, unless you are working on a debug image:**
* ''noroot'' - do not allow the local user account on the ThinClient (named "user") to become root, e.g. using sudo **Always set this unless you are debugging an image and need to log in locally!**
@@ -620,19 +631,8 @@
filename = concat( "http://DNS-name-of-your-server-here/", hwmac );
}
</code>
-
-
- FIXME This page is missing a section/subpage that explains how to create images for USB/CD.
-
- Basically, proceed as shown for netboot above, but set LBX2GO_IMAGETYPE to iso or iso-hybrid (recommended).
-
- if you actually intend to write the image to CD/DVD or USB media, the only file you need is located at ./original-x2go-tce-live-image-i386.hybrid.iso after using the above script.
-
- When using iso-hybrid, this file can be dd'ed straight to USB media, no need to unpack, format, fiddle with a boot loader, etc.
-
- Also, when using iso-hybrid and USB media, there are a few
"cheats" to reclaim unused space on the USB media, and to turn it into a solution that allows you to run X2GoClient in portable mode on Windows, and boot it as X2Go-TCE, with a shared configuration file.
FIXME Document how to add second partition to USB media after dd'ing the iso-hybrid image, and how to add X2GoClient-Portable to it.
* The catch is that on USB media, Windows will only see the partition with the partition number 1, even if there is more than 1 partition.
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/01/02 18:29
Browser : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
IP-Address : 78.43.90.159
Hostname : HSI-KBW-078-043-090-159.hsi4.kabel-badenwuerttemberg.de
Old Revision: http://wiki.x2go.org/doku.php/doc:howto:tce?rev=1483381668
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [The screen is entirely black (though you might see an active backlight in case of a TFT)]
User : stefanbaur
@@ -479,9 +479,9 @@
==== You can see the X2Go login screen, but the screen size (resolution) is wrong ====
Determine the correct resolution for your screen and set boot parameter ''xorg-resolution=HRESxVRES'' accordingly, e.g. to ''xorg-resolution=1280x1024''
- ==== The screen is entirely black (though you might see an active backlight in case of a TFT) ====
+ ==== The screen is entirely black (though you might notice an illuminated
backlight in case of a TFT) ====
If the screen is entirely black, try pressing [Ctrl]+[Alt]+[F1] and see if that takes you to the text login screen.
==== You can see a text login screen with grey/white, green, and possibly red letters against a black background ====
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/01/02 18:27
Browser : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
IP-Address : 78.43.90.159
Hostname : HSI-KBW-078-043-090-159.hsi4.kabel-badenwuerttemberg.de
Old Revision: http://wiki.x2go.org/doku.php/doc:howto:tce?rev=1483380707
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Installing a boot loader]
User : stefanbaur
@@ -351,20 +351,22 @@
append boot=live components noswap aufs rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0 kernel.sysrq=1 keep_bootcon sysrq_always_enabled rd.driver.pre=loop rd.noverifyssl rd.skipfsck rd.live.overlay.check rd.live.overlay.reset rd.live.ram log_buf_len=1M quickreboot consoleblank=0 kernel.sysrq=1 keep_bootcon sysrq_always_enabled rootwait=120 silent quiet splash lang=de vconsole.keymap=de keyboard-layouts=de locales=de_DE.UTF-8 hostname=localhost noroot nouser quiet splash
findiso=/boot/X2Go-live2/x2go-tce-squashfs-only.iso FURTHER-OPTIONS-GO-HERE
</file>
=== Installing GRUB4DOS ===
- FIXME
- * Installing GRUB4DOS allows you to keep the original Windows bootloader installed.
- * install GRLDR and GRLDR.mbr from GRUB4DOS into C:\ (assuming an NTFS file system) AND make the appropriate changes to activate it (edit boot.ini on XP systems, use bcdedit.exe on Vista and newer)
+ Installing GRUB4DOS allows you to keep the original Windows bootloader installed. The method below also allows you to write-mount the NTFS file system and thus to deploy updates using the autoupdater.
This is done by chainloading GRUB4DOS from the native Microsoft Windows Bootloader
- * These steps all require Administrator privileges
- * For Windows XP, you need to edit ''C:\boot.ini''
- - ''attrib -r -h -s C:\boot.ini''
- - Edit ''C:\boot.ini'' and add an entry ''C:\grldr="Start ThinClient"'' somewhere below the section ''[operating systems]''
- -
To make booting in ThinClient mode the default, in section ''[boot loader]'', change the line starting with ''default'' to ''default=C:\grldr''
- - ''attrib +r +h +s C:\boot.ini''
- * For Windows Vista and newer, run this script:
+
+ * download https://sourceforge.net/projects/grub4dos/files/GRUB4DOS/grub4dos%200.4.4/g… and unzip the contents to a temporary directory
+ * copy GRLDR and GRLDR.mbr from the GRUB4DOS temporary directory into C:\
+ * make the appropriate changes to activate the changes:
+ * Note: These steps all require Administrator privileges.
+ * For Windows XP, you need to edit ''C:\boot.ini''
+ - ''attrib -r -h -s C:\boot.ini''
+ - Edit ''C:\boot.ini'' and add an entry ''C:\grldr="Start ThinClient"'' somewhere below the section ''[operating systems]''
+ - To make booting in ThinClient mode the default, in section ''[boot loader]'', change the line starting with ''default'' to ''default=C:\grldr''
+ -
''attrib +r +h +s C:\boot.ini''
+ * For Windows Vista and newer, run this script:
<file - insertgrub.cmd>
@echo off
setlocal
set BCDEDIT=%SYSTEM%\bcdedit.exe
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/01/02 18:11
Browser : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
IP-Address : 78.43.90.159
Hostname : HSI-KBW-078-043-090-159.hsi4.kabel-badenwuerttemberg.de
Old Revision: http://wiki.x2go.org/doku.php/doc:howto:tce?rev=1483380539
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Installing a boot loader]
User : stefanbaur
@@ -315,12 +315,11 @@
</file>
=== Installing syslinux ===
- FIXME
- * install syslinux (should work with FAT* as well as ext*):
- * ''apt-get install -y syslinux mbr''
- * ''syslinux --install /dev/targetpartition''
+
+ * install syslinux and mbr: ''apt-get install -y syslinux mbr''
+ * run ''syslinux --install /dev/targetpartition'' # if that fails or media won't boot, try ''syslinux -s --install /dev/targetpartition''
* note that you have to mark /dev/targetpartition as
"active" in the partition table. You can do that e.g. by calling ''sfdisk -A number-of-target-partition /dev/targetdevice''
* if your system doesn't boot like that, it might be due to an empty Master Boot Record. You can use ''install-mbr /dev/targetdisk'' to fix this.
* for syslinux, use these three files as templates:
<file - syslinux.cfg>
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/01/02 18:08
Browser : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
IP-Address : 78.43.90.159
Hostname : HSI-KBW-078-043-090-159.hsi4.kabel-badenwuerttemberg.de
Old Revision: http://wiki.x2go.org/doku.php/doc:howto:tce?rev=1483380393
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Installing a boot loader]
User : stefanbaur
@@ -319,9 +319,9 @@
FIXME
* install syslinux (should work with FAT* as well as ext*):
* ''apt-get install -y syslinux mbr''
* ''syslinux --install /dev/targetpartition''
- * note that you have to check that /dev/targetpartition is marked as "active" in fdisk
+ * note that you have to mark /dev/targetpartition as "active" in the partition table. You can do that e.g. by calling ''sfdisk -A number-of-target-partition /dev/targetdevice''
* if your system doesn't boot like that, it
might be due to an empty Master Boot Record. You can use ''install-mbr /dev/targetdisk'' to fix this.
* for syslinux, use these three files as templates:
<file - syslinux.cfg>
menu title X2Go-TCE
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/01/02 18:06
Browser : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
IP-Address : 78.43.90.159
Hostname : HSI-KBW-078-043-090-159.hsi4.kabel-badenwuerttemberg.de
Old Revision: http://wiki.x2go.org/doku.php/doc:howto:tce?rev=1483380135
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Installing a boot loader]
User : stefanbaur
@@ -278,14 +278,15 @@
* Use syslinux when installing on FAT* file systems. Should work with ext* file systems as well, if you don't want GRUB-legacy.
* Use GRUB4DOS when dealing with an NTFS file system (say, you're trying to turn an existing Windows XP installation into a ThinClient).
=== Installing GRUB-legacy ===
- * Create a folder ''(mountpath)/boot/grub''
+ * mount /dev/targetpartition to (mountpath)
+ * create a folder ''(mountpath)/boot/grub''
* install grub-legacy
into it:
* ''apt-get -y install grub-legacy'' # note this will remove grub2 from your system if it is installed, but will not cause any change to your boot sequence
- * ''grub-install --recheck --root-directory=(mountpath) /dev/targetdevice'' #entire device, not partition
+ * ''grub-install --recheck --root-directory=(mountpath) /dev/targetdevice'' # entire device, not partition
* check, and, if required, edit the contents of ''(mountpath)/boot/grub/device.map''
- * ''grub-install --root-directory=(mountpath) /dev/targetdevice'' #entire device, not partition
+ * if you had to make changes, re-run ''grub-install --root-directory=(mountpath) /dev/targetdevice'' # entire device, not partition
* optional: ''apt-get -y install grub2'' # reinstall grub2 if that is what you were using before
* create a boot loader configuration file using the following template:
<file - menu.lst>
# sample grub-legacy menu.lst for booting X2Go-TCE
from local media
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/01/02 18:02
Browser : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
IP-Address : 78.43.90.159
Hostname : HSI-KBW-078-043-090-159.hsi4.kabel-badenwuerttemberg.de
Old Revision: http://wiki.x2go.org/doku.php/doc:howto:tce?rev=1483379805
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Setting up your own netbootable X2Go-TCE environment]
User : stefanbaur
@@ -192,9 +192,9 @@
=== Adding the configuration files to your Boot Server ===
Again, this is assuming you already have an existing, working PXE/TFTP server setup.
* change to the pxelinux.cfg directory in your tftproot.
* create a file x2go-tce there, using the template below and adjusting it to your needs
- * read section "Boot Parameters for X2Go-TCE" to find out what changes to make and what to put where it says FURTHER-OPTIONS-GO-HERE
+ * read section
[[doc:howto:tce#boot_parameters_for_x2go-tce|Boot Parameters for X2Go-TCE]] to find out what changes to make and what to put where it says FURTHER-OPTIONS-GO-HERE
<file - x2go-tce>
DEFAULT x2go-tce
PROMPT 0
MENU TITLE Linux Boot Menu
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/01/02 17:56
Browser : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
IP-Address : 78.43.90.159
Hostname : HSI-KBW-078-043-090-159.hsi4.kabel-badenwuerttemberg.de
Old Revision: http://wiki.x2go.org/doku.php/doc:howto:tce?rev=1483379759
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Prerequisites]
User : stefanbaur
@@ -152,9 +152,9 @@
* 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.
- * Once your setup fulfills all the requirements listed above, go ahead and build the image using the scripts listed in [[doc:howto:tce#configuring_the_build|Configuring the Build]] - make sure to choose ''export LBX2GO_IMAGETYPE='netboot''' (this should be the default)
+ * Once your setup fulfills all the requirements listed above, go ahead and build the image using the scripts listed in [[doc:howto:tce#configuring_the_build|Configuring the Build]] - make sure to choose ''export LBX2GO_IMAGETYPE='netboot''' (this should be the default)
==== Setting up your own netbootable X2Go-TCE environment ====
=== Adding the X2Go-TCE files to your Boot and Web Server(s) ===
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/01/02 17:55
Browser : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
IP-Address : 78.43.90.159
Hostname : HSI-KBW-078-043-090-159.hsi4.kabel-badenwuerttemberg.de
Old Revision: http://wiki.x2go.org/doku.php/doc:howto:tce?rev=1483379671
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Prerequisites]
User : stefanbaur
@@ -152,9 +152,9 @@
* 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.
- * Once your setup fulfills all the requirements listed above, go ahead and build the image using the scripts listed in [[doc:howto:tce#build_system_prerequisites_for_all_variants|Build system prerequisites for all variants]] - make sure to choose ''export LBX2GO_IMAGETYPE='netboot''' (this should be the default)
+ * Once your setup fulfills all the requirements listed above, go ahead and build the image using the scripts listed in [[doc:howto:tce#configuring_the_build|Configuring the Build]] - make sure to choose ''export LBX2GO_IMAGETYPE='netboot''' (this should be the default)
==== Setting up your own netbootable X2Go-TCE environment ====
=== Adding the X2Go-TCE files to your Boot and Web Server(s) ===
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/