This post seems to indicate that it's possible to make the Pi a "real LTSP thin client". But how?
The default LTSP installation creates an /opt/ltsp/i386 folder and /opt/ltsp/images/i386.img. I've managed to create /opt/ltsp/armhf and /opt/ltsp/images/armhf.img by following these instructions, but when the Pi boots up, it says "Insufficient information to set up nbd, quitting (nbdroot=/opt/ltsp/armhf, host=192.168.0.1, name=/opt/ltsp/armhf, port=, nbd-device=)".
I'm not sure what I should change to get LTSP to send the arm image instead of the i386 one. I made /etc/nbd-server/conf.d/ltsp_armhf.conf containing:
Code: Select all
[/opt/ltsp/armhf]
exportname = /opt/ltsp/images/armhf.img
readonly = true
authfile = /etc/ltsp/nbd-server.allow
Code: Select all
#
# Default LTSP dhcpd.conf config file.
#
authoritative;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.20 192.168.0.250;
option domain-name "example.com";
option domain-name-servers 192.168.0.1;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
# next-server 192.168.0.1;
# get-lease-hostnames true;
option subnet-mask 255.255.255.0;
# option root-path "/opt/ltsp/i386";
option root-path "/opt/ltsp/armhf";
if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
filename "/ltsp/i386/pxelinux.0";
} else {
# filename "/ltsp/i386/nbi.img";
filename "/ltsp/armhf/nbi.img";
}
}
My Pi's SD card's cmdline.txt is:
Code: Select all
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 elevator=deadline rootwait nbdroot=/opt/ltsp/armhf
Has anyone setup LTSP thin clients using anything other than Berryterminal? Any pointers?
Something else I've tried is using Raspbian and running "X :1 -query 192.168.0.1", as in the first message of this thread (same as above link). I can start an LXDE session on the server that way, but I still can't get sound to play through the Pi. I added Pulse Audio to the Raspbian install, but the bcm2835 sound card isn't showing up: Pulse Audio Volume Control only lists a "Dummy device" for sound output. I probably need to setup some kind of networking in Pulse, but uncommenting the "load-module ...-tcp" lines in /etc/pulse/default.pa seems not to be enough.
Any tips about this kind of setup?