Nazgul2 | hi | 09:51 |
---|---|---|
alkisg | Hello | 09:52 |
Nazgul2 | i would like to know somethin aboutn edubuntu | 09:57 |
Nazgul2 | i heared it is good for terminal server usage | 09:57 |
alkisg | It is, combined with LTSP | 10:02 |
alkisg | https://help.ubuntu.com/community/UbuntuLTSP | 10:03 |
nubae | alkisg, u there? | 10:15 |
alkisg | Hey nubae, long time no see... what's up? | 10:15 |
nubae | hey, 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 client | 10:16 |
nubae | after doing a ltsp-update-sshkeys and image, get no response from server | 10:16 |
nubae | when any user tries to login from a thin client | 10:16 |
alkisg | And if he tries to login from SCREEN_02=shell? | 10:16 |
nubae | I shall try that... but from the command prompt error I get is unknown userid | 10:17 |
nubae | the /home was on another disk, though don't see how that could interfere | 10:18 |
alkisg | SCREEN_07=ldm, SCREEN_02=shell, ssh user@server | 10:18 |
alkisg | Change "user", leave "server" exactly as it is, don't use the server ip or hostname | 10:18 |
nubae | I'm not at the school at the moment, but I'll see if I can ssh in, thought doubt it | 10:18 |
nubae | ok | 10:19 |
nubae1 | alkisg: u around? | 17:37 |
alkisg | Hi nubae1 | 17:38 |
nubae1 | I'm at the school now... tried sshing in from thin client | 17:38 |
nubae1 | getting connect host server port 22: connection refused | 17:38 |
nubae1 | I'm figuring this might be because I had squi/dansguardian/shorewall running on hardy | 17:39 |
nubae1 | but not on lucid | 17:39 |
nubae1 | that make sense? | 17:39 |
alkisg | nubae1: 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 |
alkisg | Are you sure that the "server" has the correct IP there? | 17:49 |
nubae1 | weird thing is if I do /cat/resolv.conf on the thin client | 17:51 |
nubae1 | I don't get the same details as in /opt/ltsp/i386/etc/resolv.conf | 17:52 |
alkisg | Those come from the dhcp server | 17:52 |
nubae1 | it gives me change this for your server instead | 17:52 |
nubae1 | ah | 17:52 |
nubae1 | right | 17:52 |
nubae1 | makes sense | 17:52 |
nubae1 | so it ignores /etc/resolv.conf? | 17:53 |
alkisg | It overrides it, if the dhcp send dns info | 17:53 |
alkisg | *or overwrites, same meaning :D | 17:53 |
nubae1 | hmmm, ok... well, then I'm at square 1, I've installed squid, dans, shorewall again | 17:54 |
nubae1 | and everything is fine on server | 17:54 |
nubae1 | just no connection from thin client | 17:54 |
alkisg | nubae1: can you ssh to the server from other pcs? | 17:54 |
nubae1 | nope | 17:54 |
nubae1 | which means must be sshd_conf? | 17:55 |
alkisg | Check the logs to see if some program is blocking the connection | 17:55 |
alkisg | sshd, iptables, firewalls, you name it | 17:55 |
nubae1 | logs show nothing | 17:55 |
alkisg | Can you ssh to localhost on the server? | 17:55 |
nubae1 | permission denied | 17:56 |
alkisg | And still no logs? | 17:56 |
alkisg | (from the system > settings > logs utility) | 17:56 |
nubae1 | nope nothing in logs... why would I get that: permission denied (public key) | 17:56 |
alkisg | Messed up sshd_config? | 17:57 |
nubae1 | most likely | 17:57 |
alkisg | But still, a log entry should be filed | 17:57 |
nubae1 | checking | 17:57 |
nubae1 | nothing under messages | 17:57 |
nubae1 | but checking other | 17:57 |
alkisg | Run the log utility, | 17:57 |
alkisg | try ssh localhost, | 17:57 |
alkisg | and see if any of them goes "bold" | 17:57 |
alkisg | That means it has new entries | 17:58 |
nubae1 | can u paste me a virgin sshd_conf? | 18:01 |
nubae1 | I get the nbd messages in logs, but just connect and disconnect | 18:02 |
nubae1 | I'll copy it from a backup too, but must be my sshd_conf is messed up | 18:03 |
nubae1 | I've got the external server set under listen address in sshd_conf on server, does that make sense | 18:10 |
nubae1 | ? | 18:10 |
nubae1 | I've been away too long from ltsp | 18:11 |
nubae1 | getting internet from normal clients via nat | 18:13 |
nubae1 | so that isnt it | 18:13 |
nubae1 | has to be ssh then right? | 18:14 |
nubae1 | damn, cant get ssh localhost to work on server, connection refused, but no message about keys anymore | 18:19 |
nubae1 | and nothing in the log files | 18:19 |
alkisg | nubae1: /etc/ssh/sshd_config: http://ltsp.pastebin.com/Mv3QDcSS | 18:20 |
alkisg | Then try again ssh localhost | 18:20 |
nubae1 | ok all working now | 18:25 |
nubae1 | at least ssh localhost | 18:25 |
nubae1 | ssh fixed now from thin clients too | 18:27 |
nubae1 | but still no ability to login to Xç | 18:28 |
nubae1 | still, feel it getting close :-) | 18:28 |
alkisg | From SCREEN_02, "ssh user@server" | 18:29 |
nubae1 | yep | 18:30 |
nubae1 | no problem | 18:30 |
alkisg | Does that work with no warnings _at all_ ? | 18:30 |
nubae1 | yep | 18:30 |
alkisg | And then when you switch to vt7 and try to login with the same user, what do you get? | 18:30 |
nubae1 | nothing in log files either | 18:30 |
nubae1 | weird, now works | 18:31 |
nubae1 | thanks alkisg | 18:31 |
alkisg | You're welcome, but do try to reboot the client and check again if it works :) | 18:31 |
nubae1 | checking with other usernames and such | 18:32 |
nubae1 | what should permissions be username.username? | 18:32 |
nubae1 | or can it be username.users | 18:32 |
alkisg | Permissions where? | 18:33 |
nubae1 | for /home | 18:33 |
nubae1 | for /home/username | 18:34 |
alkisg | It's usually user:user, but if you have a specific reason to, you can also use user:group | 18:34 |
nubae1 | ok, well all seems to be well now | 18:35 |
nubae1 | just takes for ever to login | 18:35 |
alkisg | Try with a new user, and time the *second* time it logs in | 18:36 |
alkisg | It should be less than 10-20 secs... | 18:36 |
nubae1 | sysadmin can login | 18:38 |
nubae1 | seems normal users cannot | 18:38 |
nubae1 | trying with a new user | 18:38 |
alkisg | (create it with users-admin, not with adduser...) | 18:39 |
nubae1 | oh ok | 18:39 |
nubae1 | yeah new users cant log in | 18:41 |
nubae1 | failed due to unknown userid (0) | 18:42 |
nubae1 | get that in terminal just after no response | 18:42 |
alkisg | Ignore that, that's pulseaudio | 18:43 |
alkisg | Do you get an entry in the server /var/log/auth.log for that user? | 18:43 |
nubae1 | weird weird | 18:44 |
nubae1 | on 192.168.0.2 works for all users | 18:44 |
nubae1 | other ips doesnt work | 18:44 |
nubae1 | thinnk its time for server restart | 18:44 |
alkisg | ltsp-update-sshkeys && ltsp-update-image | 18:45 |
alkisg | I don't think server restarting will help for that | 18:45 |
nubae1 | well graphics on server crashed | 18:47 |
nubae1 | so needed a restart anyway | 18:47 |
nubae1 | ok think its all working now.... thanks... a lot | 18:55 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!