/srv/irclogs.ubuntu.com/2010/08/31/#edubuntu.txt

Nazgul2hi09:51
alkisgHello09:52
Nazgul2i would like to know somethin aboutn edubuntu09:57
Nazgul2i heared it is good for terminal server usage09:57
alkisgIt is, combined with LTSP10:02
alkisghttps://help.ubuntu.com/community/UbuntuLTSP10:03
nubaealkisg, u there?10:15
alkisgHey nubae, long time no see... what's up?10:15
nubaehey, indeed... back to the world of ltsp... have to do a hardy upgrade... better said, have done most of a hardy upgrade, but getting some weird problems with the client10:16
nubaeafter doing a ltsp-update-sshkeys and image, get no response from server10:16
nubaewhen any user tries to login from a thin client10:16
alkisgAnd if he tries to login from SCREEN_02=shell?10:16
nubaeI shall try that... but from the command prompt error I get is unknown userid10:17
nubaethe /home was on another disk, though don't see how that could interfere10:18
alkisgSCREEN_07=ldm, SCREEN_02=shell, ssh user@server10:18
alkisgChange "user", leave "server" exactly as it is, don't use the server ip or hostname10:18
nubaeI'm not at the school at the moment, but I'll see if I can ssh in, thought doubt it10:18
nubaeok10:19
nubae1alkisg: u around?17:37
alkisgHi nubae117:38
nubae1I'm at the school now... tried sshing in from thin client17:38
nubae1getting connect host server port 22: connection refused17:38
nubae1I'm figuring this might be because I had squi/dansguardian/shorewall running on hardy17:39
nubae1but not on lucid17:39
nubae1that make sense?17:39
alkisgnubae1: no idea, I've never used dansguardian or shorewall. But squid shouldn't be able to affect your system if it's not installed.17:49
alkisgAre you sure that the "server" has the correct IP there?17:49
nubae1weird thing is if I do /cat/resolv.conf on the thin client17:51
nubae1I don't get the same details as in /opt/ltsp/i386/etc/resolv.conf17:52
alkisgThose come from the dhcp server17:52
nubae1it gives me change this for your server instead17:52
nubae1ah17:52
nubae1right17:52
nubae1makes sense17:52
nubae1so it ignores /etc/resolv.conf?17:53
alkisgIt overrides it, if the dhcp send dns info17:53
alkisg*or overwrites, same meaning :D17:53
nubae1hmmm, ok... well, then I'm at square 1, I've installed squid, dans, shorewall again17:54
nubae1and everything is fine on server17:54
nubae1just no connection from thin client17:54
alkisgnubae1: can you ssh to the server from other pcs?17:54
nubae1nope17:54
nubae1which means must be sshd_conf?17:55
alkisgCheck the logs to see if some program is blocking the connection17:55
alkisgsshd, iptables, firewalls, you name it17:55
nubae1logs show nothing17:55
alkisgCan you ssh to localhost on the server?17:55
nubae1permission denied17:56
alkisgAnd still no logs?17:56
alkisg(from the system > settings > logs utility)17:56
nubae1nope nothing in logs... why would I get that: permission denied (public key)17:56
alkisgMessed up sshd_config?17:57
nubae1most likely17:57
alkisgBut still, a log entry should be filed17:57
nubae1checking17:57
nubae1nothing under messages17:57
nubae1but checking other17:57
alkisgRun the log utility,17:57
alkisgtry ssh localhost,17:57
alkisgand see if any of them goes "bold"17:57
alkisgThat means it has new entries17:58
nubae1can u paste me a virgin sshd_conf?18:01
nubae1I get the nbd messages in logs, but just connect and disconnect18:02
nubae1I'll copy it from a backup too, but must be my sshd_conf is messed up18:03
nubae1I've got the external server set under listen address in sshd_conf on server, does that make sense18:10
nubae1?18:10
nubae1I've been away too long from ltsp18:11
nubae1getting internet from normal clients via nat18:13
nubae1so that isnt it18:13
nubae1has to be ssh then right?18:14
nubae1damn, cant get ssh localhost to work on server, connection refused, but no message about keys anymore18:19
nubae1and nothing in the log files18:19
alkisgnubae1: /etc/ssh/sshd_config: http://ltsp.pastebin.com/Mv3QDcSS18:20
alkisgThen try again ssh localhost18:20
nubae1ok all working now18:25
nubae1at least ssh localhost18:25
nubae1ssh fixed now from thin clients too18:27
nubae1but still no ability to login to Xç18:28
nubae1still, feel it getting close :-)18:28
alkisgFrom SCREEN_02, "ssh user@server"18:29
nubae1yep18:30
nubae1no problem18:30
alkisgDoes that work with no warnings _at all_ ?18:30
nubae1yep18:30
alkisgAnd then when you switch to vt7 and try to login with the same user, what do you get?18:30
nubae1nothing in log files either18:30
nubae1weird, now works18:31
nubae1thanks alkisg18:31
alkisgYou're welcome, but do try to reboot the client and check again if it works :)18:31
nubae1checking with other usernames and such18:32
nubae1what should permissions be username.username?18:32
nubae1or can it be username.users18:32
alkisgPermissions where?18:33
nubae1for /home18:33
nubae1for /home/username18:34
alkisgIt's usually user:user, but if you have a specific reason to, you can also use user:group18:34
nubae1ok, well all seems to be well now18:35
nubae1just takes for ever to login18:35
alkisgTry with a new user, and time the *second* time it logs in18:36
alkisgIt should be less than 10-20 secs...18:36
nubae1sysadmin can login18:38
nubae1seems normal users cannot18:38
nubae1trying with a new user18:38
alkisg(create it with users-admin, not with adduser...)18:39
nubae1oh ok18:39
nubae1yeah new users cant log in18:41
nubae1failed due to unknown userid (0)18:42
nubae1get that in terminal just after no response18:42
alkisgIgnore that, that's pulseaudio18:43
alkisgDo you get an entry in the server /var/log/auth.log for that user?18:43
nubae1weird weird18:44
nubae1on 192.168.0.2 works for all users18:44
nubae1other ips doesnt work18:44
nubae1thinnk its time for server restart18:44
alkisgltsp-update-sshkeys && ltsp-update-image18:45
alkisgI don't think server restarting will help for that18:45
nubae1well graphics on server crashed18:47
nubae1so needed a restart anyway18:47
nubae1ok think its all working now.... thanks... a lot18:55

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!