Hallo,
wir haben hier ein Lucid Desktop 32-bit als Server und insgesamt 9 Thin-clients. Bis vor kurzem lief X2GO auf dem System, womit wir jedoch wegen des komplizierten Anmeldeverfahrens nicht zufrieden waren. (z.B. mussten die Clients oftmals neu gestartet werden, wenn sich über längere zeit niemand angemeldet hat.)
Nunmehr habe ich alle X2Go-Komponenten deinstalliert und versucht, einen LTSP-Server laut Wiki aufzusetzen. Während der Installation gab es keinenlei Fehlermeldungen. Dann aber kamen die Probleme:
"Failed to connect NBD-Server" - die syslog gab die zusätzliche Information heraus: "nbd_server/[2202/]: Could not open exported file /opt/ltsp/images/i386.img: Permission denied" - Ein kompletten Freigeben der Rechte von i386.img hat zunächst nichts gebracht. Erst als /opt/ltsp/ auch noch alle alle Rechte rekursiv eingeräumt bekam, war der NBD-Server, bereit, die Datei zu laden.
Nunmehr werden die Thin-Clients gestartet und gelangen bis zum Begrüssungsbildschirm (LDM). Aber dann geht's nicht weiter. Tastatureingaben werden nicht angenommen, selbst das Drücken der Num-Taste bedient die dazugehörige LED nicht mehr. Andererseits können die Thin-Clients mit ALT+DRUCK+REISUB neu gestartet werden. Die Maus ist während der ganzen Zeit aktiv. Zusätzlich fällt auf, dass lts.conf keinerlei Auswirkungen auf den Login-Bildschirm hat. (z.B. zeigt weder SCREEN_07 = startx den gdm-Greeter noch LDM_GUESTLOGIN den laut Manual zu erwartenden Gäste-Button.) Und noch etwas ist merkwürdig. Außer in /var/lib/ wurde auch in "/" ein tftpboot-directory angelegt.
Meine Fragen: * Wie bekomme ich das LTSP zum laufen? * wie bekomme ich Zugang zum ldm.log?
Danke im Voraus
Hier noch ein wenig Code /etc/ltsp/dhcpd.conf
# Der Server hat die IP 192.168.1.1, und und legt außerdem den DNS,
# den Router und das TFTP- und das LTSP-Verzeichnis fest.
option domain-name "domainname.net";
option domain-name-servers dns.com;
option broadcast-address 192.168.0.255;
option routers 192.168.0.249;
option subnet-mask 255.255.255.0;
authoritative;
allow booting;
allow bootp;
group {
next-server 192.168.0.249;
server-name "192.168.0.249";
use-host-decl-names on;
host g1 {
# Pfad zum Wurzelverzeichnis des zu bootenden Systems
option root-path "/opt/ltsp/i386";
# Pfad zum TFTP-Verzeichnis (relativ zur TFTP-Konfiguration)
filename "/ltsp/i386/pxelinux.0";
# MAC-Adresse des Client-Rechners
hardware ethernet 00:0d:b9:0d:c3:d0;
# IP-Adresse, welche zugewiesen wird
fixed-address 192.168.0.41;
}
host g2 {
# Pfad zum Wurzelverzeichnis des zu bootenden Systems
option root-path "/opt/ltsp/i386";
# Pfad zum TFTP-Verzeichnis (relativ zur TFTP-Konfiguration)
filename "/ltsp/i386/pxelinux.0";
# MAC-Adresse des Client-Rechners
hardware ethernet 00:0d:b9:0d:c4:3c;
# IP-Adresse, welche zugewiesen wird
fixed-address 192.168.0.42;
}
host g3 {
# Pfad zum Wurzelverzeichnis des zu bootenden Systems
option root-path "/opt/ltsp/i386";
# Pfad zum TFTP-Verzeichnis (relativ zur TFTP-Konfiguration)
filename "/ltsp/i386/pxelinux.0";
# MAC-Adresse des Client-Rechners
hardware ethernet 00:0d:b9:0d:c4:30;
# IP-Adresse, welche zugewiesen wird
fixed-address 192.168.0.43;
}
host g4 {
# Pfad zum Wurzelverzeichnis des zu bootenden Systems
option root-path "/opt/ltsp/i386";
# Pfad zum TFTP-Verzeichnis (relativ zur TFTP-Konfiguration)
filename "/ltsp/i386/pxelinux.0";
# MAC-Adresse des Client-Rechners
hardware ethernet 00:0d:b9:0d:c4:54;
# IP-Adresse, welche zugewiesen wird
fixed-address 192.168.0.48;
}
host g5 {
# Pfad zum Wurzelverzeichnis des zu bootenden Systems
option root-path "/opt/ltsp/i386";
# Pfad zum TFTP-Verzeichnis (relativ zur TFTP-Konfiguration)
filename "/ltsp/i386/pxelinux.0";
# MAC-Adresse des Client-Rechners
hardware ethernet 00:0d:b9:0d:c4:70;
# IP-Adresse, welche zugewiesen wird
fixed-address 192.168.0.45;
}
host g6 {
# Pfad zum Wurzelverzeichnis des zu bootenden Systems
option root-path "/opt/ltsp/i386";
# Pfad zum TFTP-Verzeichnis (relativ zur TFTP-Konfiguration)
filename "/ltsp/i386/pxelinux.0";
# MAC-Adresse des Client-Rechners
hardware ethernet 00:0d:b9:0d:c3:f8;
# IP-Adresse, welche zugewiesen wird
fixed-address 192.168.0.46;
}
host g7 {
# Pfad zum Wurzelverzeichnis des zu bootenden Systems
option root-path "/opt/ltsp/i386";
# Pfad zum TFTP-Verzeichnis (relativ zur TFTP-Konfiguration)
filename "/ltsp/i386/pxelinux.0";
# MAC-Adresse des Client-Rechners
hardware ethernet 00:0d:b9:0d:c4:14;
# IP-Adresse, welche zugewiesen wird
fixed-address 192.168.0.47;
}
host g8 {
# Pfad zum Wurzelverzeichnis des zu bootenden Systems
option root-path "/opt/ltsp/i386";
# Pfad zum TFTP-Verzeichnis (relativ zur TFTP-Konfiguration)
filename "/ltsp/i386/pxelinux.0";
# MAC-Adresse des Client-Rechners
hardware ethernet 00:0d:b9:0d:c4:64;
# IP-Adresse, welche zugewiesen wird
fixed-address 192.168.0.48;
}
host g9 {
# Pfad zum Wurzelverzeichnis des zu bootenden Systems
option root-path "/opt/ltsp/i386";
# Pfad zum TFTP-Verzeichnis (relativ zur TFTP-Konfiguration)
filename "/ltsp/i386/pxelinux.0";
# MAC-Adresse des Client-Rechners
hardware ethernet 00:0d:b9:0d:c4:48;
# IP-Adresse, welche zugewiesen wird
fixed-address 192.168.0.49;
}
}
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.64 192.168.0.127;
}syslog mit dem Problem "nbd_server"
Feb 11 11:10:18 administrator-desktop acpid: client connected from 2037[108:114] Feb 11 11:10:18 administrator-desktop acpid: 1 client rule loaded Feb 11 11:10:19 administrator-desktop kernel: [ 22.000020] eth0: no IPv6 routers present Feb 11 11:10:20 administrator-desktop kernel: [ 23.016033] eth1: no IPv6 routers present Feb 11 11:10:24 administrator-desktop ntpdate[2079]: no server suitable for synchronization found Feb 11 11:10:29 administrator-desktop dhcpd: Wrote 0 deleted host decls to leases file. Feb 11 11:10:29 administrator-desktop dhcpd: Wrote 0 new dynamic host decls to leases file. Feb 11 11:10:29 administrator-desktop dhcpd: Wrote 20 leases to leases file. Feb 11 11:10:49 administrator-desktop dhcpd: DHCPDISCOVER from 00:0d:b9:0d:c4:64 via eth1 Feb 11 11:10:49 administrator-desktop dhcpd: DHCPOFFER on 192.168.0.48 to 00:0d:b9:0d:c4:64 via eth1 Feb 11 11:10:52 administrator-desktop dhcpd: DHCPREQUEST for 192.168.0.48 (192.168.0.249) from 00:0d:b9:0d:c4:64 via eth1 Feb 11 11:10:52 administrator-desktop dhcpd: DHCPACK on 192.168.0.48 to 00:0d:b9:0d:c4:64 via eth1 Feb 11 11:10:52 administrator-desktop in.tftpd[2174]: tftp: client does not accept options Feb 11 11:11:11 administrator-desktop dhcpd: DHCPDISCOVER from 00:0d:b9:0d:c4:64 via eth1 Feb 11 11:11:11 administrator-desktop dhcpd: DHCPOFFER on 192.168.0.48 to 00:0d:b9:0d:c4:64 via eth1 Feb 11 11:11:11 administrator-desktop dhcpd: DHCPREQUEST for 192.168.0.48 (192.168.0.249) from 00:0d:b9:0d:c4:64 via eth1 Feb 11 11:11:11 administrator-desktop dhcpd: DHCPACK on 192.168.0.48 to 00:0d:b9:0d:c4:64 via eth1 Feb 11 11:11:11 administrator-desktop nbdrootd[2201]: connect from 192.168.0.48 (192.168.0.48) Feb 11 11:11:11 administrator-desktop nbd_server[2202]: connect from 192.168.0.48, assigned file is /opt/ltsp/images/i386.img Feb 11 11:11:11 administrator-desktop nbd_server[2202]: Could not open exported file /opt/ltsp/images/i386.img: Permission denied Feb 11 11:11:11 administrator-desktop nbdrootd[2203]: connect from 192.168.0.48 (192.168.0.48) Feb 11 11:11:11 administrator-desktop nbd_server[2204]: connect from 192.168.0.48, assigned file is /opt/ltsp/images/i386.img Feb 11 11:11:11 administrator-desktop nbd_server[2204]: Could not open exported file /opt/ltsp/images/i386.img: Permission denied
Syslog nachdem /opt/ltsp alle Rechte eingeräumt bekommen hat
Feb 13 09:11:50 administrator-desktop timeoutd[2103]: get_xidle(tty7,:0) returned 0 mins idle for administrator. Feb 13 09:12:37 administrator-desktop nbd_server[3234]: Read failed: Inappropriate ioctl for device Feb 13 09:12:45 administrator-desktop dhcpd: DHCPDISCOVER from 00:0d:b9:0d:c4:64 via eth1 Feb 13 09:12:45 administrator-desktop kernel: [ 4330.667263] Unknown InputIN=eth1 OUT= MAC=ff:ff:ff:ff:ff:ff:00:0d:b9:0d:c4:64:08:00 SRC=0.0.0.0 DST=255.255.255.255 LEN=576 TOS=0x00 PREC=0x00 TTL=20 ID=0 PROTO=UDP SPT=68 DPT=67 LEN=556 Feb 13 09:12:46 administrator-desktop kernel: [ 4331.687106] Unknown InputIN=eth1 OUT= MAC=ff:ff:ff:ff:ff:ff:00:0d:b9:0d:c4:64:08:00 SRC=0.0.0.0 DST=255.255.255.255 LEN=576 TOS=0x00 PREC=0x00 TTL=20 ID=1 PROTO=UDP SPT=68 DPT=67 LEN=556 Feb 13 09:12:47 administrator-desktop dhcpd: DHCPOFFER on 192.168.0.48 to 00:0d:b9:0d:c4:64 via eth1 Feb 13 09:12:47 administrator-desktop dhcpd: DHCPDISCOVER from 00:0d:b9:0d:c4:64 via eth1 Feb 13 09:12:47 administrator-desktop dhcpd: DHCPOFFER on 192.168.0.48 to 00:0d:b9:0d:c4:64 via eth1 Feb 13 09:12:48 administrator-desktop dhcpd: DHCPREQUEST for 192.168.0.48 (192.168.0.249) from 00:0d:b9:0d:c4:64 via eth1 Feb 13 09:12:48 administrator-desktop kernel: [ 4333.719892] Unknown InputIN=eth1 OUT= MAC=ff:ff:ff:ff:ff:ff:00:0d:b9:0d:c4:64:08:00 SRC=0.0.0.0 DST=255.255.255.255 LEN=576 TOS=0x00 PREC=0x00 TTL=20 ID=2 PROTO=UDP SPT=68 DPT=67 LEN=556 Feb 13 09:12:48 administrator-desktop dhcpd: DHCPACK on 192.168.0.48 to 00:0d:b9:0d:c4:64 via eth1 Feb 13 09:12:48 administrator-desktop in.tftpd[5192]: tftp: client does not accept options Feb 13 09:12:50 administrator-desktop timeoutd[2103]: get_xidle(tty7,:0) returned 0 mins idle for administrator. Feb 13 09:13:07 administrator-desktop dhcpd: DHCPDISCOVER from 00:0d:b9:0d:c4:64 via eth1 Feb 13 09:13:07 administrator-desktop dhcpd: DHCPOFFER on 192.168.0.48 to 00:0d:b9:0d:c4:64 via eth1 Feb 13 09:13:07 administrator-desktop kernel: [ 4352.803168] Unknown InputIN=eth1 OUT= MAC=ff:ff:ff:ff:ff:ff:00:0d:b9:0d:c4:64:08:00 SRC=0.0.0.0 DST=255.255.255.255 LEN=576 TOS=0x00 PREC=0x00 TTL=64 ID=0 PROTO=UDP SPT=68 DPT=67 LEN=556 Feb 13 09:13:07 administrator-desktop dhcpd: DHCPREQUEST for 192.168.0.48 (192.168.0.249) from 00:0d:b9:0d:c4:64 via eth1 Feb 13 09:13:07 administrator-desktop dhcpd: DHCPACK on 192.168.0.48 to 00:0d:b9:0d:c4:64 via eth1 Feb 13 09:13:07 administrator-desktop kernel: [ 4352.804151] Unknown InputIN=eth1 OUT= MAC=ff:ff:ff:ff:ff:ff:00:0d:b9:0d:c4:64:08:00 SRC=0.0.0.0 DST=255.255.255.255 LEN=576 TOS=0x00 PREC=0x00 TTL=64 ID=0 PROTO=UDP SPT=68 DPT=67 LEN=556 Feb 13 09:13:08 administrator-desktop nbdrootd[5226]: connect from 192.168.0.48 (192.168.0.48) Feb 13 09:13:08 administrator-desktop nbd_server[5227]: connect from 192.168.0.48, assigned file is /opt/ltsp/images/i386.img Feb 13 09:13:08 administrator-desktop nbd_server[5227]: Size of exported file/device is 584445952 Feb 13 09:13:24 administrator-desktop ldminfod[5241]: connect from 192.168.0.48 (192.168.0.48) Feb 13 09:13:34 administrator-desktop nbdrootd[5252]: connect from 192.168.0.48 (192.168.0.48) Feb 13 09:13:34 administrator-desktop nbd_server[5253]: connect from 192.168.0.48, assigned file is /opt/ltsp/images/i386.img Feb 13 09:13:34 administrator-desktop nbd_server[5253]: Size of exported file/device is 584445952 Feb 13 09:13:34 administrator-desktop nbd_server[5253]: Disconnect request received. Feb 13 09:13:50 administrator-desktop timeoutd[2103]: get_xidle(tty7,:0) returned 0 mins idle for administrator.
lts.conf (eine von vielen versuchten Varianten)
[default]
XSERVER=auto
LOCALDEV = True
SOUND = false
NBD_SWAP = True
X_COLOR_DEPTH = 16
XKBLAYOUT = de
XKBMODEL=pc104
SYSLOG_HOST = server
NETWORK_COMPRESSION=true
LDM_AUTOLOGIN = True
LDM_DEBUG=true
LDM_GUESTLOGIN
LDM_SYSLOG=true
[192.168.0.48]
LDM_USERNAME=gast8
LDM_PASSWORD=gast8Systemausgabe
product: Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz
vendor: Intel Corp.
physical id: 1
bus info: cpu@0
version: 6.7.6
serial: 0001-0676-0000-0000-0000-0000
size: 1999MHz
capacity: 1999MHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx x86-64 constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority cpufreq
configuration: id=1
*-logicalcpu:0
description: Logical CPU
physical id: 1.1
width: 64 bits
capabilities: logical
*-logicalcpu:1
description: Logical CPU
physical id: 1.2
width: 64 bits
capabilities: logical
2004 – 2012 ubuntuusers.de • Einige Rechte vorbehalten