UbuntuHelp:UbuntuLTSP/ClientTroubleshooting
来自Ubuntu中文
Wikibot(讨论 | 贡献)2008年10月19日 (日) 17:41的版本 (新页面: {{From|https://help.ubuntu.com/community/UbuntuLTSP/ClientTroubleshooting}} {{Languages|UbuntuHelp:UbuntuLTSP/ClientTroubleshooting}} '''This wiki page is specific to Ubuntu Version(s): 7...)
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
This wiki page is specific to Ubuntu Version(s): 7.10, 8.04
Sometimes you need to troubleshoot the thin-client boot process. This is fairly easy if you understand the concepts behind LTSP and the boot process of a thin-client.
- First, let's temporarily disable the Ubuntu bootsplash for the chroot environment, so we can see bootup messages scroll by:
sudo vim /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default
Remove the quiet stanza, and change splash to nosplash. Save and exit, and reboot the thin-client. You should now see all bootup messages instead of the Ubuntu graphical bootsplash.
- In the case of X not launching, and nothing valuable in dmesg, you want to be able to log into the chroot environment to examine the logs contained in /var/log (you can't do this on the server as /var/log on the client is stored in RAM). Let's activate the root account in the chroot, assign a password, and rebuild the chroot NBD image:
~-(On the server)-~
sudo chroot /opt/ltsp/i386 passwd -u root sudo chroot /opt/ltsp/i386 passwd sudo ltsp-update-image
...and now we reboot the thin client, log into the chroot to examine the logs: ~-(On the thin-client)-~
- CTRL+ALT+F1 will get you to a TTY to log in, even if X is giving you a blank screen.
- Log in with your newly unlocked root account, navigate to /var/log, and check out Xorg.6.log (amongst others that might pertain to your situation).