Re: Test of LTSP diskless workstation - boots after 5 min 55 sec
I had a look at the server together with Ole-Anders, and the first
problem I discovered is that /etc/resolv.conf on the client was wrong,
pointing to 10.0.2.1 instead of 10.0.2.2. It is not updated by
resolvconf, as dhclient isn't running on the thin clients, and I
suspect this was the DNS server used during installation.
Next, /var/run/utmp is missing. /etc/rcS.d/K*bootmisc.sh need to be
changed to /etc/rcS.d/S*bootmisc.sh (and update-rc.d need to be run to
reorder the boot), to make sure it is created at boot.
Third, kdm was not installed in the LTSP chroot, and thus the diskless
workstations executed ldm and not kdm. I have no idea why, but I
installed it. Renamed rc3.d/S??ltsp-client-core to
K??ltsp-client-core to disable kdm and reordered the boot to make sure
only kdm start in runlevel 3.
And forth, NFS locking did not work because portmap failed to function
properly. The reason was that the loopback interface was missing.
Adding 'auto lo' to etc/network/interfaces solved this.
Third, dbus was not started, making consolekit fail to work and
logging in failing to work properly. Renaming rc3.d/K02dbus S02dbus
and reordering the boot solve that problem. Logging in is still
strange.
All these issues need to be fixed in ltsp-make-client to get diskless
workstations working properly out of the box.
Happy hacking,
--
Petter Reinholdtsen
Reply to: