/[gentoo]/xml/htdocs/doc/en/ltsp.xml
Gentoo

Diff of /xml/htdocs/doc/en/ltsp.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/Attic/ltsp.xml,v 1.6 2004/02/19 15:10:02 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/Attic/ltsp.xml,v 1.7 2004/04/11 13:30:27 swift Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/ltsp.xml"> 5<guide link="/doc/en/ltsp.xml">
6<title>Gentoo - LTSP Guide</title> 6<title>Gentoo - LTSP Guide</title>
7<author title="Author"> 7<author title="Author">
18This guide shows you how to setup a LTSP Server with Gentoo. 18This guide shows you how to setup a LTSP Server with Gentoo.
19</abstract> 19</abstract>
20 20
21<license/> 21<license/>
22 22
23<version>1.3</version> 23<version>1.4</version>
24<date>December 11, 2003</date> 24<date>April 11, 2004</date>
25<chapter> 25<chapter>
26<title>Introduction</title> 26<title>Introduction</title>
27<section> 27<section>
28<title>What is LTSP?</title> 28<title>What is LTSP?</title>
29<body> 29<body>
111<body> 111<body>
112 112
113<p> 113<p>
114To analyze problems easier, the system logger must be configured to 114To analyze problems easier, the system logger must be configured to
115accept remote connections. Please read the documentation of your 115accept remote connections. Please read the documentation of your
116system logger on how to achieve this. 116system logger on how to achieve this. If, for example, you are using
117sysklogd, all you need to do is edit <path>/etc/conf.d/sysklogd</path> and add
118"-r" to the SYSLOGD line:
119</p>
120
121<pre caption="/etc/conf.d/sysklogd">
122SYSLOGD="-m 0 -r"
123KLOGD="-c 3 -2"
117</p> 124</pre>
118 125
119</body> 126</body>
120</section> 127</section>
121<section> 128<section>
122<title>NFS</title> 129<title>NFS</title>
151</section> 158</section>
152 159
153<section> 160<section>
154<title>xinetd/tftp</title> 161<title>xinetd/tftp</title>
155<body> 162<body>
156 163<p>
164TFTP requires a bit of configuring to get it to work properly. First,
165edit <path>/etc/conf.d/in.tftpd</path> to set tftpd's path correctly:
157<p> 166</p>
158By default TFTP won't be started, to change this edit 167
168<pre caption="/etc/conf.d/in.tftpd">
169INTFTPD_PATH="/tftpboot"
170INTFTPD_OPTS="${INTFTPD_PATH}"
171</pre>
172
173<p>
174Next, configure xinetd to run TFTP and allow remote connections. First,
175check to see if the file <path>/etc/xinetd.d/tftp</path> was created when
176you emerged tftp. By default TFTP won't be started by xinetd, so to change
159<path>/etc/xinetd.d/tftp</path> and replace <c>disable=yes</c> with 177this edit <path>/etc/xinetd.d/tftp</path> and replace <c>disable=yes</c> with
160<c>disable=no</c>. Afterwards, start xinetd. 178<c>disable=no</c>.
179</p>
180
181<pre caption="/etc/xinetd.d/tftp">
182service tftp
183{
184 disable = no
185 socket_type = dgram
186 protocol = udp
187 wait = yes
188 user = root
189 server = /usr/sbin/in.tftpd
190}
191</pre>
192
193<p>
194Now edit <path>/etc/xinetd.conf</path> and comment out the line <c>only_from = localhost</c> by prefacing it with a <c>#</c>. Finally, start xinetd.
161</p> 195</p>
162 196
163<pre caption="Starting xinetd"> 197<pre caption="Starting xinetd">
164# <i>rc-update add xinetd default</i> 198# <i>rc-update add xinetd default</i>
165# <i>/etc/init.d/xinetd start</i> 199# <i>/etc/init.d/xinetd start</i>
247 281
248<p> 282<p>
249If your workstations support PXE, you should list each one of them as we 283If your workstations support PXE, you should list each one of them as we
250have done with <e>host ws001</e> (don't forget to uncomment it). Don't 284have done with <e>host ws001</e> (don't forget to uncomment it). Don't
251give them an adress in the dynamic range, otherwise it would be possible 285give them an adress in the dynamic range, otherwise it would be possible
252that more workstations have the same IP (which is troublesome). 286that more workstations have the same IP (which is troublesome). Remember, if you cut-n-paste the above example, replace any "//" comments with "##", or else dhcp will fail to start.
253</p> 287</p>
254 288
255<p> 289<p>
256For more documentation on this item read the official dhcp handbook: 290For more documentation on this item read the official dhcp handbook:
257<uri>http://www.dhcp-handbook.com/</uri> 291<uri>http://www.dhcp-handbook.com/</uri>
280<p> 314<p>
281There are many options to configure your workstations, visit 315There are many options to configure your workstations, visit
282<uri>http://www.ltsp.org/documentation/ltsp-3.0-4-en.html#AEN903</uri> 316<uri>http://www.ltsp.org/documentation/ltsp-3.0-4-en.html#AEN903</uri>
283for a full description of <path>/opt/ltsp/i386/etc/lts.conf</path>. 317for a full description of <path>/opt/ltsp/i386/etc/lts.conf</path>.
284</p> 318</p>
319
320<p>
321As a few suggestions to get started, you will want to first copy <path>/opt/ltsp/i386/etc/lts.conf.example</path> to <path>/opt/ltsp/i386/etc/lts.conf</path> and edit it from there. You may want to try changing the <c>SCREEN_01</c> option to read
322<c>SCREEN_01 = startx</c>. To use a USB mouse on the remote client, add the following MODULE lines, and change the X_MOUSE_* lines as follows:
323</p>
324
325<pre caption="/opt/ltsp/i386/etc/lts.conf">
326MODULE_01 = usb-uhci
327MODULE_02 = mousedev
328MODULE_03 = usbmouse
329X_MOUSE_PROTOCOL = "IMPS/2"
330X_MOUSE_DEVICE = "/dev/input/mice"
331</pre>
285 332
286</body> 333</body>
287</section> 334</section>
288 335
289<section> 336<section>
334 381
335<warn> 382<warn>
336There seem to be problems currently with XDM and GDM. The author used 383There seem to be problems currently with XDM and GDM. The author used
337KDM to resolve these issues. 384KDM to resolve these issues.
338</warn> 385</warn>
386
387<p>
388Remember, if your display manager is already running, restarting the X server via CTRL-ALT-BACKSPACE doesn't restart the display manager.
389</p>
339 390
340</body> 391</body>
341</section> 392</section>
342 393
343<section> 394<section>

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20