Public bug reported:
When I login from a thin client, I get this message directly on the server
console (also after plugin in a device):
X11 connection rejected because of wrong authentication.
I think it's from the /usr/share/ldm/rc.d/S10-delayed-mounter script.
Following the steps on DebugLocalDev, all is correct until the last
step.
----
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 maikel
uid=1001(maikel) gid=1001(maikel)
groups=1001(maikel),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),104(scanner),106(fuse),114(netdev),117(powerdev)
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
[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?
[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/.maikel-ltspfs/usbdisk-sdb1 is not mounted
I've found this on /var/log/ldm after login in:
LDM2 starting
LDM2 running on ip address 192.168.0.40
Launching Xorg
Spawning greeter: /usr/bin/ldmgtkgreet
In get_userid
Establishing a session with 192.168.0.4
Attempting ssh session as maikel
In get_passwd
ssh_chat: looking for ssword: from ssh
expect saw: [EMAIL PROTECTED]'s password:
ssh_chat: got it! Sending pw
expect saw:
Warning: No xauth data; using fake authentication data for X11 forwarding.
LTSPROCKS
Saw sentinel. Logged in successfully
Established ssh session.
Process returned no status
Executing rc files.
Beginning X session.
I've tried both with Ubuntu server and Edubuntu (Gutsy), but neither works.
Although
with Edubuntu I'd to run ltsp-build-client manually because of bug #159526.
The only thing I do after the installation is modify /etc/network/interfaces,
disable dhcpd (it's in another server) and run ltsp-build-client,
ltsp-update-sshkeys and ltsp-update-image.
** Affects: ltsp (Ubuntu)
Importance: Undecided
Status: New
--
Local devices don't work because an X11 authentication problem
https://bugs.launchpad.net/bugs/160420
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs