No subject


Wed Jan 10 20:24:04 GMT 2007


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
> edubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
>

------=_Part_68345_17640488.1170720653517
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi Gavin,<br><br>See below, it would appear to be failing to authenticate at some point. I have to admit that I am quite lost here.<br><br>Regards,<br><br>Paul<br><br><div><span class="gmail_quote">On 2/6/07, <b class="gmail_sendername">
Gavin McCullagh</b> &lt;<a href="mailto:gmccullagh at gmail.com">gmccullagh at gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&nbsp; 1. After attempting login in as user &lt;somebody&gt;, have a look at<br>&nbsp;&nbsp; /home/&lt;somebody&gt;/.xsession-errors to see if their xsession launched but<br>&nbsp;&nbsp; died for some reason.&nbsp;&nbsp;Is anything being printed to that file -- when is
<br>&nbsp;&nbsp; it&#39;s datestamp?</blockquote><div>&nbsp;<br>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<br></div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2. Check /var/log/auth.log on the server to verify that the user is indeed<br>&nbsp;&nbsp; being authenticated correctly, eg you should see lines like:
<br><br>Feb&nbsp;&nbsp;5 22:05:00 robin sshd[5394]: Accepted publickey for gavin from <a href="http://192.168.1.13">192.168.1.13</a> port 46418 ssh2<br>Feb&nbsp;&nbsp;5 22:05:00 robin sshd[5396]: (pam_unix) session opened for user gavin by (uid=0)
</blockquote><br>From auth.log<br><br>Feb&nbsp; 6 11:42:35 pjhome sshd[5270]: Accepted password for jiao from <a href="http://192.168.0.249">192.168.0.249</a> port 4359 ssh2<br>Feb&nbsp; 6 11:42:35 pjhome sshd[5272]: (pam_unix) session opened for user jiao by (uid=0)
<br><br>So password appears to be accepted and a session is opened.<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">3. You can create an account in the ltsp chroot with the commands:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sudo chroot /opt/ltsp/i386/ /usr/sbin/adduser &lt;username&gt;<br>&nbsp;&nbsp; then on a thin client hit &lt;ctrl&gt;&lt;alt&gt;&lt;F1&gt;, login with the account<br>&nbsp;&nbsp; created and look at the ldm log in a file something like:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/tmp/ldm.log<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/var/log/ldm.log<br>&nbsp;&nbsp; I can&#39;t recall the exact path/name.</blockquote><br>From /var/log/ldm.log<br><br>plenty of stuff but I think this is the bottom line:<br><br>ssh apears to be OK then
<br><br>debug1: Authentications that can continue: publickey,password<br>debug1: Next Authentication method: publickey<br>debug1: Trying private key:/root/.ssh/identity<br>debug1: Trying private key:/root/.ssh/id_rsa<br>debug1: Trying private key:/root/.ssh/id_dsa
<br>debug1: Next Authentication method: password<br>debug1: read_passphase: can&#39;t open /dev/tty: No such device or address<br>debug1: Authentication succeeded (password)<br>debug1: setting up multiplex master socket<br>
debug1: channel 0: new [client-session]<br>debug1: Entering interactive session<br>debug1: Requesting X11 forwarding with authentication spoofing.<br>debug1: Sending environment.<br>debug1: Sending comand: /bin/bash --login -c &#39; env LTSP_CLIENT=&quot;pjhome&quot;/etc/X11/Xsession &#39; ; kill -1 $PPID
<br>/usr/bin/X11/xauth: timeout in locking authority file /home/jiao/.Xauthority<br>debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384<br>debug1: client_request_x11: request from <a href="http://127.0.0.1">
127.0.0.1</a> 36185<br>debug1: channel 1: new [x11]<br>debug1: confirm x11<br>x11 rejected because of wroung authentication.<br>debug1: channel 1: free: x11, nchannels2<br>debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
<br>debug1: client_request_x11: request from <a href="http://127.0.0.1">127.0.0.1</a> 36186<br>debug1: channel 1: new [x11]<br>debug1: confirm x11<br>x11 rejected because of wroung authentication.<br>debug1: channel 1: free: x11, nchannels2
<br>debug1: channel 0: free: client-session, nchannels1<br>debug1: fd 0 clearing O_NONBLOCK<br>debug1: fd 1 clearing O_NONBLOCK<br>Connection to <a href="http://192.168.0.1">192.168.0.1</a> closed by remote host.<br>debug1: Transfered: stdin 0, stdout 0, stderr 50 bytes in 
20.4 seconds<br>debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 2.4<br>debug1: Exit status -1<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Gavin<br><br><br>--<br>edubuntu-users mailing list<br><a href="mailto:edubuntu-users at lists.ubuntu.com">edubuntu-users at lists.ubuntu.com</a><br>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/edubuntu-users">
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users</a><br></blockquote></div><br>

------=_Part_68345_17640488.1170720653517--



More information about the edubuntu-users mailing list