Hi,
I'm trying to run LTSP 5 on an Ubuntu Gutsy server. After some work I've 
  got a terminal booting correctly and I can login normally on a Gnome 
session, but I can't get local devices working.

I followed the steps on https://wiki.ubuntu.com/DebugLocalDev and this 
are the results.

Step 1: Is the device partitioned?
Yes

Step 2: Is ltspfs installed on the server?
Yes

[EMAIL PROTECTED]: ~> dpkg -l ltspfs | grep ^ii
ii  ltspfs         0.5-0ubuntu2   Fuse based remote filesystem for LTSP 
thin clients

Step 3: Is fuse loaded on the server?
Yes

[EMAIL PROTECTED]: ~> lsmod | grep fuse
fuse                   47124  1
[EMAIL PROTECTED]: ~> ls -la /dev/fuse
crw-rw---- 1 root fuse 10, 229 2007-10-30 12:47 /dev/fuse

Step 4: Is the user a member of the fuse group?
Yes

[EMAIL PROTECTED]: ~> id
uid=1000(alex) gid=1000(alex) 
groups=4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),104(scanner),106(fuse),109(lpadmin),110(admin),1000(alex)

Debugging the chroot

Step 2: Does the client recognize the plug event

Oct 30 11:56:52 192.168.0.40 kernel: [  175.142536] usb 5-5: new high 
speed USB device using ehci_hcd and address 2
Oct 30 11:56:57 192.168.0.40 kernel: [  175.359025] usb 5-5: 
configuration #1 chosen from 1 choice
Oct 30 11:57:02 192.168.0.40 kernel: [  175.429577] usbcore: registered 
new interface driver libusual
Oct 30 11:57:07 192.168.0.40 kernel: [  175.503723] Uniform 
Multi-Platform E-IDE driver Revision: 7.00alpha2
Oct 30 11:57:12 192.168.0.40 kernel: [  175.503844] ide: Assuming 33MHz 
system bus speed for PIO modes; override with idebus=xx
Oct 30 11:57:17 192.168.0.40 kernel: [  175.569216] Initializing USB 
Mass Storage driver...
Oct 30 11:57:22 192.168.0.40 kernel: [  175.569424] scsi2 : SCSI 
emulation for USB Mass Storage devices
Oct 30 11:57:27 192.168.0.40 kernel: [  175.569580] usbcore: registered 
new interface driver usb-storage
Oct 30 11:57:32 192.168.0.40 kernel: [  175.569658] USB Mass Storage 
support registered.
Oct 30 11:57:52 192.168.0.40 kernel: [  180.576047] scsi 2:0:0:0: 
Direct-Access     JetFlash TS512MJF2A       1.00 PQ: 0 ANSI: 2
Oct 30 11:57:57 192.168.0.40 kernel: [  180.583775] sd 2:0:0:0: [sdb] 
1003600 512-byte hardware sectors (514 MB)
Oct 30 11:58:02 192.168.0.40 kernel: [  180.584398] sd 2:0:0:0: [sdb] 
Write Protect is off
Oct 30 11:58:17 192.168.0.40 kernel: [  180.592181] sd 2:0:0:0: [sdb] 
1003600 512-byte hardware sectors (514 MB)
Oct 30 11:58:22 192.168.0.40 kernel: [  180.592768] sd 2:0:0:0: [sdb] 
Write Protect is off
Oct 30 11:58:37 192.168.0.40 kernel: [  180.592776]  sdb: sdb1
Oct 30 11:58:42 192.168.0.40 kernel: [  180.593725] sd 2:0:0:0: [sdb] 
Attached SCSI removable disk
Oct 30 12:02:06 192.168.0.40 kernel: [  684.215022] usb 5-5: USB 
disconnect, address 2

Step 3: Did the ltsp udev rules fire?

Yes, but I suppose the path to the fstab should be updated on the wiki.

[EMAIL PROTECTED]:~# cat /var/run/ltspfs_fstab
/dev/fd0 /var/run/drives/floppy0 auto defaults 0 0
/dev/sdb1 /var/run/drives/usbdisk-sdb1 vfat defaults 0 0

Step 4: Can you manually issue a mount command?

I didn't found /tmp/.ltspfs_socket file.

[EMAIL PROTECTED]:~# ls -a /tmp/
.  ..  ldm  .X11-unix  .X6-lock

Anyway I tryed it:

[EMAIL PROTECTED]:~# ssh -S /tmp/.ltspfs_socket server "/usr/sbin/ltspfsmounter 
/tmp add"
[EMAIL PROTECTED]'s password:
Couldn't read LTSPFS_TOKEN atom.
Error: /tmp/.root-ltspfs/tmp is not mounted

Ok, It seems this command has changed...

[EMAIL PROTECTED]:~# ssh -S /var/run/ldm_socket_vt7_192.168.0.4 server 
"/usr/sbin/ltspfsmounter /var/run/drives/usbdisk-sdb1 add"
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server shutdown).
Error: /tmp/.alex-ltspfs/usbdisk-sdb1 is not mounted

I also cheched if ltspfsd was really running:

[EMAIL PROTECTED]:~# ps ax|grep ltspfsd
  3710 ?        Ss     0:00 /usr/bin/ltspfsd

The wasn't mounted automatically on the thin client (I'm not sure if 
should). But mounting it manually worked and I could access the device 
normally.

On the server I have this (all empty):

[EMAIL PROTECTED]:~# ls  -al /tmp/.alex-ltspfs/
total 20
drwxr-xr-x  5 alex alex 4096 2007-10-30 12:49 .
drwxrwxrwt 12 root root 4096 2007-10-30 12:58 ..
drwxr-xr-x  2 alex alex 4096 2007-10-30 11:52 floppy0
drwxr-xr-x  2 alex alex 4096 2007-10-30 12:49 tmp
drwxr-xr-x  2 alex alex 4096 2007-10-30 12:16 usbdisk-sdb1

I have this on /var/lib/tftpboot/ltsp/i386/lts.conf

[default]
   SERVER=192.168.0.4
   LTSP_VERSION=5.0.39
#  SCREEN_07=startx
   MODULE_01=sky2

I don't know what else to try. Could someone help me with this?

Thanks,
Àlex

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to