LTSP/Troubleshooting

From openSUSE

  • After update keyboard and mouse stopped working, add the following to [default] section in /srv/tftpboot/KIWI/lts.conf
 CONFIGURE_X_COMMAND=/usr/share/ltsp/configure-x.sh
  • If it takes ages to get to LDM screen, disable "floppy" from your client bios
  • After an update if you just get flashing screen instead of LDM, please change CONFIGURE_X in /srv/tftpboot/KIWI/lts.conf to "true" if the X still keeps restarting, try adding correct XSERVER = nv (your graphics driver, see easy-ltsp for supported values)
  • If X does not come up even after adding correct XSERVER value, add USE_SAX=true to lts.conf, that will use openSUSE's X configuration tool to create xorg.conf.
  • Post the output of the following commands on http://pastebin.com and attach the resulting link to #kiwi-ltsp IRC channel or on mailing list when asking for help:
 rpm -qa "*kiwi*"
 cat /etc/sysconfig/kiwi-ltsp
 cat /etc/dhcpd.conf
 cat /srv/tftpboot/KIWI/lts.conf
 ip addr
 kiwi-ltsp-setup -c
 Full kiwi log if failing to build images (only if you are not using -prebuilt images)
  • Make sure firewall is turned off on the network device facing the LTSP network
  • Check if the IP address of the server, DHCP range and other network information is entered correctly in /etc/sysconfig/kiwi-ltsp, run kiwi-ltsp-setup -c after making sure everything in there is in order.
  • If you're having trouble creating images with kiwi-ltsp-setup, make sure you're using SUSE-11.1 GM DVD. LiveCD/DVD DOES NOT WORK!
  • Test with another client hardware if one does not boot. Try PXE booting a real desktop PC or a laptop with at least 256M RAM.
  • If things still do not work attach the full output you get on the terminal when running kiwi-ltsp-setup -c if using prebuilt image or kiwi-ltsp-setup -s if building your own image.
  • For live help you can drop into IRC Freenode #kiwi-ltsp or #ltsp, quicker solution if someone is awake.
  • Email for support on kiwi-ltsp-users
  • AUTOLOGIN - After enabling autologin your client screen will just blink when trying to start X. One possible cause of this is that you have enabled NDS/eDir logins and a second password is requested during ssh login. To see if this is the case try to ssh into the server from another machine with the user you are trying to autologin with. If, after you enter your password, you get a second "NDS Password:" request then this is the case. Solution: Edit /etc/pam.d/sshd and comment or remove the lines that end with pam_nam.so then save the file and restart the client.
  • Server not found: tftp. Some, but not all, clients fail with this error. May be caused by a rogue (hidden, forgotten...) extra DHCP server somewhere in the network. Hint: stop the real dhcp server (as root) give: rcdhcpd stop. Then coldboot some ordinary dhcp client enabled machine and check that it does NOT receive an IP. If it does, you have an extra dhcp server somewhere, go searching. Remember to restart your original dhcp server (as root) give rcdhpd restart. If you are intentionally using an alternate DHCP server, parameters must be given to specify the TFTP server as noted on the kiwi-ltsp-user mailing list. The parameters are added to /srv/tftpboot/pxelinux.cfg/default:
  append initrd=boot/initrd-ltsp vga=791 splash=silent showopts kiwiserver=10.0.0.254 kiwiservertype=tftp
  • To see the logs in the client, do ctrl+alt+F1 on the client, scp them to the server if you want to attach with the bug report.
  • To remotely log in to the client, ssh into it, username is root, password is linux.

See also