个人工具

“UbuntuHelp:UbuntuLTSP/ClientTroubleshooting”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/UbuntuLTSP/ClientTroubleshooting}} {{Languages|UbuntuHelp:UbuntuLTSP/ClientTroubleshooting}} '''This wiki page is specific to Ubuntu Version(s): 7...)
 
第20行: 第20行:
 
* CTRL+ALT+F1 will get you to a TTY to log in, even if X is giving you a blank screen.
 
* 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).
 
* 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).
 +
* Alternatively, you can [[UbuntuHelp:UbuntuLTSP/TCSyslogToLTSPServer|Enable|thin-client syslogging to the LTSP/syslog server]].
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2008年12月16日 (二) 20:22的版本

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).
  • Alternatively, you can Enable|thin-client syslogging to the LTSP/syslog server.