A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/01/02 09: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=1483326057
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Setting up your own netbootable X2Go-TCE environment]
User : stefanbaur
@@ -241,11 +241,12 @@
* ''tcpprint'' - Will allow you to use local LPT/USB printers like "dumb" network printers (listening to port 9100 and above). Requires MAC->IP mapping in DHCP server (and optionally, DNS->IP mapping), or static IPs - else your print jobs will end up on random devices. This setup is preferred over the X2GoClient's built-in printing for locally attached printers if X2GoServer and ThinClients are on the same network. It is not recommended when your X2Go
connection goes across the internet or when the ThinClient is actually a laptop roaming between different networks.
* ''tcpprintonlyfrom=x.x.x.x'' - Will allow you to specify which IP address may connect to Port 9100 and above for printing to a locally attached LPT/USB printer. This should be the IP of your CUPS server or whatever print server system you use. Understands the same syntax as xinetd's ''only_from''.
These are //not yet implemented//, but planned for a future release, and only intended to be used with TCE images stored on local media:
- * ''updateurl=rsync|http|ftp://your-http-server-ip-or-dns-here/path-to-update-files'' - //not yet implemented//. Will allow you to update an image in the background when using local storage instead of PXE. Download task will start at a randomized interval to avoid unintentional dDOSing of the update server/network infrastructure. The updater will even work when using NTFS for local storage, but only if the //toram// boot
option is used. Regardless of NTFS or not, the updater requires three directories: ''/boot/live1, /boot/live2, /boot/live-download''
- * ''bwlimit=nnn'' - //not yet implemented//. Will allow you to specify a bandwidth limit (valid values: 1-100) in percent for the backgrounded update task.
- * ''ntfs-uuid='' - //not yet implemented//. Will be required for updating images stored on NTFS filesystems. Full UUID as shown under /dev/disk/by-uuid/ is preferred, but can work with the volume serial number shown in the output of "vol c:" as well.
+ * ''updateurl=rsync|http|ftp://your-http-server-ip-or-dns-here/path-to-update-files'' - Will allow you to update an image in the background when using local storage instead of PXE. Download task will start at a randomized interval to avoid unintentional dDOSing of the update server/network infrastructure. The updater will even work when using NTFS for local storage, but only if the //toram// boot option is used. Regardless of NTFS or not, the
updater requires three directories: ''/boot/live1, /boot/live2, /boot/live-download''
+ * ''updatesleep=nnnnn'' - Will allow you to specify the upper limit (in seconds) of the update timer's randomizer. Allowed range: 121-32767. Will default to 900 if unset or set to an out-of-range value.
+ * ''bwlimit=nnn'' - Will allow you to specify a bandwidth limit (valid values: 1-100) in percent for the backgrounded update task.
+ * ''ntfs-uuid='' - Will be required for updating images stored on NTFS filesystems. Full UUID as shown under /dev/disk/by-uuid/ is preferred, but can work with the volume serial number shown in the output of "vol c:" as well.
=== Required unless using the X2Go Session Broker: Adding the x2go-tce.sessions session configuration file to your HTTP or FTP Server ===
Again, this is assuming you already have an existing, working HTTP or FTP server setup.
* run X2GoClient on any computer you like, and configure a session the same way it should appear on
the ThinClient <note tip>when using a Windows client, run x2goclient.exe --portable, or it will store the session information in the registry, rather than in a "sessions" file.</note>
--
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 03:00
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=1483325273
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [List of open ToDos/FIXMEs for this page]
User : stefanbaur
@@ -350,9 +350,9 @@
boot
EOF
</code>
- After that, create a symlink/symlinks that point from "default" or a part of the MAC or the entire MAC or the hex-encoded IP to x2go-tce-ipxe.
+ After that, create a symlink/symlinks that point(s) from "default" or a part of the MAC or the entire MAC, or the UUID, or the hex-encoded IP to x2go-tce-ipxe.
Then **add** this to your dhcpd.conf
<code>
if substring ( option vendor-class-identifier , 19,1 ) = "0" {
--
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 02:47
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=1483324632
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [List of open ToDos/FIXMEs for this page]
User : stefanbaur
@@ -398,8 +398,15 @@
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.
+ * However, it doesn't care whether the partition bearing the number 1 is actually the first partition. It will happily display the contents of the second partition as long as it bears the number 1.
+ * So, one has to change the partition number of the dd'ed image to 2, then create a new partition in the remaining space and assign it the number 1 and a partition type of FAT (NTFS *might* work, but is untested.)
+ * After that, partition "number 1" - actually the second partition on the USB media - can be formatted.
+ * Once formatted, one can install X2GoClient for Windows on it, and add a short batch script or similar to run it in portable mode (''x2goclient.exe --portable --session-conf=sessions'').
+ * Stefan has written a script to automate this as good as possible, but it is still too fragile to release (fixed paths, many assumptions, no error checking = potential for serious breakage
including data loss).
FIXME This page is missing a section/subpage that explains how to create images for local storage.
Basically, proceed as shown for netboot above, but set LBX2GO_IMAGETYPE to iso or iso-hybrid (recommended). Do not select hdd or tar - even though it is supposed to becoma a local storage installation.
--
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 02:37
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=1483324560
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [List of open ToDos/FIXMEs for this page]
User : stefanbaur
@@ -535,9 +535,9 @@
initrd /boot/X2Go-live2/x2go-tce-initrd.img
</file>
- FIXME Document that using ''updateurl'' along with an ''rsync:<nowiki>//</nowiki>FQDN/x2go-tce'' url is the most efficient way to deploy updates.
+ FIXME Document that using ''updateurl'' along with an ''rsync:<nowiki>//</nowiki>FQDN/x2go-tce'' URL is the most efficient way to deploy updates. Note that the syntax is ''rsync:<nowiki>//</nowiki>FQDN/x2go-tce'', NOT
''rsync:<nowiki>//</nowiki>FQDN::x2go-tce''.
* On a stock Debian system with rsync installed, this needs ''RSYNC_ENABLE=true'' in ''/etc/default/rsync'' as well as an additional configuration file:
<file - /etc/rsyncd.conf>
lock file = /var/run/rsync.lock
--
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 02:36
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=1483324468
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [List of open ToDos/FIXMEs for this page]
User : stefanbaur
@@ -535,9 +535,9 @@
initrd /boot/X2Go-live2/x2go-tce-initrd.img
</file>
- FIXME Document that using ''updateurl'' along with an ''rsync://'' url is the most efficient way to deploy updates.
+ FIXME Document that using ''updateurl'' along with an ''rsync:<nowiki>//</nowiki>FQDN/x2go-tce'' url is the most efficient way to deploy updates.
* On a stock Debian system with rsync installed, this needs ''RSYNC_ENABLE=true'' in ''/etc/default/rsync'' as well as an additional
configuration file:
<file - /etc/rsyncd.conf>
lock file = /var/run/rsync.lock
--
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 02:34
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=1483324391
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [List of open ToDos/FIXMEs for this page]
User : stefanbaur
@@ -535,9 +535,9 @@
initrd /boot/X2Go-live2/x2go-tce-initrd.img
</file>
- FIXME Document that using ''updateurl'' along with an rsync:// url is the most efficient way to deploy updates.
+ FIXME Document that using ''updateurl'' along with an ''rsync://'' url is the most efficient way to deploy updates.
* On a stock Debian system with rsync installed, this needs ''RSYNC_ENABLE=true'' in ''/etc/default/rsync'' as well as an additional configuration file:
<file -
/etc/rsyncd.conf>
lock file = /var/run/rsync.lock
--
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 02: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=1483323952
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [List of open ToDos/FIXMEs for this page]
User : stefanbaur
@@ -534,8 +534,29 @@
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>
+
+ FIXME Document that using ''updateurl'' along with an rsync:// url is the most efficient way to deploy updates.
+ * On a stock Debian system with rsync installed, this needs ''RSYNC_ENABLE=true'' in ''/etc/default/rsync'' as well as an additional configuration file:
+
+ <file - /etc/rsyncd.conf>
+ lock file = /var/run/rsync.lock
+ log file = /var/log/rsyncd.log
+ pid file = /var/run/rsyncd.pid
+
+ [x2go-tce]
+ path = /var/www/x2go-tce
+ # change this to the path where you intend to keep the images
+ comment = X2Go TCE files
+ uid = root
+ gid = root
+ read only = yes
+ list = yes
+ hosts allow = 192.168.0.0/255.255.0.0
+ # change this to your local subnet(s)
+ </file>
+ * after you have prepared all this, execute
''service rsync start''
FIXME Some of the optional steps above could be moved to a separate subpage to reduce clutter.
FIXME The steps for the build process could probably streamlined into an x2go-tcebuilder.deb Debian package
--
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 02:25
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=1483323917
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [List of open ToDos/FIXMEs for this page]
User : stefanbaur
@@ -475,10 +475,9 @@
* 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''
+ - 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
--
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 02:25
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=1483322849
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [List of open ToDos/FIXMEs for this page]
User : stefanbaur
@@ -466,8 +466,48 @@
menu default
linux /boot/X2Go-live2/x2go-tce-vmlinuz
initrd /boot/X2Go-live2/x2go-tce-initrd.img
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>
+
+ FIXME This page is missing a section/subpage that explains how to install GRLDR/GRLDR.mbr from GRUB4DOS on Windows, so you don't have to overwrite the Windows MBR.
+
+ 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:
+
<file - insertgrub.cmd>
+ @echo off
+ setlocal
+ set BCDEDIT=%SYSTEM%\bcdedit.exe
+ if not exist %BCDEDIT% exit 1
+ for /f "tokens=3" %%A in ('%BCDEDIT% /create /d "PXE boot" /application bootsector') do set guid=%%A
+ %BCDEDIT% /set %guid% device partition=%SystemDrive%
+ %BCDEDIT% /set %guid% path \grldr.mbr
+
+ REM you can use /addfirst instead, if you want
+ %BCDEDIT% /displayorder %guid% /addlast
+
+ REM this sets a 5 second timeout until the default entry is booted
+ REM feel free to adjust to your needs, but NEVER set it to 0 or 1
+ REM in combination with using /default below unless you don't ever
+ REM intend to boot back into Windows again.
+ %BCDEDIT% /timeout 5
+
+ REM "bootsequence" means only the single, next reboot will default to this
+ %BCDEDIT% /bootsequence %guid% /addfirst
+
+ REM alternatively, you can uncomment this and make the ThinClient
+ REM boot option the default boot option
+ REM %BCDEDIT% /default %guid%
+
+ endlocal
+
</file>
FIXME This
page is missing a section/subpage that explains how the autoupdate process works with NTFS-formatted local storage (requires using ''findiso=/path/to/iso/name.iso'' and, for the actual autoupdating, ''toram'', ''updateurl'', and ''ntfs-uuid'')
<file - menu.lst>
--
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 02:07
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=1483322723
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [List of open ToDos/FIXMEs for this page]
User : stefanbaur
@@ -408,11 +408,12 @@
- If you have serious space constraints, you can limit yourself to ''/boot/X2Go-live1'', but you will be unable to use the autoupdater then.
- Copy ''./x2go-tce-vmlinuz'', ''./x2go-tce-initrd.img'', and ''./x2go-tce-squashfs-only.iso'' to ''/boot/X2Go-live1'' (and to ''/boot/X2Go-live2'', if present).
- Install a boot loader:
* Create a folder ''/boot/grub'' and install grub-legacy into it (assuming an ext* file system) OR
- * install GRLDR and
GRLDR.mbr 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) OR
+ * 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) OR
* install syslinux (should work with FAT* as well as ext*)
- - create a boot loader configuration file like one of these:
+ - create the boot loader configuration file(s):
+ * for GRUB-Legacy and GRLDR/GRUB4DOS, use this file as template:
<file - menu.lst>
# sample grub-legacy menu.lst for booting X2Go-TCE from local media
# Depending on your setup, this goes either into C:\menu.lst or C:\boot\grub\menu.lst (/boot/grub/menu.lst).
# C:\menu.lst is recommended for NTFS, /boot/grub/menu.lst for ext*.
@@ -437,9 +438,9 @@
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 FURTHER-OPTIONS-GO-HERE
initrd /boot/X2Go-live2/x2go-tce-initrd.img
</file>
-
+ * or, for syslinux, use these three files as templates:
<file - syslinux.cfg>
menu title X2Go-TCE
# This says "password" in md5
menu master passwd $1$v4.0xYdG$32uzkKsup9c1RsHZlzfQs1
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/