Hi, Your ssh configuration seems to be ok. Did you have X / gnome installed on the server that runs debian sid ? The problem sounds like an ssh tunnel created between an X client running on your workstation and ... nothing ... (no X display available on your ltsp server).
Ldm login manager tries to run startx or X-thing on server side but the executable is not there and the ssh tunnel ends prematurely. Alban Bernard. Plamen Grozev wrote: > Hi, all! I'm using Debian sid and LTSP-5. The clients' boot is ok, but when i > want to log in with LDM, i've got a black screen and i return to the logging > manager. I did ltsp-update-sshkeys, I regenerated the server's keys and again > ltsp-update-sshkeys, but no changes. > /var/log/auth.log says: > nishava sshd[3548]: Accepted password for test1 from 172.24.1.25 port 4375 > ssh2 > nishava sshd[3550]: (pam_unix) session opened for user test1 by (uid=0) > > /var/log/daemon.log says: > nishava dhcpd: DHCPACK on 172.24.1.25 to 00:01:02:3c:5a:f6 via eth0 > nishava mountd[3116]: authenticated mount request from ws005.ltsp:963 for > /opt/ltsp/i386 (/opt/ltsp) > > when I try to login with normal user, and get the same result, I login > locally as root and /var/log/ldm.log says: /etc/X11/Xsession: Permission > denied > > My full /var/log/ldm.log is here: > info: Not enabling sound support. > ssh command line: ['ssh', '-v', '-X', '-c', > 'blowfish-cbc,aes128-cbc,3des-cbc', '[EMAIL PROTECTED]', '/bin/bash', > '--login', '-c', '\' env LTSP_CLIENT="ltsp" /etc/X11/Xsession \'', ';', 'kill > -1 $PPID'] > OpenSSH_4.3p2 Debian-9, OpenSSL 0.9.8e 23 Feb 2007 > debug1: Reading configuration data /etc/ssh/ssh_config > debug1: Applying options for * > debug1: Connecting to 172.24.1.1 [172.24.1.1] port 22. > debug1: Connection established. > debug1: permanently_set_uid: 0/0 > debug1: identity file /root/.ssh/identity type -1 > debug1: identity file /root/.ssh/id_rsa type -1 > debug1: identity file /root/.ssh/id_dsa type -1 > debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3p2 > Debian-9 > debug1: match: OpenSSH_4.3p2 Debian-9 pat OpenSSH* > debug1: Enabling compatibility mode for protocol 2.0 > debug1: Local version string SSH-2.0-OpenSSH_4.3p2 Debian-9 > debug1: An invalid name was supplied > Configuration file does not specify default realm > > debug1: An invalid name was supplied > A parameter was malformed > Validation error > > debug1: An invalid name was supplied > Configuration file does not specify default realm > > debug1: An invalid name was supplied > A parameter was malformed > Validation error > > debug1: SSH2_MSG_KEXINIT sent > debug1: SSH2_MSG_KEXINIT received > debug1: kex: server->client blowfish-cbc hmac-md5 none > debug1: kex: client->server blowfish-cbc hmac-md5 none > debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent > debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP > debug1: SSH2_MSG_KEX_DH_GEX_INIT sent > debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY > debug1: Host '172.24.1.1' is known and matches the RSA host key. > debug1: Found key in /etc/ssh/ssh_known_hosts:4 > debug1: ssh_rsa_verify: signature correct > debug1: SSH2_MSG_NEWKEYS sent > debug1: expecting SSH2_MSG_NEWKEYS > debug1: SSH2_MSG_NEWKEYS received > debug1: SSH2_MSG_SERVICE_REQUEST sent > debug1: SSH2_MSG_SERVICE_ACCEPT received > 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_passphrase: can't open /dev/tty: No such device or address > debug1: Authentication succeeded (password). > debug1: channel 0: new [client-session] > debug1: Entering interactive session. > debug1: Requesting X11 forwarding with authentication spoofing. > debug1: Sending environment. > debug1: Sending command: /bin/bash --login -c ' env LTSP_CLIENT="ltsp" > /etc/X11/Xsession ' ; kill -1 $PPID > env: /etc/X11/Xsession: Permission denied > debug1: channel 0: free: client-session, nchannels 1 > debug1: fd 0 clearing O_NONBLOCK > debug1: fd 1 clearing O_NONBLOCK > Connection to 172.24.1.1 closed by remote host. > debug1: Transferred: stdin 0, stdout 0, stderr 49 bytes in 0.0 seconds > debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 1056.1 > debug1: Exit status -1 > > Any suggestions are welcomed, thank you in advance :) > > ----------------------------------------------------------------- > http://auto-motor-und-sport.bg/ > С бензин в кръвта > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _____________________________________________________________________ > 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 > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _____________________________________________________________________ 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
