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


Channel log from 10 February 2013   (all times are UTC)

00:51adrianorg__ has left IRC (adrianorg__!~adrianorg@187.113.219.52, Ping timeout: 244 seconds)
00:54Parker955_Away is now known as Parker955
01:02ltspuser_63 has joined IRC (ltspuser_63!bd236ec1@gateway/web/freenode/ip.189.35.110.193)
01:02
<ltspuser_63>
hi
01:02* vagrantc waves to ltspuser_63
01:02
<ltspuser_63>
my name is Wiliam live im Brazil
01:02
<vagrantc>
welcome
01:03
<ltspuser_63>
I need a help for configuration client ltsp in virtual machine
01:03
<jammcq>
hello wiliam
01:03
<ltspuser_63>
hi Jammcq
01:03
<jammcq>
where in brazil ?
01:04
<ltspuser_63>
Bauru São Paulo
01:05
i make a configuration how docs
01:06
<jammcq>
ltspuser_63: i've been to brazil many times
01:06
<ltspuser_63>
but when I start the client is on the screen
01:07
legal. seja sempre bem vindo
01:07
cool. is always welcome
01:07
initramfs
01:09
I did exactly as described in how to
01:09
someone has a tip
01:11
?
01:12
<vagrantc>
which howto?
01:12ltspuser_63 has left IRC (ltspuser_63!bd236ec1@gateway/web/freenode/ip.189.35.110.193, Quit: Page closed)
01:25Parker955 is now known as Parker955_Away
01:44Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Ping timeout: 240 seconds)
02:27vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)
03:25Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
04:35Parker955_Away is now known as Parker955
04:55sha_ has joined IRC (sha_!~sha@e177118150.adsl.alicedsl.de)
04:55Parker955 is now known as Parker955_Away
04:59sha has left IRC (sha!~sha@e177174058.adsl.alicedsl.de, Ping timeout: 276 seconds)
05:06jammcq has left IRC (jammcq!~jam@c-69-245-75-255.hsd1.mi.comcast.net, Quit: leaving)
05:47sep has left IRC (sep!~sep@40.211.jostedal.no, Ping timeout: 276 seconds)
06:21anunnaki has left IRC (anunnaki!~anunnaki@c-174-54-115-236.hsd1.pa.comcast.net, Remote host closed the connection)
06:47Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Ping timeout: 276 seconds)
06:48
<Enslaver>
I might just be SOL for getting nbd going on el6, RH is moving towards iscsi and completely removed nbd support from their kernels
06:48
its not even a module by default
07:00alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
07:01anunnaki has joined IRC (anunnaki!~anunnaki@c-174-54-115-236.hsd1.pa.comcast.net)
07:10prashant_123456 has joined IRC (prashant_123456!~a@117.203.239.199)
07:11
<prashant_123456>
cannot login using username and password no response from server session restarting
07:11
any help from anyone
07:15
<alkisg>
!sshkeys
07:15
<ltsp>
sshkeys: If you changed your LTSP server IP on Ubuntu, your clients will be unable to login. To fix this, you need to run: sudo ltsp-update-sshkeys && sudo ltsp-update-image
07:17
<prashant_123456>
ltsp, did that many many times but no luck loging in but i can login using root hitting ctrl+alt+f1
07:17
alkisg,
07:18
<alkisg>
prashant_123456: ok then try this command after logging in as root locally:
07:18
ssh username@server
07:18
Replace username with an existing user, leave "server" as it is, don't replace it with anything
07:19
<prashant_123456>
alkisg, you mean on server itself i have to run ssh usrname@server ?
07:19
<alkisg>
No, from vt1 on the client after you pressed alt+ctrl+f1
07:20
<prashant_123456>
ak
07:20
ok alkisg
07:21
alkisg, yes now i can do ssh from vt1
07:21
alkisg, now what to do next
07:21
<alkisg>
What command did you use, exactly?
07:22
<prashant_123456>
ssh a@server
07:22
a is my username
07:22
<alkisg>
And did you get any warnings about "trusting server xxx" etc?
07:22
<prashant_123456>
no i did not
07:23
<alkisg>
OK, do these:
07:23
server: sudo tail -F /var/log/auth.log
07:23
client: tail -F /var/log/ldm.log
07:23
client: alt+ctrl+f7, try to login as "a"
07:23
server: check for new output of the tail command
07:23
client: alt+ctrl+f1, check for new output of the tail command
07:26
<prashant_123456>
on client i get error cannot open ldm.log
07:26
<alkisg>
It might be called /var/log/ldm
07:27
Btw which linux distro/version are you using?
07:27
<prashant_123456>
is it lightdm
07:27
ubuntu 12.04 lts
07:28
<alkisg>
No, we don't want lightdm
07:28
LTSP uses ldm instead of lightdm
07:28
If you're using lightdm, then that's why you cannot login
07:28
<prashant_123456>
so no ldm here
07:28
so what to do
07:28
<alkisg>
Are you using a thin chroot or a fat chroot?
07:28
How did you build your chroot?
07:28
<prashant_123456>
build client
07:29
<alkisg>
What's the output of this command on the server? ls -lha /opt/ltsp/images
07:29
Btw, on the client, you should have /var/log/ldm.log
07:29* alkisg just checked the filename
07:30
<prashant_123456>
in opt/ltsp/images there is i386.img file
07:30
<alkisg>
What size?
07:31
<prashant_123456>
wait pls
07:32
yes now i can tail -F /var/log/ldm.log
07:33
after alt ctrl f7 cannot login
07:33
wait pls
07:37komunista has joined IRC (komunista!~slavko@adsl-195-168-244-224.dynamic.nextra.sk)
07:41
<prashant_123456>
cannot fine /opt/ltsp
07:42
alkisg, no power here see u later
07:42prashant_123456 has left IRC (prashant_123456!~a@117.203.239.199, Quit: Leaving)
07:43alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Remote host closed the connection)
08:18anunnaki has left IRC (anunnaki!~anunnaki@c-174-54-115-236.hsd1.pa.comcast.net, Ping timeout: 248 seconds)
08:43anunnaki has joined IRC (anunnaki!~anunnaki@c-174-54-115-236.hsd1.pa.comcast.net)
09:26cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Ping timeout: 240 seconds)
09:27cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg)
09:45cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Ping timeout: 264 seconds)
09:49cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg)
10:35cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Ping timeout: 248 seconds)
10:36cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg)
10:40cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Ping timeout: 248 seconds)
10:41cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg)
10:52markit has joined IRC (markit!~marco@88-149-177-66.v4.ngi.it)
11:49adrianorg__ has joined IRC (adrianorg__!~adrianorg@177.156.224.140)
11:50anunnaki has left IRC (anunnaki!~anunnaki@c-174-54-115-236.hsd1.pa.comcast.net, Remote host closed the connection)
11:55F-GT has left IRC (F-GT!~phantom@ppp59-167-136-109.static.internode.on.net, Remote host closed the connection)
11:56F-GT has joined IRC (F-GT!~phantom@ppp59-167-136-109.static.internode.on.net)
12:27anunnaki has joined IRC (anunnaki!~anunnaki@c-174-54-115-236.hsd1.pa.comcast.net)
12:46anunnaki has left IRC (anunnaki!~anunnaki@c-174-54-115-236.hsd1.pa.comcast.net, Remote host closed the connection)
12:50bobby_C has joined IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at)
13:24markit has left IRC (markit!~marco@88-149-177-66.v4.ngi.it, Ping timeout: 240 seconds)
13:41bobby_C has left IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at, Ping timeout: 264 seconds)
13:48komunista has left IRC (komunista!~slavko@adsl-195-168-244-224.dynamic.nextra.sk, Quit: Leaving.)
14:08markit has joined IRC (markit!~marco@88-149-177-66.v4.ngi.it)
14:16prashant_123456 has joined IRC (prashant_123456!~a@117.212.145.147)
14:19
<prashant_123456>
cannot login
14:20
username and password error while logging in
14:20
anyone to help
14:29
ok now i can log in thanks for the help
14:29prashant_123456 has left IRC (prashant_123456!~a@117.212.145.147, Quit: Leaving)
14:47
<Enslaver>
Anyone awake? I could use a hand one the one major issue i have left, I finally got nfs working with unionfs so i have a cow rw /, Also got NBD cow working and without cow using unionfs. Still having that X issue though
14:47
Feb 3 21:06:10 localhost kernel: ldm[1896]: segfault at 10 ip 0000000000403894 sp 00007fffb91955a0 error 4 in ldm[400000+7000]
14:58alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
15:20mgariepy has left IRC (mgariepy!mgariepy@ubuntu/member/mgariepy, Ping timeout: 245 seconds)
15:24Chel has left IRC (Chel!~Chel@184.82.79.106, Quit: WeeChat 0.4.0)
15:33mgariepy has joined IRC (mgariepy!mgariepy@ubuntu/member/mgariepy)
15:44dptech has joined IRC (dptech!~dptech@can06-1-82-242-223-39.fbx.proxad.net)
15:47
<markit>
in lts.conf, instead of [macaddress], may I also put [hostname] with some special syntax? like ['ltsp102'] or whatever?
15:48
<alkisg>
[ltsp102]
15:49
<markit>
alkisg: seems not to wokr
15:49
[00:23:5a:e4:2e:a7]
15:49
LDM_USERNAME=paola
15:49
works
15:49
and I see hostname is ltsp101
15:49
then I edit it and put
15:49
[ltsp101]
15:49
reboot the fat client
15:49
and does not autologin anymore
15:49
with that user
15:50
it takes ltsp101 as user
15:50
<alkisg>
How do you ensure that the client gets the ltsp101 hostname?
15:50
$ cat /tmp/lts.conf
15:50
[alkis]
15:50
VAR=VALUE
15:50
$ getltscfg -a -c /tmp/lts.conf
15:50
VAR="VALUE"
15:50
export VAR
15:50
<knipwim>
you have to refer to alkis with LIKE
15:50
<alkisg>
alkis is my hostname
15:51
<knipwim>
http://wiki.ltsp.org/wiki/Configuration#LIKE
15:51
<markit>
well, I set dhcp to provide that IP and in /etc/hosts I've IP - hostname
15:52
knipwim: that's confusing... usually I used [name] just to provide "templates" of config
15:52
but I've read that instead of [mac] you can use [hostname]
15:52
but seems not to work
15:52
<alkisg>
It works fine here
15:53
markit: on the client, run `hostname`, and then getltscfg -a
15:53
<markit>
ok
15:53
<alkisg>
And the paste /etc/lts.conf from the client to pastebin
15:53dead_inside has joined IRC (dead_inside!~dead_insi@host-98-127-29-0.grf-mt.client.bresnan.net)
15:56
<markit>
hostname is ltsp101
15:56
getltscfg -a is permission denied
15:58
I try with LDM_DEBUG_TERMINAL=True
15:59
<alkisg>
markit: as root
15:59
!screen_02
15:59
<ltsp>
screen_02: To get a root shell on an Ubuntu thin client: https://help.ubuntu.com/community/UbuntuLTSP/ClientTroubleshooting#Using_a_shell_SCREEN
16:05
<markit>
alkisg: pastebin.com/8enMGa9m
16:05
<alkisg>
markit: cat /etc/lts.conf on the client
16:05
<markit>
ops, sigh, I forgot
16:07
alkisg: http://pastebin.com/D6A24PsD
16:07
I've commented out the last part
16:08
if I uncomment using the mac address, it works
16:08
if I comment the mac and use the [ltsp101], it does not
16:10
<alkisg>
markit: vi /etc/lts.conf
16:10
uncomment the last lines except for the mac line
16:10
and run getltscfg -a again
16:10
It works fine here
16:13
<markit>
alkisg: without reboot, just edited /etc/lts.conf in the fat client and issued getlgscfg... http://pastebin.com/aFyzS58f
16:13
<alkisg>
Right
16:14
So edit your server lts.conf and reboot, and THEN let's see if/why it doesn't work
16:14
It _is_ possible that the hostname is applied too late
16:14
I.e. `getltscfg -a` gets run before the hostname is set
16:15
Then you'd need to file a bug report
16:16
<markit>
alkisg: wondering why works there and not here, I'm using the greek repo
16:16
<alkisg>
markit: but it did work for you
16:17
(06:13:40 μμ) markit: alkisg: without reboot, just edited /etc/lts.conf in the fat client and issued getlgscfg... http://pastebin.com/aFyzS58f
16:17
I see paola there
16:18
<markit>
yes, but with mac it autologins with "paola" user, with [ltsp101] not, so does not work (half working = no working ;P)
16:18
<alkisg>
(06:14:33 μμ) alkisg: It _is_ possible that the hostname is applied too late
16:18
(06:14:51 μμ) alkisg: I.e. `getltscfg -a` gets run before the hostname is set
16:18
(06:15:16 μμ) alkisg: Then you'd need to file a bug report
16:18
<markit>
alkisg: lol, I understand, but I use isc-dhcp and /etc/hosts, how can it be that works there and not here?
16:19
<alkisg>
What I'm saying is that there's a bug in ltsp
16:19
So that getltscfg -a run fine, but init-ltsp.d uses it at the wrong time
16:19
And that's why it "half works"
16:19
<markit>
I see, but if we are using the same ltsp version, how can it be that is affecting only me?
16:20
mmm maybe I'm not using your ltsp, let me check
16:20
<alkisg>
Ah, I didn't mean that using hostnames in lts.conf works here. I meant that it works with getltscfg.
16:20
<markit>
5.4.3-1+r2393+p1146~precise1 500 http://ppa.launchpad.net/ts.sch.gr/ppa/ubuntu/ precise/main i386 Packages
16:20
<alkisg>
I.e. that it's supported, that it _used_ to work in previous versions, that getltscfg properly runs it...
16:20
<markit>
AH, ok :))))
16:20
<alkisg>
...and you're saying that in the end, it's not working, so I'm suspecting a problem in init-ltsp.d
16:21
<markit>
ok, let's test again then, hold on
16:26
<Enslaver>
http://postimage.org/image/8cxxp0uxh/ <-- getting that when trying to use ldm
16:26
<markit>
LDM_DEBUG_TERMINAL=True makes me log as root only? better enable SCREEN_02=shell ?
16:28
alkisg: I see LDM_USERNAME=paola, but my user is ltsp101
16:28
$ who
16:28
and also from the prompt
16:29
while if I use the mac, I'm "paola"
16:29dead_inside has left IRC (dead_inside!~dead_insi@host-98-127-29-0.grf-mt.client.bresnan.net, Quit: Computer has gone to sleep.)
16:30
<alkisg>
markit: the question isn't if it works for you, you already said that it doesn't work
16:30
The question is if getltscfg -a returns the expected results
16:31
<markit>
if expected results are LDM_USERNAME and LDM_PASSWORD, it does
16:33
<alkisg>
So, `getltscfg -a` works as expected, but the LTSP boot process doesn't get these values under account
16:33
That's because when `getltscfg -a` is ran, hostname isn't yet set
16:33
And that's the bug you need to report...
16:33
I can propose a fix in a couple of hours if you want to test, currently /me is a bit busy...
16:36
<markit>
alkisg: not urgent at all, don't worry and thanks a lot for the help, I report the but in a hour time
16:37dptech has left IRC (dptech!~dptech@can06-1-82-242-223-39.fbx.proxad.net, Quit: When two people dream the same dream, it ceases to be an illusion. KVIrc 3.4.2 Shiny http://www.kvirc.net)
16:41Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
17:21komunista has joined IRC (komunista!~slavko@adsl-195-168-244-224.dynamic.nextra.sk)
17:28vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)
18:26
<alkisg>
markit: are you in a place to test stuff?
18:27
$CHROOT/usr/share/ltsp/ltsp_config.d/01-getltscfg ==> do the following changes:
18:27
eval $(getltscfg ${HOSTNAME:+-n $HOSTNAME} -a 2>/dev/null) || true
18:27
eval $(getltscfg ${HOSTNAME:+-n $HOSTNAME} -a 2>/dev/null|grep -v export >> ${ltsp_config_env}) || true
18:27
That should tell getltscfg to use the hostname provided by DHCP even if it's not set as the system hostname yet
18:29
<vagrantc>
whee.
19:02vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)
19:12bobby_C has joined IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at)
19:22
<Enslaver>
Can someone explain this code in screen-x-common: TTY=${TTY#/dev/tty}
19:22
DISPLAY=":$TTY"
19:28
i kinda get that its supposed to pick up the $DISPLAY from the tty number, i just don't get how bash is translating that to just a number.
19:30
<alkisg>
Enslaver: x=abc; echo ${x#a}
19:30
bc
19:30
Do you mean that?
19:31
# removes some starting pattern, % some ending pattern etc
19:31
man bash and search for ##
19:31
<Enslaver>
yeah i know the posix substitutions but I'm trying to figure out why its picking up /dev/pts/1 as my $DISPLAY
19:31
<alkisg>
Ah, bad code, it won't run from inside xterm
19:32
<Enslaver>
should i append a check to search for pts in the string?
19:35
<alkisg>
I don't think that would work... isn't your DISPLAY == :7 ?
19:35
Or is it :0 ?
19:36anunnaki has joined IRC (anunnaki!~anunnaki@c-174-54-115-236.hsd1.pa.comcast.net)
19:36
<Enslaver>
Well that was the reason X wasn't starting
19:36
DISPLAY=/dev/pts/7
19:38
we already know SCREEN_NUM, would it be safe to do DISPLAY=":$SCREEN_NUM" ?
19:39
<alkisg>
Sounds saner to me
19:40
Or at least, if SCREEN_NUM isn't set, fall back to using tty
19:41
Also, this seems safer: TTY=${TTY##*[!0-9]}
19:41
(if SCREEN_NUM isn't set)
19:42
<Enslaver>
yah thats a good idea
19:45
TTY=$(tty)
19:45
if [[ -n "$SCREEN_NUM" ]]; then
19:45
TTY=${TTY##*[!0-9]}
19:45
DISPLAY=":$TTY"
19:45
elif [ -n "$DISPLAY" ]; then
19:45
DISPLAY=":$SCREEN_NUM"
19:45
fi
19:45
something like that?
19:45
i'll move the 2nd TTY part up under the first TTY
19:48vagrantc has joined IRC (vagrantc!~vagrant@75-150-46-245-Oregon.hfc.comcastbusiness.net)
19:48vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)
19:48
<markit>
alkisg: I've some minute to test stuff, you still there?
19:49
alkisg: can't getltscfg get hostname from a reverse IP lookup instead?
19:49
because if I set static IP, in isc-dhcp I have to put "host hostname" that is superseeded by the one in /etc/hosts
19:50
<alkisg>
markit: no, not all people have all their clients declared into dns
19:50
<markit>
this way I can have a hostname there that is different than the other in /etc/hosts
19:50
alkisg: isn't populate /etc/hosts mandatory?
19:50
<alkisg>
Are you talking about /etc/hostname?
19:50
<markit>
(with ip ltspxyz)
19:50
<alkisg>
No, /etc/hosts doesn't contain any ltspxyz declarations by default
19:50
<Enslaver>
why not in-addr.arpa for reverse hostnames?
19:51
<markit>
no, server /etc/hosts, I've a script that loops and populates with ipxyz - ltspxyz
19:51
<alkisg>
You have such a script, others don't
19:51
And even if you do, that doesn't mean that you have a dns server installed
19:51
<markit>
alkisg: I know is not there by default, but I thought was NECESSARY to have things works smootly
19:51
<alkisg>
That answers client requests
19:51
<markit>
true
19:52
<alkisg>
It's not necessary to have a dns server, no
19:52
<markit>
ok, and is it necessary to have /etc/hosts with IP - ltsxyz?
19:52
<vagrantc>
markit: that was recommended with old versions of LTSP
19:52
<markit>
AH, thanks vagrantc
19:52
and is not needed anymore? I mean "works more or less" or "works really fine" without them?
19:52
<vagrantc>
i.e. before 2006?
19:53
markit: i don't use them at all...
19:53
<markit>
vagrantc: lol, I started ltsp experiments a long long time ago
19:53
but is just with my envolvement with schools that I've real installations
19:53
<alkisg>
Anyways that's server-side, while getltscfg is client side
19:53
<Enslaver>
(ldmgtkgreet:21703): Gtk-CRITICAL **: gtk_box_pack: assertion `child->parent == NULL' failed
19:53
<markit>
(so 2 years ago)
19:53
<Enslaver>
still getting that :/
19:54
<markit>
alkisg: yes, was not to argue with you, but I want to reduce "critical point" and feared /etc/hosts and dhcp hostname being out of sync
19:54
vagrantc: so without /etc/host being populated, where does ltsp take the hostname to be "injected" in client /etc/hosts?
19:55* alkisg would like all of that to just go in lts.conf, and to have an "ltsp-apply-lts-conf" script that generates all other configuration, like dhcp, pxelinux and the rest
19:55
<markit>
(/etc/hsots on the server)
19:55
alkisg: that would be great indeed
19:55
<alkisg>
markit: from dhcp, or from dns, or from lts.conf, or from the IP
19:55
<vagrantc>
markit: it generates it based on ip address or mac address
19:56
and what alkisg said
19:56
<alkisg>
So if the ip is 1.2.3.4, the hostname would be ltsp4
19:56
<markit>
ah, so "ltsp" part is a prefix in the code?
19:56
<alkisg>
Yeah, HOSTNAME_BASE or something
19:56
<vagrantc>
it doesn't matter for most things...
19:56
<markit>
I see, thanks a lot
19:56
ok, let's change chroot
19:57* vagrantc always uses mac address in lts.conf
19:57
<vagrantc>
it's the only thing that's not likely to change
19:57Parker955_Away is now known as Parker955
19:57
<alkisg>
markit: yeah why don't you put the hostname in lts.conf instead of in dhcp?
19:57
[mac:address]
19:57
HOSTNAME=xxx
19:58
<markit>
isn't static IP in isc-dhcp needing a host hostname {} section?
19:58
<alkisg>
Ah you need a static IP as well? Why so?
19:59
<markit>
alkisg: to be sincere, is not me but the "friend" I'm helping... he wants to have "fix" clients, PC number 1 will have autologin with user1 etc
19:59
<alkisg>
Sure, we do that here too
19:59
With the router giving dynamic IP addresses
19:59
And lts.conf sends the hostnames, LDM_USERNAME etc etc
20:00
Why would he need static IP addresses for that?
20:00
<markit>
yep, maybe much smarter, probably is my misunderstanding of the /etc/hosts stuff that put me on the wrong track
20:00
s/maybe/for sure
20:00* vagrantc uses group { host foo { hardware ethernet mac:add:ress; }; }
20:00
<vagrantc>
in dhcpd.conf
20:01
if you needed to ssh to the client that user1 is on, you might want static ips
20:01
<markit>
vagrantc: do you mind give me a pastebin example of your settings? I'm not a isc-dhcp guru
20:04
<vagrantc>
markit: slightly edited, but it should show some of the concepts: http://paste.debian.net/233195/
20:05* alkisg stopped using ssh to the clients since epoptes' "open terminal" function was implemented...
20:05* vagrantc cheers
20:05
<vagrantc>
alkisg: speaking of which, how's 0.5.6-1 holding up?
20:06
<alkisg>
It's fine, no major problems, although Phantomas is preparing a new one with many goodies there :)
20:06
<vagrantc>
i haven't been testing it in wheezy recently.
20:06
<Enslaver>
Crap i found the code, its in LDM, it's not gonna work for me in x86_64 :(
20:07
<vagrantc>
Enslaver: what's different with your x86_64 and Debian's (other than Debian calls it amd64)?
20:07
Enslaver: and we do have a few connections with ldm upstream... :)
20:07
<Enslaver>
i noticed, the LDM package is actually checking for the K12LINUX flag to be set
20:08
I'm about to compile it with that flag enabled, wonder if that will make it worse or better
20:08
<vagrantc>
oh, i think that's for the theme?
20:08
<Enslaver>
yeah it looks like it, but the theme is broken as well
20:09
But that would make sense that was the issue, i have no C coding experience
20:09
<vagrantc>
wonder if you can use the standard themeing
20:09
<Enslaver>
so i never bothered to look at ldm
20:09
Thats what I did, i actually even took the LTSP logo from the website
20:09
<vagrantc>
i.e. there's something that's triggering the K12LINUX theme stuff, but incompletely
20:09
<markit>
thanks vagrantc
20:10
<Enslaver>
Maybe incompletely but it looks like some of it may be needed or not needed, not sure.
20:10
It appears as though he's calling gtk_box_pack too early in his method
20:10* vagrantc thought forking the theme implementation within the code was a bad idea
20:11
<alkisg>
How heavier would it be to just use pygtk + glade? :/
20:11
<markit>
vagrantc: btw, even with your setup you have to set a hostname, wondering why is it needed and is not possible to provide just an IP
20:11
(usually hostname is ignored by the host that is a dhcp client and keeps it's own hostname)
20:11
<vagrantc>
alkisg: it added several seconds to boot times back before we switched
20:12
markit: there's the "host" entry, but it's not a "hostname" per se.
20:12
markit: it's just dhcp syntax
20:12
<Enslaver>
line 852 greeter.c
20:12
<markit>
wondering if is the hostname the new alkisg code will get, or I have to use differen parameter
20:13
<alkisg>
Several seconds... that doesn't sound right... :(
20:14
<Enslaver>
vagrantc: There any way possible to turn on more debug info from ldm?
20:15
i've used evilwm a long time ago and this code looks similar
20:23
<markit>
ok, chroot rebuild (sigh, slow VM)
20:24
<vagrantc>
Enslaver: there's an LDM_DEBUG=true environment variable... dunno if it spits out anything useful.
20:25
<Enslaver>
I've got that set but doesn't help much, I was thinking more along the lines of something in the C code #DEBUG flags or something
20:27
<markit>
alkisg: does not work
20:28
<alkisg>
markit: can you pastebin /var/run/ltsp/net-eth0.conf from the client?
20:28
(or somewhere nearby...)
20:28
<markit>
ok
20:29
<Enslaver>
well, it didn't compile with K12LINUX flag set ::(
20:29
<markit>
alkisg: just to be sure, my 01-getltscfg is http://pastebin.com/twzF2JQV
20:30
<alkisg>
Right
20:30
markit: instead of rebuilding, you can test stuff with ltsp.break=01-clean-cache in the kernel command line, and then use vi to edit the file you want to test
20:30
(or use scp to copy a newer version, or wget, whatever)
20:31
<markit>
I've no /var/run/ltsp/net-eth0.conf in the client
20:31Phantomas1 has joined IRC (Phantomas1!~Phantomas@ubuntu/member/phantomas)
20:31
<markit>
only ltsp-xorg.conf or something like that
20:31Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Ping timeout: 252 seconds)
20:32
<alkisg>
markit: find /run -name 'net*.conf'
20:32Phantomas1 is now known as Phantomas
20:33
<markit>
nothing
20:34
<alkisg>
Strange, let me check mine...
20:34
/var/cache/ltsp/net-*.conf /run/net-*.conf
20:34
Those are the possible places where we check for net-eth0.conf
20:34
markit: check in /var/cache/ltsp
20:35
<markit>
there, hostname is ''
20:35
so probably I don't know how pass hostname with isc-dhcp
20:36
<alkisg>
Right
20:36
Or the client doesn't request it
20:36
<Enslaver>
So ldminfod runs on the server correct?
20:37
<markit>
maybe "option host-name "xyx"" but last time I tried it, client was unable to boot
20:37
stopping at "battery checking" and flashing video black
20:37
let's try again
20:39
<alkisg>
markit: http://prefetch.net/blog/index.php/2009/07/14/how-the-isc-dhcp-server-derives-host-names/
20:39
It says there that dhcp server will check dns for the hostname
20:39
Or you can declare it in dhcpd.conf
20:40
use-host-decl-names on;
20:40
It says you need that, for the hostname defined in the header "host thecrue {" to take effect
20:40
<markit>
alkisg: works fine now!
20:40
<alkisg>
Cool
20:41
<markit>
btw, I tried this afternoon, since my friend had some problems, with
20:41
option host-name "ltsp101.mydomain.it";
20:41
and was not booting fine, as I stated some lines above
20:41
I'll do some further test, but now that I know that /etc/hosts are not needed, I will review my config and suggest him a lts.conf aproach
20:42
thanks a lot once more
20:42
<alkisg>
markit: so those changes fix the bug you reported?
20:43
<markit>
well, to be sincere should try the new isc-dhcp setting and the old ltsp code
20:43
<alkisg>
You can quickly test that with ltsp.break=01-clean-cache
20:43
<markit>
alkisg: could you explain me more about that? what/where kernel parameter?
20:43
<alkisg>
Then run vi /usr/share/ltsp/ltsp_config.d/01-getltscfg
20:44
pxelinux.cfg/default
20:44
Replace "quiet splash" with that
20:44
It'll give you a shell very early in the boot process
20:45
<markit>
ltsp is such a wide world... I feel lost and always newbie sigh
20:49
<Enslaver>
I know, what happened to good ole' fashioned stateless linux clients running xdmcp
20:49
<markit>
works fine with old settings too
20:50
if we are sure that ltsp.break=01-clean-cache is taking them
20:50
(how can it work, since ndb image is the old one?)
20:51
<alkisg>
Err I lost you, why is that the old nbd image?
20:52
Btw, you can easily revert to the old image with sudo ltsp-update-image -r
20:52
<markit>
I mean, I put your changes, then rebuild the NBD image
20:52
then I edited the file, added ltsp.break=01-clean-cache to the other
20:53
and NOT rebuild NBD image
20:53
so how can it be that NBD (the old content) is used but new /usr/share/ltsp/ltsp_config.d/01-getltscfg is read?
20:53
<alkisg>
That break command should have given you a shell while the client boots
20:53
Did you get a shell?
20:54
<markit>
I'm in the desktop directly, maybe LDM_DEBUG_TERMINAL=True interferes?
20:54
<alkisg>
cat /proc/cmdline
20:54komunista has left IRC (komunista!~slavko@adsl-195-168-244-224.dynamic.nextra.sk, Quit: Leaving.)
20:54
<alkisg>
Is ltsp.break there?
20:55
<markit>
no, still quiet splash :(
20:55
<alkisg>
OK anyway forget all that
20:55
<markit>
emacs /opt/ltsp/i386/boot/pxelinux.cfg/default
20:55
<alkisg>
Just run sudo ltsp-update-image -r
20:55
<markit>
append ro initrd=initrd.img root=/dev/nbd0 init=/sbin/init-ltsp ltsp.break=01-clean-cache plymouth:force-splash vt.handoff=7
20:55
<alkisg>
No, you should have changed /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default instead
20:55
But never mind
20:56
Just run the ltsp-update-image -r command
20:56
<markit>
ops, big mistake so sorry, OK
20:57
mm that command is rebuilding the image
20:57
<alkisg>
With -r?!
20:57
<markit>
root@gs1204:~# ltsp-update-image -r
20:57
<alkisg>
That was supposed to `revert` to the .old image...
20:57
<markit>
Parallel mksquashfs: Using 4 processors
20:58
<alkisg>
ls -lha /opt/ltsp/images ?
20:58
<markit>
i386.img i386.img.old i386.img.tmp
20:58
-rw-r--r-- 1 root root 1,4G gen 4 23:00 i386.img.old
20:58
-rw-r--r-- 1 root root 1,4G feb 10 21:19 i386.img
20:59
<alkisg>
Meh I don't know what went wrong there, it was supposed to just rename .old to .img
21:01
<markit>
if LTSP will survive to me, will be "idiot proof" ;P
21:04vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)
21:05jammcq has joined IRC (jammcq!~jam@c-69-245-75-255.hsd1.mi.comcast.net)
21:07
<markit>
btw, in lts.conf, I can assign whatever hostname I want to a certain mac address, or the "ltsp" prefix is important? My friend wants something like "fat01"
21:07
and also if I remove ip - ltspXYZ from /etc/hosts, I can't reach them by hostname, any drawback?
21:08
<alkisg>
Any hostname, yeah
21:09
For fat clients, you can reach them by ltsp123.local
21:09
Drawbacks, other than that, is that reverse dns lookups won't work and might delay some tasks
21:09
'night all
21:10alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
21:20staffencasa has joined IRC (staffencasa!~staffenca@8-220.ptpg.oregonstate.edu)
21:25vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)
21:36SmallR2002 has left IRC (SmallR2002!~quassel@c-98-253-173-240.hsd1.il.comcast.net, Ping timeout: 246 seconds)
21:42bobby_C has left IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at, Ping timeout: 245 seconds)
21:43
<vagrantc>
is GMT+1 the same as UTC+1 this time of year?
21:44* vagrantc notes that GMT is potentially affected by daylight savings time...
21:44
<jammcq>
ummm
21:49
<vagrantc>
GMT has been deprecated for decades ...
21:49
but it has a certain staying power in people's minds
21:50
just trying to make sure i have the time right for tomorrow's meeting
21:50
<jammcq>
heh
21:51
according to a friend of mine (mfdutra) who knows time stuff really well, he says that GMT+1 and UTC+1 are always equal
21:51
<vagrantc>
i can easily find out times using "date --utc"
21:51
<jammcq>
any time of year
21:52
<Phantomas>
I think so too. (GMT and UTC are the same thing, practically)
21:55
"Saying "GMT" often implies either UTC or UT1 when used within informal or casual contexts. In technical contexts, usage of "GMT" is avoided; the unambiguous terminology "UTC" or "UT1" is preferred"
21:55
http://en.wikipedia.org/wiki/Coordinated_Universal_Time
21:55
Yep, they are the same thing :)
22:00
<vagrantc>
except for people from the uk who think they use GMT
22:07
<stgraber>
right, people often confuse BST and GMT in the UK, but that's their fault ;)
22:21* vagrantc prefers the unambigous UTC
22:22
<jammcq>
I kinda like UTC-5
22:34JuJuBee has joined IRC (JuJuBee!~mike_knic@24.105.231.111)
23:10
<markit>
hi Phantomas :)
23:12
<Phantomas>
hey markit
23:13
Did you find anything regarding xterm/screen, did you talk with alkisg?
23:17
<markit>
Phantomas: for epoptes assistance?
23:17
<Phantomas>
markit: yes
23:17
<markit>
I filed a bug
23:18
works only if you run epoptes UI from terminal
23:18
otherwise $TERRM variable is undefined, or something like that
23:18
so does not work
23:18
I'm struggling with boot problems instead, but I remember you don't use ltsp yourself, lol
23:19
<Phantomas>
I use it for testing epoptes :p
23:19
<markit>
anyone knows why if I edit /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default and I remove "nosplash" still at boot I have that graphical "ubuntu" splash?
23:19
mmm
23:20
it's restored from somewhere
23:20
and plymouth:force-splash could be a problem too
23:21
Phantomas: doint tests when you are tired is a suicide, you end up running in circle for hours
23:33JuJuBee has left IRC (JuJuBee!~mike_knic@24.105.231.111)