Hi Gavin,

See below, it would appear to be failing to authenticate at some point. I
have to admit that I am quite lost here.

Regards,

Paul

On 2/6/07, Gavin McCullagh <[EMAIL PROTECTED]> wrote:

  1. After attempting login in as user <somebody>, have a look at
   /home/<somebody>/.xsession-errors to see if their xsession launched but
   died for some reason.  Is anything being printed to that file -- when
is
   it's datestamp?


No /home/jiao/.xsession-errors file present although pjt (the successful
login) has one. However its errors are just related to an application that
is no present

2. Check /var/log/auth.log on the server to verify that the user is indeed
   being authenticated correctly, eg you should see lines like:

Feb  5 22:05:00 robin sshd[5394]: Accepted publickey for gavin from
192.168.1.13 port 46418 ssh2
Feb  5 22:05:00 robin sshd[5396]: (pam_unix) session opened for user gavin
by (uid=0)


From auth.log

Feb  6 11:42:35 pjhome sshd[5270]: Accepted password for jiao from
192.168.0.249 port 4359 ssh2
Feb  6 11:42:35 pjhome sshd[5272]: (pam_unix) session opened for user jiao
by (uid=0)

So password appears to be accepted and a session is opened.

3. You can create an account in the ltsp chroot with the commands:
        sudo chroot /opt/ltsp/i386/ /usr/sbin/adduser <username>
   then on a thin client hit <ctrl><alt><F1>, login with the account
   created and look at the ldm log in a file something like:
        /tmp/ldm.log
        /var/log/ldm.log
   I can't recall the exact path/name.


From /var/log/ldm.log

plenty of stuff but I think this is the bottom line:

ssh apears to be OK then

debug1: Authentications that can continue: publickey,password
debug1: Next Authentication method: publickey
debug1: Trying private key:/root/.ssh/identity
debug1: Trying private key:/root/.ssh/id_rsa
debug1: Trying private key:/root/.ssh/id_dsa
debug1: Next Authentication method: password
debug1: read_passphase: can't open /dev/tty: No such device or address
debug1: Authentication succeeded (password)
debug1: setting up multiplex master socket
debug1: channel 0: new [client-session]
debug1: Entering interactive session
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Sending environment.
debug1: Sending comand: /bin/bash --login -c ' env
LTSP_CLIENT="pjhome"/etc/X11/Xsession ' ; kill -1 $PPID
/usr/bin/X11/xauth: timeout in locking authority file /home/jiao/.Xauthority
debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 36185
debug1: channel 1: new [x11]
debug1: confirm x11
x11 rejected because of wroung authentication.
debug1: channel 1: free: x11, nchannels2
debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 36186
debug1: channel 1: new [x11]
debug1: confirm x11
x11 rejected because of wroung authentication.
debug1: channel 1: free: x11, nchannels2
debug1: channel 0: free: client-session, nchannels1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
Connection to 192.168.0.1 closed by remote host.
debug1: Transfered: stdin 0, stdout 0, stderr 50 bytes in 20.4 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 2.4
debug1: Exit status -1

Gavin


--
edubuntu-users mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users

-- 
edubuntu-users mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users

Reply via email to