IRC chat logs for #ltsp on irc.freenode.net (webchat)


Channel log from 17 October 2010   (all times are UTC)

00:14alkisg has joined #ltsp
00:54F-GT has joined #ltsp
02:12komunista has joined #ltsp
02:16NOMADICUS has joined #ltsp
02:31
<sweetpi>
is there a kernel arg to specify the ltsp server? cant remember the name of it
02:31
<alkisg>
A kernel arg to do what?
02:32
<sweetpi>
alkisg: ssh ip
02:32
<alkisg>
I don't understand what you're asking, sorry
02:33
<sweetpi>
alkisg: different network, nfs. kernel and initrd are downloaded over http. I just need to specify the ltsp ssh server as kernel arg
02:34
<alkisg>
Ah :)
02:35
If NFS_SERVER is set, it should default to that then
02:37
<sweetpi>
its trying nbd for some reason, I figured I needed to specify the ltsp server. iirc it works IN the network fine
02:38
<alkisg>
If it's trying nbd, then set "nbdroot="
02:38
It'll get the default SERVER from there
02:39
<sweetpi>
using "netboot=nfs nfsroot=nfsip:/path nbdroot=". still trying nbd
02:39
<alkisg>
I mean "nbdroot=THESERVERIPHERE"
02:40
If the problem is that it tries to use nbd instead of nfs, then that a different problem...
02:40
<sweetpi>
still says "Failed to connect to NBD server."
02:40
<alkisg>
Right, you didn't switch to nfs then
02:40
distro/version?
02:40
<sweetpi>
iirc nfs works find IN the network
02:40
s/find/fine/
02:41
debian squeeze
02:41
<alkisg>
So it's using nfs by default, you didn't change any initscripts, right?
02:42
<sweetpi>
no
02:42
guess I should test nfs inside before wasting your time :)
02:53
hmm nfs isnt working inside the network either.. someone must have been messing with stuff
03:00
It's still trying nbd instead of nfs.. Is there anywhere that would be overridden?
03:10
<alkisg>
Last paragraph here: https://help.ubuntu.com/community/UbuntuLTSP/LTSPWithoutNFS
03:13
<sweetpi>
yeah, everything is exported. but the client looks like its defaulting to nbd even when I specify nfs
03:17
alkisg: It says "Running /scripts/nfs-top...done." gets an ip then says "Failed to connect to NBD server"
03:29
<komunista>
sweetpi: I am happy NBD user under debian/squeeze :-)
03:30
sweetpi: but when I playng with switching NFS / NBD I create new client croot always
03:30
<sweetpi>
komunista: same here, but we use nfs for testing and nbd for production
03:31
<komunista>
ah, lot of typos...
03:32
<sweetpi>
mainly from trying to get wireless thinclients to work
03:33
<komunista>
for me is wireless wery slow to use with SSH only, without X...
03:35
<sweetpi>
these were all g and n wireless with good signals so it worked really good
03:36
<komunista>
sweetpi: you are mixing things from NFS/testing and NBD/production?
03:37
<sweetpi>
after the testing is done we build nbd images
03:37NOMADICUS has quit IRC
03:38
<komunista>
I know only one abut this (I never mix it):
03:38
when I try NFS client simple switch to NBD by generating the NBD image, it do not works for me
03:39
I don't play with this and generate new client's chroot with NBD switch...
03:39
<sweetpi>
we have never had a problem until now, I think someone must have changed something without letting me know. and of course everyone is sleeping
03:44F-GT has quit IRC
03:47
<komunista>
you are writing about kernel args... what do you have in pxelinux.cfg/default?
03:50
<sweetpi>
the only thing special im passing is "netboot=nfs nfsroot=serverip:/opt/ltsp/i386"
03:51
which worked last time I tested it. thats why I thing someone changed something in the chroot
03:51
<komunista>
in my old NFS copy I have: append ro initrd=initrd.img quiet root=/dev/nfs ip=dhcp boot=nfs
03:51
<sweetpi>
s/thing/think/
03:52
<komunista>
sweetpi: I am not machine, I understand typos :-D
03:52
<sweetpi>
:)
03:54
<komunista>
I can't help more ...
03:56
<sweetpi>
adding "boot=nfs" worked, thanks :)
03:56
now to find out why we never had to add that
03:58
<komunista>
sweetpi: nice :-)
04:01F-GT has joined #ltsp
04:06
<alkisg>
!reenable_compiz
04:06
<ltspbot`>
alkisg: Error: "reenable_compiz" is not a valid command.
04:06
<alkisg>
!enable_compiz
04:06
<ltspbot`>
alkisg: Error: "enable_compiz" is not a valid command.
04:07
<alkisg>
!compiz
04:07
<ltspbot`>
alkisg: "compiz" :: if compiz is giving you problems, one way to disable it for all users is: sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /desktop/gnome/session/required_components/windowmanager metacity
04:07
<alkisg>
!reenable-compiz
04:07
<ltspbot`>
alkisg: Error: "reenable-compiz" is not a valid command.
04:07
<alkisg>
Bah :(
04:10
<sweetpi>
alkisg: gconftool-2 --type string --set /desktop/gnome/session/required_components/windowmanager compiz
04:11
<alkisg>
sweetpi: nah I was looking for the system-wide removal command - no worries, I'll just retype it :)
04:12
<sweetpi>
I see, should be the same thing except s/metacity/compiz/
04:17sweetpi has quit IRC
05:38ogra_ac has joined #ltsp
05:42dmarkey has quit IRC
05:51mistik1 has quit IRC
05:53dmarkey has joined #ltsp
06:05ogra_ac has quit IRC
06:06ogra_ac has joined #ltsp
06:45ogra_ac has quit IRC
06:45ogra_ac has joined #ltsp
07:21bla has joined #ltsp
07:27vmlintu has joined #ltsp
07:53pmatulis has joined #ltsp
08:00ogra_ac has quit IRC
08:04ogra_ac has joined #ltsp
09:08alkisg has quit IRC
09:08alkisg has joined #ltsp
09:18ogra_ac has quit IRC
09:43otavio has quit IRC
10:05ogra_ac has joined #ltsp
10:25Faithful has joined #ltsp
10:59alkisg has quit IRC
11:05ogra_ac_ has joined #ltsp
11:05ogra_ac has quit IRC
11:21ogra_ac_ is now known as ogra_ac
11:30M4gic5t0rM has joined #ltsp
11:34jhutchins_lt has joined #ltsp
11:34M4gic5t0rM has quit IRC
11:35M4gic5t0rM has joined #ltsp
11:46M4gic5t0rM1 has joined #ltsp
11:46M4gic5t0rM has quit IRC
11:49toscalix has joined #ltsp
12:09mistik1 has joined #ltsp
12:15otavio has joined #ltsp
12:15otavio has joined #ltsp
12:39M4gic5t0rM1 has quit IRC
12:45alexqwesa has quit IRC
12:46alexqwesa has joined #ltsp
12:55jhutchins_lt has quit IRC
13:06bobby_C has joined #ltsp
13:20vagrantc has joined #ltsp
13:24alkisg has joined #ltsp
13:36salomon_ has joined #ltsp
13:37
<salomon_>
Hello all, I'm trying to install an ltsp 5 server, I'm having a problem, when the client login, I get an error sayinf "invalid card number"
13:38
I' can't find the solution on internet, can enybody help me please?
13:43artista_frustrad has joined #ltsp
13:47
<vagrantc>
!release
13:47
<ltspbot`>
vagrantc: "release" :: please mention the linux distro and release you're using :)
13:47
<vagrantc>
salomon_: ^^
13:47
<salomon_>
I'm using lubuntu 10.4
13:50ogra_ac has quit IRC
13:51
<alkisg>
salomon_: except for the message, what's your actual problem? It hangs when trying to login?
13:52
<salomon_>
No, it says invalid card, and then it ask me the user again, so I can't login
13:53
I'm entering the correct user and password and it works since I can login with that user on the server
13:53
<alkisg>
So you're seeing the login screen (ldm), then enter a username/password, and then X resets and you're prompted again for a username/password?
13:55toscalix has quit IRC
13:56
<alkisg>
(ignore that "invalid card" error for a while, it's probably a wrong parameter in amixer)
13:56
<salomon_>
yes, after I entet the user and password it shows some errors not in X mode and then X resets and it ask the user and password again. befores the invalid card number error it shows an error that starts whit sys/devices/virtusl.../sysvendor: No such file or directory
13:57bobby_C has quit IRC
13:57
<alkisg>
OK. Check your server's /var/log/auth.log. Do you see a login attempt?
13:57
<salomon_>
let me check
13:59
this is what it shows
13:59
Oct 17 13:54:28 servidor-ltsp sshd[2082]: pam_sm_authenticate: Called
13:59
Oct 17 13:54:28 servidor-ltsp sshd[2082]: pam_sm_authenticate: username = [usuario01]
13:59
Oct 17 13:54:28 servidor-ltsp sshd[2082]: Accepted password for usuario01 from 10.0.0.5 port 60969 ssh2
13:59
Oct 17 13:54:28 servidor-ltsp sshd[2082]: pam_unix(sshd:session): session opened for user usuario01 by (uid=0)
13:59
Oct 17 13:54:29 servidor-ltsp sshd[2146]: subsystem request for sftp
13:59
Oct 17 13:54:30 servidor-ltsp sshd[2146]: Received disconnect from 10.0.0.5: 11: disconnected by user
13:59
Oct 17 13:54:30 servidor-ltsp sshd[2082]: pam_unix(sshd:session): session closed for user usuario01
14:00
<alkisg>
OK, try this first, and if that doesn't work, you'd need more deep debugging:
14:00
!compiz
14:00
<ltspbot`>
alkisg: "compiz" :: if compiz is giving you problems, one way to disable it for all users is: sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /desktop/gnome/session/required_components/windowmanager metacity
14:00
<alkisg>
Hmmm lubuntu...
14:01
<salomon_>
But I have not installed compiz
14:01
<alkisg>
I don't know if that uses compiz or not. Ignore that
14:01
In gnome, even if one doesn't install compiz, visual effects are enabled so manually declaring metacity is needed
14:01
<salomon_>
lubuntu uses LXDE, not GNOME :)
14:01
<alkisg>
k
14:02
Try this: sudo gedit /var/lib/tftpboot/ltsp/i386/lts.conf
14:02
[Default]
14:02
SCREEN_02=shell
14:02
SCREEN_07=ldm
14:02
Reboot the client - this way you'll get a local screen in vt2
14:02
So you'll be able to look at the local logs
14:02
<salomon_>
ok, let me try
14:04
I don't have a lts.conf file in that directorym should I create it?
14:04
<alkisg>
Yes - if the rest of the tftp files are there, of course
14:05
I.e. if you have a pxelinux.0 in that directory, etc
14:05
<salomon_>
yes they are nbi.img, pxelinux.0 and other files
14:05
<alkisg>
OK, create an lts.conf then
14:05
with those 3 lines
14:05
<salomon_>
ok
14:08
I'm rebooting the client
14:09
I got hte ldm login screen, what should I try?
14:12
I entered to tty2 on the client after the login failed, what log should I check?
14:13Mobe has joined #ltsp
14:13bobby_C has joined #ltsp
14:19
<salomon_>
I checked the ldm.log file and one line says waitid returned an error: Interrupted system call
14:20
<alkisg>
See also xorg.log for errors
14:22
And, with cat /dev/vcs7 you can see the error message which is hidden behind X
14:26
<salomon_>
I'll check /dev/vcs7
14:29
This are the errors
14:30
(process:152): Glib-Warning **: getpwuid_r(): failed due to unknown user id(0)
14:31
cat: /sys/devices/virtual/dmi/sys_vendor: No such file or directory
14:31
Invalid card number
14:31
and then again cat: ...
14:31
<alkisg>
The user id(0) is quite common, it shouldn't be your actual problem
14:32
I don't know about the other one. Check /var/log/Xorg.7.log too.
14:32
<salomon_>
after that, X resets and ask for the user and password again
14:32
<alkisg>
Check also that user's ~/.xsession-errors
14:32
(on the server
14:32
<salomon_>
ok, I'll check
14:34
I have already check the Xorg.7.log file and I did not saw anithing wrong, I'l check xsessions-errors and then check again Xorg.7.log carefully
14:34ogra_ac has joined #ltsp
14:38
<salomon_>
the .xsession-errors for that user shows
14:38
Xsession: X session started for usuario01 at dom oct 17 14:11:32 CDT 2010
14:38
/etc/X11/Xsession.d/80_ltsp-sound: 7: /usr/bin/asoundconf: not found
14:38
one per login I think
14:44ogra_ac has quit IRC
14:44ogra_ac has joined #ltsp
14:53ogra_ac has quit IRC
14:58
<salomon_>
the user.log says pulseaudio[1458]: main.c: Running in system mode, but --disallow-exit not set!
15:01
I thing maybe pulseaudio is the problem here
15:03MorningSon has joined #ltsp
15:14ogra_ac has joined #ltsp
15:23jhutchins_lt has joined #ltsp
15:26
<alkisg>
salomon_: then try with SOUND=False in lts.conf
15:26
That would disable pulseaudio...
15:26
<salomon_>
ok, I'll try
15:27
should I run ltsp-build-client after that?
15:32
Another question, one of the clients uses serial mouse, but it does not work when ldm shows, how do I configure it?
15:32
<alkisg>
No when you change lts.conf you don't need to update anything
15:33
Search the ubuntultsp wiki, there's a page for serial mice there, and I think it's also in the docs on the topic link
15:33
Btw, if anyone's been experiencing a very heavy CPU load by indicator sound applet, here's the cause: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/581173
15:43alkisg has quit IRC
15:45alkisg has joined #ltsp
15:45mordocai has joined #ltsp
15:45alkisg has quit IRC
15:46alkisg has joined #ltsp
15:49knipwim has quit IRC
15:49knipwim has joined #ltsp
16:05shamino has quit IRC
16:06shamino has joined #ltsp
16:12
<salomon_>
Whit the Sound=False, I don't get the invalid card number error anumore, but X it still reseting, and the /sys/devices.. errors still shows
16:22
<alkisg>
Can you try with an xterm session?
16:29
<salomon_>
I'll try
16:30
When I get the xdm login prompt just change to tty3 for exmaple?
16:33
How do I try the xterm session from the client?
16:42bobby_C has quit IRC
16:47artista_frustrad has quit IRC
16:51
<alkisg>
By clicking on the ldm preferences button
16:53alkisg has quit IRC
17:03
<salomon_>
yes, I just saw that, thanks :)
17:04
I login but just in the upper part of the secreen, the bottom part shows the mouse pointer as if were loading something
17:09salomon_ has left #ltsp
17:12M4gic5t0rM has joined #ltsp
17:28komunista has quit IRC
17:31ogra_ac has quit IRC
17:34artista_frustrad has joined #ltsp
17:39artista_frustrad has quit IRC
17:48ogra_ac has joined #ltsp
17:58johnny has joined #ltsp
18:16rodney_ has joined #ltsp
18:16jhutchins_lt has quit IRC
18:17rodney_ has quit IRC
18:21epaphus has joined #ltsp
18:22
<epaphus>
Hello all. So according to the manual to enable shell on a client i can put something like Screen_12=shell in lts.conf... i did and in a client i can get there but it asks me for a login and pass... what would that be or howto set it_? obviously users from the server wont work here.
18:37
brb
18:38epaphus has quit IRC
18:38sweetpi has joined #ltsp
18:39johnny has left #ltsp
18:42epaphus has joined #ltsp
18:43johnny has joined #ltsp
18:44
<epaphus>
back
18:47
<abeehc>
https://help.ubuntu.com/community/UbuntuLTSP/UnlockChrootRootAcct
18:56
<epaphus>
tnx
18:57
by default screen1 holds a shell... yet there is nothing in lts conf about it... how could i remove it?
18:57
brb
18:57epaphus has quit IRC
19:02epaphus has joined #ltsp
19:02
<epaphus>
back
19:08epaphus has quit IRC
19:11epaphus has joined #ltsp
19:26epaphus has quit IRC
19:30epaphus has joined #ltsp
19:38
<epaphus>
anybody_?
19:47johnny has left #ltsp
19:50alkisg has joined #ltsp
19:56epaphus has quit IRC
20:07epaphus has joined #ltsp
20:16epaphus has quit IRC
20:37pmatulis has quit IRC
20:44epaphus has joined #ltsp
20:53epaphus has quit IRC
21:04MorningSon has quit IRC
21:37johnny has joined #ltsp
21:50artista_frustrad has joined #ltsp
21:54artista_frustrad has quit IRC
22:20NOMADICUS has joined #ltsp
22:20yanu has quit IRC
22:21ogra has quit IRC
22:21ogra has joined #ltsp
22:21yanu has joined #ltsp
22:21yanu has joined #ltsp
22:29M4gic5t0rM has quit IRC
23:02artista_frustrad has joined #ltsp
23:04salomon_ has joined #ltsp
23:05
<salomon_>
Hi alkisg, I did /usr/sbin/ltsp-update-sshkeys from the server and I can login with one user, I created another user and did that again but I can't login with that new user
23:06
You was helping me some hours ago :)
23:06artista_frustrad has quit IRC
23:06
<alkisg>
salomon_: if ssh keys needed updating, then auth.log shouldn't contain an entry
23:06
The symptoms you describe are the exact same symptoms that we see in gnome with compiz
23:07
The default window manager in gnome has those problems (logging in with one user but not another, and X restarting etc)
23:07
So forcing it to metacity for all user solves that problem
23:07
But I've no idea if lubuntu is using a similar compositing window manager
23:08
If you have an "effects" tab somewhere, try logging in with the problematic user on the server, and setting "effects" to none
23:08
<salomon_>
I can try the solution that works for gnome, can you tell me again what is it?
23:09
<alkisg>
salomon_: can you upload a "ps -ef" to pastebin?
23:09
Maybe that will show what window manager is used...
23:09
!compiz
23:09
<ltspbot`>
alkisg: "compiz" :: if compiz is giving you problems, one way to disable it for all users is: sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /desktop/gnome/session/required_components/windowmanager metacity
23:09
<alkisg>
That's the gnome command, not sure if that'll help
23:09
(as it's a specific gnome key, I double lxde will be using that)
23:13
<salomon_>
this is the url for the pastebin http://pastebin.com/wh0AxN3K
23:14
lxde uses openbox
23:15
<alkisg>
Maybe /home/user-that-logs-in/.config/openbox/lubuntu-rc.xml has some special settings that enable that user to login?
23:15
(i.e. not crashing)
23:16
You didn't see any errors in the problematic user ~/.xsession-errors, did you?
23:16
<salomon_>
let me check
23:16
<alkisg>
And, did you try an xterm session?
23:17
When I first encountered the gnome compiz problem, I had to "bisect" through all of the "correct user's" ~/.gconf settings to pinpoint it
23:17
<salomon_>
I tryed the xterm session and i logged in, but just at the upper left corner, when I move the mouse cursor to the bottom right corner, the mouse pointer change to the icon that is used when loading something
23:18
<alkisg>
I.e I deleted half of the settings, checked if they worked, then the other half of the settings etc
23:18
OK then something in the session is crashing X
23:19
<salomon_>
ok what should I do first? check .xsession-errors for the user that can't login?
23:19
<alkisg>
Yes, that first,
23:19
and then if you don't see anything recognisable try mv'ing any ~/.settings files from your "correct" user to find out what makes the difference between those users
23:19* alkisg has to leave in a couple of minutes...
23:20
<salomon_>
ok, thanks for the advice, I'll try it and see what happens
23:27alkisg has quit IRC
23:30NOMADICUS has quit IRC
23:30epaphus has joined #ltsp
23:30
<epaphus>
hell all.
23:32
So, iam testing ltsp... ive seem that the average bandwith cosumption is 600kbytes/sec-1mb/sec per client browsing dfs, and the internet with firefox (without media)... isthis about the same universal experience?
23:40salomon_ has left #ltsp
23:42epaphus has quit IRC