File: workstation

package info (click to toggle)
ltsp 5.2.4-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,932 kB
  • ctags: 271
  • sloc: sh: 5,267; ansic: 1,048; perl: 225; python: 211; lex: 152; makefile: 112; yacc: 59
file content (44 lines) | stat: -rw-r--r-- 1,268 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
these instructions describe how to create a basic ltsp system where all the
applications are running locally with an anonymous login, using gdm, for i386
hardware.  non-anonymous login with ldap or some other authentiation mechanism
with writeable home directories is definitely possible, but not described here.
and of course, you could probably use kdm insead of gdm, with a few changes.

install the ltsp-server package:

apt-get install ltsp-server


build the client environment:

ltsp-build-client


install a desktop environment:

chroot /opt/ltsp/i386 tasksel install desktop
(alternately: chroot /opt/ltsp/i386 apt-get install gdm <and other packages>)


add an anonymous user for autologin:

chroot /opt/ltsp/i386 adduser --disabled-password --gecos ,,, autologin

(note: you may want to ensure a specific --uid and --gid, too)


make /home and /var/lib/gdm writeable:

echo 'copy_dirs="$copy_dirs /home"' >> /opt/ltsp/i386/etc/default/ltsp-client-setup
echo 'rw_dirs="$rw_dirs /var/lib/gdm"' >> /opt/ltsp/i386/etc/default/ltsp-client-setup


to /opt/ltsp/i386/etc/gdm/gdm.conf, add the following lines in the daemon
section, like so:

[daemon]
AutomaticLoginEnable=true
AutomaticLogin=autologin
TimedLoginEnable=true
TimedLogin=autologin
TimedLoginDelay=30