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


Channel log from 17 January 2013   (all times are UTC)

00:10dead_inside has left IRC (dead_inside!~dead_insi@76.75.3.174, Quit: Computer has gone to sleep.)
00:57risca has left IRC (risca!~risca@m83-180-193-3.cust.tele2.se, Ping timeout: 256 seconds)
01:00Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
01:32vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)
01:32adrianorg has joined IRC (adrianorg!~adrianorg@177.156.231.175)
01:34hays has left IRC (hays!~quassel@unaffiliated/hays, Quit: No Ping reply in 180 seconds.)
01:34hays has joined IRC (hays!~quassel@unaffiliated/hays)
01:49andygraybeal_ has joined IRC (andygraybeal_!~andy@h117.195.213.151.dynamic.ip.windstream.net)
02:05andygraybeal_ has left IRC (andygraybeal_!~andy@h117.195.213.151.dynamic.ip.windstream.net, Ping timeout: 276 seconds)
02:35|Paradox| has left IRC (|Paradox|!~iamparado@c-71-206-132-62.hsd1.va.comcast.net, Read error: Connection reset by peer)
02:35|Paradox| has joined IRC (|Paradox|!~iamparado@c-71-206-132-62.hsd1.va.comcast.net)
02:52adrianorg has left IRC (adrianorg!~adrianorg@177.156.231.175, Ping timeout: 244 seconds)
03:55Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Ping timeout: 244 seconds)
04:19Parker955 is now known as Parker955_Away
05:20cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Ping timeout: 276 seconds)
05:20cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg)
05:25cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Excess Flood)
05:26cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg)
05:30work_alkisg has joined IRC (work_alkisg!~alkisg@plinet.ioa.sch.gr)
05:34mgariepy has left IRC (mgariepy!mgariepy@ubuntu/member/mgariepy, Ping timeout: 245 seconds)
06:14work_alkisg is now known as alkisg
06:22vmlintu has joined IRC (vmlintu!~vmlintu@nblzone-240-143.nblnetworks.fi)
06:32bauerski has joined IRC (bauerski!~witekb@frodo.psp.opole.pl)
06:49
<knipwim>
otwieracz: can you do a date +%s on a running client?
07:01hays has left IRC (hays!~quassel@unaffiliated/hays, Read error: Connection reset by peer)
07:02hays has joined IRC (hays!~quassel@unaffiliated/hays)
07:05
<knipwim>
otwieracz: reading on google it might be timezone issue
07:06
anyhow, i won't be behind a computer all day
07:09risca has joined IRC (risca!~risca@m83-185-184-17.cust.tele2.se)
07:54sep has joined IRC (sep!~sep@40.211.jostedal.no)
08:01alkisg is now known as work_alkisg
08:05meamy has joined IRC (meamy!~hannes@pd95cdee4.dip0.t-ipconnect.de)
08:07meamy has left IRC (meamy!~hannes@pd95cdee4.dip0.t-ipconnect.de, Client Quit)
08:36meamy has joined IRC (meamy!~hannes@pd95cdee4.dip0.t-ipconnect.de)
08:53
<meamy>
good morning is there some where a up to date list of all values that a supported by the ltsp.conf file? for example is the Value LTSP_FATCLIENT=false still supported found it in an blog article from 2010
08:53
?
08:58
<otwieracz>
knipwim: date +%s
08:58
1358416682
09:06komunista has joined IRC (komunista!~slavko@adsl-195-168-235-217.dynamic.nextra.sk)
09:09vmlintu has left IRC (vmlintu!~vmlintu@nblzone-240-143.nblnetworks.fi, Ping timeout: 276 seconds)
09:44warren has left IRC (warren!~warren@fedora/wombat/warren)
09:48vmlintu has joined IRC (vmlintu!~vmlintu@cs180030.pp.htv.fi)
09:51Gremble has joined IRC (Gremble!~Ben@cpc29-aztw23-2-0-cust144.18-1.cable.virginmedia.com)
10:00yalu_ has joined IRC (yalu_!~yalu@91.180.91.107)
10:02yalu has left IRC (yalu!~yalu@91.180.93.68, Ping timeout: 240 seconds)
10:15komunista has left IRC (komunista!~slavko@adsl-195-168-235-217.dynamic.nextra.sk, Ping timeout: 255 seconds)
10:25dobber has joined IRC (dobber!~dobber@213.169.45.222)
10:26gvy has joined IRC (gvy!~mike@altlinux/developer/mike)
10:28sep has left IRC (sep!~sep@40.211.jostedal.no, Read error: No route to host)
10:30
<otwieracz>
How can I change LDM language?
10:31
ldm is accessing /usr/share/locale/en_US.UTF-8 while starting.
10:31
I want en_GB.
10:42sep has joined IRC (sep!~sep@40.211.jostedal.no)
10:51
<otwieracz>
knipwim:
10:52
http://wklej.org/id/927972/
10:52
ldm &> log
11:00komunista has joined IRC (komunista!~slavko@adsl-195-168-235-217.dynamic.nextra.sk)
11:05
<Hyperbyte>
otwieracz, are you sure there's actual difference between en_US and en_GB in LDM?
11:06
<otwieracz>
Dunno – but when doing strace I saw that LDM was unable to open en_US versions.
11:06
But I've set LANG to en_GB and it still segfaults.
11:07
<Hyperbyte>
You can set LDM_LANGUAGE in lts.conf
11:07
If you do it at the console, set LANG, LANGUAGE and LC_ALL
11:09
otwieracz, it looks like some problem with the X server though..
11:09
Have you checked /var/log/ldm.log?
11:12
<otwieracz>
nothing interesting
11:28adrianorg has joined IRC (adrianorg!~adrianorg@177.156.57.226)
11:31adrianorg_ has joined IRC (adrianorg_!~adrianorg@177.156.228.238)
11:34adrianorg has left IRC (adrianorg!~adrianorg@177.156.57.226, Ping timeout: 256 seconds)
11:41Gremble has left IRC (Gremble!~Ben@cpc29-aztw23-2-0-cust144.18-1.cable.virginmedia.com, Quit: I Leave)
11:58JuJuBee has joined IRC (JuJuBee!~mike_knic@24-148-112-102.ip.mhcable.com)
12:00
<JuJuBee>
Hyperbyte: I am back in my classroom whenever you get a free moment.
12:02komunista has left IRC (komunista!~slavko@adsl-195-168-235-217.dynamic.nextra.sk, Quit: Leaving.)
12:03komunista has joined IRC (komunista!~slavko@adsl-195-168-235-217.dynamic.nextra.sk)
12:19Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
12:35
<Hyperbyte>
JuJuBee, hi!
12:35
I'm pretty busy right now
12:35
<JuJuBee>
np
12:35
<Hyperbyte>
But feel free to PM me logins details again to start, and describe your current problem here in the channel
12:36
<JuJuBee>
Hyperbyte: same problem as before, on boot, getting dropped into busybox.
12:40Gremble has joined IRC (Gremble!~Ben@cpc29-aztw23-2-0-cust144.18-1.cable.virginmedia.com)
12:47komunista has left IRC (komunista!~slavko@adsl-195-168-235-217.dynamic.nextra.sk, Read error: Operation timed out)
13:08jammcq has left IRC (jammcq!~jam@c-98-209-67-190.hsd1.mi.comcast.net, Quit: leaving)
13:11
<JuJuBee>
My client is booting to busybox, here is a pic of the end of boot process... http://picpaste.com/pics/2013-01-17_07-47-21_41-RYFwrDhw.1358427034.jpg
13:12
I tried restarting nbd-server manually and booting client, but same problem
13:14
<Hyperbyte>
Okay, hi :)
13:19* Hyperbyte pokes JuJuBee
13:20[GuS] has joined IRC ([GuS]!~MysT@unaffiliated/gus/x-663402)
13:23
<Hyperbyte>
!quiet-splash
13:23
<ltsp>
quiet-splash: to disable the splash screen in Ubuntu, in order to see any boot error messages, run sudo gedit /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default and remove quiet splash plymouth:force-splash vt.handoff=7
13:25mgariepy has joined IRC (mgariepy!mgariepy@ubuntu/member/mgariepy)
13:25
<Hyperbyte>
Question for developers: in 12.04, there is an nbdroot argument in the /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default file
13:26
With 12.10 this nbdroot argument isn't there. How does the client know which NBD image it should mount?
13:34bobby_C has joined IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at)
13:36meamy has left IRC (meamy!~hannes@pd95cdee4.dip0.t-ipconnect.de, Quit: meamy)
13:48markit has joined IRC (markit!~marco@151.78.74.112)
13:49meamy has joined IRC (meamy!~hannes@pd95cdee4.dip0.t-ipconnect.de)
14:09dead_inside has joined IRC (dead_inside!~dead_insi@76.75.3.174)
14:10|Paradox| has left IRC (|Paradox|!~iamparado@c-71-206-132-62.hsd1.va.comcast.net, Ping timeout: 240 seconds)
14:11bauerski has left IRC (bauerski!~witekb@frodo.psp.opole.pl, Quit: Leaving.)
14:14alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
14:17
<alkisg>
Hyperbyte: previously we were using ltsp-specific scripts to parse the kernel command line
14:17
In 12.04+ we switched to letting nbd handle them itself
14:17
(I did sent some patches in nbd for better parsing though)
14:17
So, to define a different nbdroot, you use the nbd syntax
14:18
Let me give you links to the file + the bug report...
14:18
<Hyperbyte>
:)
14:18
<alkisg>
Hyperbyte: script: /usr/share/initramfs-tools/scripts/local-top/nbd
14:19
<Hyperbyte>
But how does this script know whether to pick ltsp_i386 or ltsp_amd64?
14:20
If I have two chroots, and it's not specified in pxelinux.cfg/default
14:22
<alkisg>
Hyperbyte: that's via ROOTPATH
14:22
That's an additional change
14:22
$ head -n 1 /etc/nbd-server/conf.d/ltsp_i386.conf
14:22
[/opt/ltsp/i386]
14:23
And, your dhcpd sends /opt/ltsp/i386 as the rootpath
14:23
<Hyperbyte>
Ah
14:23
<alkisg>
I did that so that it works with either nfs or nbd
14:23
<Hyperbyte>
That's pretty clever. :)
14:23
Here I was thinking the root-path option is only for nfs :)
14:23
<alkisg>
And that way you can point different clients to different chroots without modifying pxelinux.cfg/default
14:24
That's one of the nbd patches I sent ;)
14:24
https://bugs.launchpad.net/ubuntu/+source/nbd/+bug/593227
14:24
<Hyperbyte>
:-D
14:24
Nice work man. :)
14:25
<alkisg>
The problems with those changes is the upgrade path...
14:25
We need better scripts to update the configuration files
14:26
<Hyperbyte>
Fedora has a wiki page where they document all problems upgrading from version to version
14:26
I always check it when upgrading
14:26
Maybe this is an idea for the wiki
14:26
LTSP 5.3 (Ubuntu 12.04) -> LTSP 5.4 (Ubuntu 12.10)
14:26
<alkisg>
Nah... if we had the manpower for either the wiki or actual upgrade scripts, I'd go for the second one
14:26
<Hyperbyte>
- dhcp root-path is no longer only for NFS and must be specified
14:26
<alkisg>
It doesn't need to be specified
14:27
<Hyperbyte>
What I've just written I could place on the wiki
14:27
<alkisg>
If it isn't, our udhcpc script uses the current architecture there
14:27
<Hyperbyte>
I couldn't write your config update script
14:27
Plus, if you're using an external dhcp server (like me) you'd have been screwed. :)
14:27
<alkisg>
Sure, but you could test though
14:27
Why? It's client side
14:27
(udhcpc)
14:27
<Hyperbyte>
Wait now I'm confused.
14:27
<alkisg>
The client asks the dhcp server for the rootpath
14:28
<Hyperbyte>
Before the DHCP server didn't need to provide root-path if you were using NBD, right?
14:28
<alkisg>
And it's the same now too
14:28
Because client side, our udhcpc initramfs script,
14:28
...defaults to /opt/ltsp/<arch> for the rootpath
14:28
...if the dhcp server doesn't send one
14:29
So the upstream nbd script always gets a rootpath
14:29
<Hyperbyte>
mmm
14:29
Well, again, clever. :)
14:29
So which configuration files would need updating?
14:30
<alkisg>
That's a biiiiig question
14:30
The nbd configuration files, for one,
14:30
and some of the /etc/ltsp files as well
14:30
<Hyperbyte>
mhm
14:31
<alkisg>
Normally when I want to upgrade 12.04 to the greek schools ppa version (something like 12.10),
14:31
I purge ltsp, nbd etc, remove all configuration files and the tftp dir, and then reinstall the newer ltsp version :D
14:32
Btw, for example, I could write upgrade scripts there, if someone did the big work of testing + reporting exactly the bits that are wrong
14:32
That would be more helpful than a wiki page
14:33
Although some of the scripts are part of the ubuntu packaging (while they should better be upstream ones), and it would need some collaboration with stgraber
14:33
<Hyperbyte>
Right.
14:43|Paradox| has joined IRC (|Paradox|!~iamparado@c-71-206-132-62.hsd1.va.comcast.net)
14:45dievel has joined IRC (dievel!~diabo@2-229-104-66.ip196.fastwebnet.it)
14:49Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
14:49
<dievel>
Hi, I have a strange behavior in Epoptes in LTSP environment. I'm testing two clients and I run Epoptes from the server console. Both the client have the same name. If I add one client to a group, both are added. The other features instead works, like screen sharing and so on. What am I missing? :) Thanks!
15:03otwierac1 has joined IRC (otwierac1!~gonet9@v6.gen2.org)
15:04gothaggis|limbo has joined IRC (gothaggis|limbo!~gothaggis@corp.heavyhammer.com)
15:07lotharn has left IRC (lotharn!~kvirc@24.154.55.32, *.net *.split)
15:07gothaggis has left IRC (gothaggis!~gothaggis@corp.heavyhammer.com, *.net *.split)
15:07otwieracz has left IRC (otwieracz!~gonet9@v6.gen2.org, *.net *.split)
15:07otwierac1 is now known as otwieracz
15:07dead_inside has left IRC (dead_inside!~dead_insi@76.75.3.174, Ping timeout: 255 seconds)
15:10lotharn has joined IRC (lotharn!~taco@24.154.55.32)
15:12lotharn has joined IRC (lotharn!~taco@24.154.55.32)
15:12dead_inside has joined IRC (dead_inside!~dead_insi@76.75.3.174)
15:42dievel has left IRC (dievel!~diabo@2-229-104-66.ip196.fastwebnet.it, Remote host closed the connection)
15:48
<lotharn>
?
15:50diabo has joined IRC (diabo!~diabo@2-229-104-66.ip196.fastwebnet.it)
15:51diabo is now known as dievel
15:51
<JuJuBee>
My ltsp server is an NIS client on my LAN. I used nfs to mount /home on the ltsp server. my users can log into a ltsp client computer but their /home is not mounting properly . They get a message that "Transport endpoint is not connected"
15:57Gremble has left IRC (Gremble!~Ben@cpc29-aztw23-2-0-cust144.18-1.cable.virginmedia.com, Quit: I Leave)
16:11Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
16:16
<JuJuBee>
If I want my users to get their home dirs from server2 and authenticate with server 2 and I run ltsp on server 1 and dhcp on server 1, do I need to install nfs/nis in the chroot and update-image? or do I install these on server 1 and let ltsp handle this?
16:19
<markit>
dievel: probably because "...Both the client have the same name"
16:19
<Hyperbyte>
JuJuBee, you don't need NIS on the clients, because LTSP handles user-creation on login. So NIS isn't needed on the client, only on the server.
16:20
As for NFS, you could mount it on the server and then let the clients get it from there with sshfs, but that creates quite some overhead.
16:20
<JuJuBee>
That is how it is currently set, but I am getting weird behavior. When I log in using my net account, I get my documents etc... fine but when a student logs in, no such luck
16:20
<Hyperbyte>
You could add an fstab line to the client configuration. This is done with the FSTAB_0=... variable in lts.conf
16:21
<||cw>
JuJuBee: thin or thick clients?
16:21
<Hyperbyte>
JuJuBee, something like FSTAB_0=server:/home /home nfs defaults 0 0
16:21
<JuJuBee>
||cw: fat
16:21
<||cw>
ah
16:21
<JuJuBee>
Hyperbyte: on new server in fstab?
16:21
<Hyperbyte>
That adds lines to /etc/fstab on client boot.
16:22
<JuJuBee>
Hyperbyte: strange that my account works fine and it is not in sudoers group
16:22
<||cw>
hm. then the client needs NIS too, or else the UID's won't match up on the NFS
16:22
<Hyperbyte>
||cw, actually, LTSP takes care of that.
16:23
Where this is going wrong is with the groups.
16:23
LTSP will make sure the logged in user exists on the client, but it won't copy over all of the groups I think.
16:23risca has left IRC (risca!~risca@m83-185-184-17.cust.tele2.se, Quit: Lämnar)
16:24
<Hyperbyte>
So perhaps it's needed after all to configure both NIS and NFS in the chroot, yeah...
16:24
But if you're going to do that, you might as well just go the LDAP way while you're at it.
16:24
<JuJuBee>
Hyperbyte: so I should configure the chroot like I configured the regular clients in regards to nfs/nis?
16:25
<Hyperbyte>
JuJuBee, I *think* so... maybe ask alkisg, he's the LTSP Oracle.
16:27
<JuJuBee>
alkisg: any thoughts on my nfs/nis question?
16:33meamy has left IRC (meamy!~hannes@pd95cdee4.dip0.t-ipconnect.de, Quit: meamy)
16:33
<JuJuBee>
Hyperbyte: Since I will eventually merge the 2 servers, I think I will NOT do this as it will install unnecessary item in the image. I may just look into some way of synchronizing the data for the time being.
16:35adrianorg_ has left IRC (adrianorg_!~adrianorg@177.156.228.238, Read error: Connection reset by peer)
16:36
<Hyperbyte>
JuJuBee, do you have shared files between the users?
16:36
Or just their home dirs?
16:36
<JuJuBee>
no, just home dirs
16:38adrianorg_ has joined IRC (adrianorg_!~adrianorg@187.115.104.18)
16:39
<Hyperbyte>
Then you definitely don't need NIS.
16:39
Not on the clients, anyways.
16:39
And in the future, when you migrate all user accounts, not at all. :-)
16:40
You said when you log in, using your net account it works, and when a student logs in, it does not.
16:40
<JuJuBee>
Right, using NIS now so user accounts push to new server.
16:40
Correct
16:40
<Hyperbyte>
What is the difference between "your net account" and a student account, and what happens exactly when a student tries to log in?
16:40
<JuJuBee>
My users home dir is there when I log into client workstation. I open my home and see everything.
16:41
Student gets message about transport endpoint not connected and nothing in their home
16:41markit has left IRC (markit!~marco@151.78.74.112, Quit: Konversation terminated!)
16:44dobber has left IRC (dobber!~dobber@213.169.45.222, Remote host closed the connection)
16:47
<dievel>
markit: sorry :) I didn't explained. They take different names from DHCP but inside the epoptes console they take same name, even if they have the correct and different username in parenthesis. This is odd.
16:48
<Hyperbyte>
JuJuBee, what about my first question?
16:51dievel has left IRC (dievel!~diabo@2-229-104-66.ip196.fastwebnet.it, Quit: Leaving)
16:54Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Ping timeout: 244 seconds)
16:54adrianorg__ has joined IRC (adrianorg__!~adrianorg@177.156.57.29)
16:54Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
16:57adrianorg_ has left IRC (adrianorg_!~adrianorg@187.115.104.18, Ping timeout: 255 seconds)
17:08
<andygraybeal>
is there a way to send a message that will popup on the screen of another user? i pissed my g/f off and we're both logged into ltsp.. and i want to send her a little note.
17:10
like in windows there's some kind of 'net send' or 'net message' or something
17:13
and from the terminal too.. i remember sending messages with 'talk' and another daemon, i believe began with a z...
17:13
it's been forever ago
17:26
<alkisg>
andygraybeal: thin or fat clients?
17:26sep has left IRC (sep!~sep@40.211.jostedal.no, Ping timeout: 252 seconds)
17:28bobby_C has left IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at, Ping timeout: 256 seconds)
17:28Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Ping timeout: 256 seconds)
17:29[GuS] has left IRC ([GuS]!~MysT@unaffiliated/gus/x-663402, Ping timeout: 248 seconds)
17:31
<otwieracz>
knipwim: ping
17:37
<knipwim>
otwieracz: i don't have a clue on the error
17:38
<otwieracz>
:(
17:38
<knipwim>
when you move the file to another location and try to restart ldm?
17:38
<otwieracz>
Which file?
17:38
<knipwim>
the halt-check file
17:39
on the chroot in /usr/share/ldm/rc.d
17:39
<otwieracz>
I'll try.
17:45Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
17:50vagrantc has joined IRC (vagrantc!~vagrant@75-150-46-245-Oregon.hfc.comcastbusiness.net)
17:50vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)
17:53dead_inside has left IRC (dead_inside!~dead_insi@76.75.3.174, Quit: Computer has gone to sleep.)
17:53vmlintu has left IRC (vmlintu!~vmlintu@cs180030.pp.htv.fi, Ping timeout: 256 seconds)
17:56
<andygraybeal>
alkisg, thin clients
17:56
<alkisg>
andygraybeal: if you have root access, yeah you could
17:56
<andygraybeal>
awesome!
17:56
<otwieracz>
knipwim: No, it did not changed anything.
17:56
<alkisg>
andygraybeal: do you happen to have epoptes installed?
17:57dead_inside has joined IRC (dead_inside!~dead_insi@76.75.3.174)
17:57
<andygraybeal>
no, i haven't installed that yet. i still have the old one installed.
17:57
i dont' even use the old one, i just haven't removed it yet
17:57
but thank you alkisg!!! epotpes!!!
17:57
i look forward to getting it.
17:58
<alkisg>
andygraybeal: basically you `su - gf`, set DISPLAY, and then you can access her display
17:58
<andygraybeal>
ah interesting
17:58
<alkisg>
To find out her display you check /proc, something like that:
17:58
!xauthority
17:58
<ltsp>
xauthority: To access the thin client X display from ssh or from a local console, try: export $(tr '\0' '\n' < /proc/$(pgrep -nx 'ldm|kdm_greet|lxdm-greeter-gt|dbus-daemon')/environ | egrep '^DISPLAY=|^XAUTHORITY='
17:58
<alkisg>
where instead of "ldm|kdm..." you put one of her processes
17:59
<andygraybeal>
okay cool.
17:59
i'm copying this conversation
18:01
thank you
18:01
<alkisg>
np
18:03sep has joined IRC (sep!~sep@40.211.jostedal.no)
18:06Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Ping timeout: 272 seconds)
18:09
<knipwim>
otwieracz: ok, move the file back, reboot, and check the /var/log/Xorg.7.log on the running client
18:10
this look similar: http://en.usenet.digipedia.org/thread/19384/695/
18:10Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
18:13komunista has joined IRC (komunista!~slavko@adsl-195-168-235-217.dynamic.nextra.sk)
18:15jammcq has joined IRC (jammcq!~jam@c-98-209-67-190.hsd1.mi.comcast.net)
18:23
<otwieracz>
knipwim: http://wklej.org/id/928498/
18:25
<JuJuBee>
Hyperbyte: sorry, had to step out for a meeting. Which first question? My account is same as student account. However, after a reboot, it is not working either...
18:25
<Hyperbyte>
JuJuBee, I have to look at it later.
18:25
We have an LTSP meeting in five minutes in #ltsp-meeting. :)
18:26
<JuJuBee>
No worries. i am going to migrate the servers instead. Eliminates nis/nfs needs
18:27
<knipwim>
otwieracz: looks like an X problem
18:28
<otwieracz>
probably.
18:28
But xterm starts.
18:29
<knipwim>
otwieracz: have you asked in #gentoo? or #gentoo-desktop?
18:29
<otwieracz>
At #gentoo-pl, only.
18:30
<knipwim>
i'm doing the meeting as well
18:30
<alkisg>
otwieracz: what's the problem? xterm starts, and ldm doesn't? and it doesn't start if you run it from inside ldm either?
18:30
*inside xterm
18:30
<otwieracz>
Yep.
18:30
Then segfault.
18:31
Lemme check.
18:31
<alkisg>
What segfaults? ldm? gtkgreet? xorg?
18:32
<otwieracz>
Hm.
18:32
Probably xorg.
18:33
<alkisg>
And how do you start xterm? Manually, or with SCREEN_07=xterm?
18:33
<otwieracz>
No, ldm segfaults.
18:33
From dmesg:
18:33
ldm[PID]: segfault at 8 ip 0804c294 sp bfe02420 error 4 in ldm[804800+7000]
18:35
<alkisg>
OK, try launching ldm from inside that xterm
18:35
Also, when you use LDM_AUTOLOGIN, LDM_USERNAME and LDM_PASSWORD, ldm doesn't spawn the greeter but it directly starts the session, you might want to try that too.
18:35
<otwieracz>
Wait a second, please.
18:35
Im trying something.
18:54
<alkisg>
vagrantc: can you join #ltsp-meeting?
18:55
<otwieracz>
No, I've tried to downgrade sis drivers.
18:55
But they require xorg-server downgrade.
18:55
Which is not available in portage.
19:01danishman has joined IRC (danishman!~kvirc@62-243-156-218-static.dk.customer.tdc.net)
19:07
<otwieracz>
When I've started X in tty1
19:08
And then ltsp i tty2
19:08
Then there is no segfault until i switch to terminal with X running.
19:08
(tty7)
19:09
Immedietly after switch to this tty, segfault.
19:09
<alkisg>
Is one 16 bit and the other 24 bit?
19:09
Did you try launching ldm from the running xterm?
19:09
ETc
19:11
<otwieracz>
I've tried launching from xterm.
19:12
Same rsult.
19:13
still crashes from urxvt,
19:14gvy has left IRC (gvy!~mike@altlinux/developer/mike, Quit: Leaving)
19:18
<otwieracz>
i486 segfaults, also.
19:24sep has left IRC (sep!~sep@40.211.jostedal.no, Read error: No route to host)
19:34
<otwieracz>
what the fuck is wrong here :(
19:35
<alkisg>
Upload an strace of ldm somewhere
19:35
<otwieracz>
Segfault is:
19:36
#0 0x0804c2dd in listen_greeter ()
19:36
<alkisg>
otwieracz: so if you use LDM_AUTOLOGIN, it works fine?
19:36
<otwieracz>
No.
19:36
I've done:
19:36
export LDM_AUTOLOGIN
19:36
export LDM_USERNAME=otwieracz
19:36
export LDM_PASSWORD=mypass
19:36
ldm
19:37
*BANG*
19:37
<alkisg>
LDM_AUTOLOGIN=True
19:37
<otwieracz>
That's make a difference.
19:37PhoenixSTF has joined IRC (PhoenixSTF!~rudi@78.29.134.164)
19:37
<otwieracz>
Hm.
19:38
No segfault.
19:38
But ldm does not started.
19:39
there's something about "no Xsession" in strace.
19:39
And in log:
19:40
http:/wklej.org/id/928633/
19:40
http://wklej.org/id/928633/
19:41
<alkisg>
Try `export LDM_XSESSION=/usr/bin/xterm` just for testing
19:42
<otwieracz>
And nothing.
19:42
ldm is running.
19:42
Nothing on X
19:42
<alkisg>
You do have a DE installed on your server, right?
19:42
<otwieracz>
[ssh] CRITICAL: no response, restarting
19:43
alkisg: No.
19:43
<alkisg>
otwieracz: try: ssh username@server
19:44
Replace username, *don't* replace server
19:44
Check if you get a warning about keys etc
19:44
<otwieracz>
Got warning.
19:44
permnanently added
19:45
logged in successfully.
19:45
<alkisg>
OK, try again now with ldm
19:45
<otwieracz>
Same now.
19:47
<alkisg>
otwieracz: you do need a DE on the server for ltsp to work
19:47
The client session is on the server, unless you're using fat clients
19:48
<otwieracz>
*any* wm is not sufficient?
19:48
<alkisg>
What do you plan on running on the clients?
19:48
<otwieracz>
I need bloat like KDE or GNOME?
19:48
<alkisg>
Nope
19:48
<otwieracz>
alkisg: dwm
19:48
alkisg: Or something from plan9 from user space.
19:48
<alkisg>
That's a window manager, not a session though, right?
19:48
<otwieracz>
Right.
19:48
<alkisg>
You need a script that launches a session
19:49
It's best if it has an entry in /usr/share/xsessions
19:49
<otwieracz>
i'm sure it hadn't.
19:49
<alkisg>
You can set it with LDM_SESSION though even if it doesn't have it
19:50
<otwieracz>
How?
19:50
<alkisg>
From lts.conf, LDM_SESSION=your-session
19:50
<otwieracz>
What is “your-session”?
19:51
<alkisg>
LDM_SESSION=/usr/bin/xterm
19:51
Or, /home/username/bin/my-session-script
19:51
Or, /usr/local/bin/my-dwm-session
19:51
Those could be shell scripts that run programs
19:51
Like, #!/bin/sh
19:51
panel &
19:51
wm &
19:52
file-manager
19:56
<otwieracz>
But why no response, restarting?
19:56
<alkisg>
It's the same message for any error
19:57
"no trusting server? no response, restart"
19:57
"bad password? no response, restart"
19:57
<otwieracz>
uh.
19:57
How can I debug?
20:00
<alkisg>
First get a sane environment... open /usr/share/ltsp/screen.d/ldm,
20:00
and replace the last line with:
20:00
xinit $xinitrc /usr/bin/xterm -- ${DISPLAY} vt${TTY} -auth ${XAUTHORITY} ${X_ARGS} -br >/dev/null 2>&1
20:01
And from *that* xterm try launching ldm
20:01
Now by running ldm manually you might be missing environment variables
20:26ltspuser_87 has joined IRC (ltspuser_87!52abdebc@gateway/web/freenode/ip.82.171.222.188)
20:26
<ltspuser_87>
.
20:31danishman has left IRC (danishman!~kvirc@62-243-156-218-static.dk.customer.tdc.net, Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
20:32
<Hyperbyte>
.
20:32komunista has left IRC (komunista!~slavko@adsl-195-168-235-217.dynamic.nextra.sk, Ping timeout: 255 seconds)
20:35komunista has joined IRC (komunista!~slavko@adsl-195-168-235-217.dynamic.nextra.sk)
20:35
<otwieracz>
alkisg: xterm started.
20:36
And crash.
20:36dead_inside has left IRC (dead_inside!~dead_insi@76.75.3.174, Quit: Leaving...)
20:43
<otwieracz>
With AUTOLOGIN still critical no response blabla
20:44
<alkisg>
otwieracz: you have ssh keys problems, so after every boot you need to run the `ssh username@server` command once, manually
20:44
<otwieracz>
oh, typo in username…
20:44
<alkisg>
Once you solve the other problems, remember to do an ltsp-update-sshkeys
20:44
<otwieracz>
New info now.
20:46
I must change python version, wait a second please.
20:47
But I'm afraid that greeter will still fail.
20:47
Btw, currently;
20:47
http://wklej.org/id/928730/
20:47
Thats beucase of python3
20:49
<alkisg>
Wow, many errors there
20:50Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
20:50
<otwieracz>
python3 is default…
20:50
<alkisg>
Many *shell* errors too
20:50
What's /bin/sh in gentoo? Bash?
20:50
<otwieracz>
Yep.
20:51
Yes.
20:53
<knipwim>
python shouldn't give any issues
20:54
the chroot i created yesterday has python3.2 as default
20:55
<otwieracz>
python3.2 has differences in syntax.
20:55
<knipwim>
true, but it works on my install
20:55
<otwieracz>
So what's wrong with mine :(
20:56
<alkisg>
Doesn't the read-only NFS root cause problems?
20:56
Without aufs/tmpfs etc?
20:56
<otwieracz>
Some of /etc is tmpfs.
20:57
<alkisg>
With bind-mounts?
20:57
<otwieracz>
http://wklej.org/id/928741/
20:57
<alkisg>
Yup, bind mounts...
20:58
<knipwim>
those look allright
20:58
<otwieracz>
They are default…
20:58
<knipwim>
maybe it's not the setup, but the client hardware
21:00
<otwieracz>
But I've started ubuntu on it.
21:00
And it worked.
21:00
And here I have xterm.
21:06alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Ping timeout: 252 seconds)
21:10Enslaver has joined IRC (Enslaver!~Enslaver@adsl-70-241-84-25.dsl.hstntx.swbell.net)
21:10
<otwieracz>
If I've provided custom xorg.conf, where I can check if it was truly loaded?
21:15_JuJuBee has joined IRC (_JuJuBee!~yaaic@2600:1000:b000:9795::103)
21:17_JuJuBee has left IRC (_JuJuBee!~yaaic@2600:1000:b000:9795::103, Client Quit)
21:19jammcq has left IRC (jammcq!~jam@c-98-209-67-190.hsd1.mi.comcast.net, Ping timeout: 252 seconds)
21:25
<otwieracz>
Why the fuck Xorg is still using one from /usr/share/X11/xorg.conf.d
21:25
http://wklej.org/id/928776/
21:25
Why?
21:29
And finally working.
21:29
Sigh.
21:34
How can I specify LDM_SESSION for my suer?
21:34
How can I specify LDM_SESSION for my user?
21:37jammcq has joined IRC (jammcq!~jam@c-69-245-75-255.hsd1.mi.comcast.net)
21:40
<Hyperbyte>
Enslaver, so, are you on the worldmap yet? :-)
21:40
!worldmap
21:40
<ltsp>
worldmap: If you're using LTSP, please let the world know and share your story at http://www.ltsp.org/stories/ Your can add a nice pin to our world map at your location, plus your setup will count towards the global LTSP usage statistics.
21:41
<Enslaver>
Hmmm, no, I could write up something
21:41
<Hyperbyte>
:-D
21:42
t
21:45whyzzyrd has joined IRC (whyzzyrd!~grimreape@chon2-adsl.demon.co.uk)
21:45
<Enslaver>
Hi, i uze el tee ess pee and stuff
21:45
<whyzzyrd>
uuhuh
21:46
<otwieracz>
So, where I can set LDM_SESSION per user?
21:46
I want to start xterm after auth.
21:47
<whyzzyrd>
Evening, I've had a few goes at building with --fat-client. I've 2 questions. How do I make the cow filesystem be an nfs mount on the server?
21:47jammcq has left IRC (jammcq!~jam@c-69-245-75-255.hsd1.mi.comcast.net, Ping timeout: 252 seconds)
21:47jammcq has joined IRC (jammcq!~jam@c-69-245-75-255.hsd1.mi.comcast.net)
21:48
<Enslaver>
Make sure the directory is in your /etc/exports file with the proper permissions
21:48
<whyzzyrd>
will it mount it automagically if it's right?
21:49dead_inside has joined IRC (dead_inside!~dead_insi@76.75.3.174)
21:50
<whyzzyrd>
I believe the directory is correctly exported. I'll go take a look with tcpdump
21:52
<vagrantc>
otwieracz: ldm will save the session the user selected to ~/.dmrc
21:52
otwieracz: or you can manually create ~/.dmrc
21:53
<otwieracz>
Hmm.
21:53
So why now after login LDM crashes…
21:53
<vagrantc>
the server's /usr/share/xsessions/*.desktop is where it generates the options.
21:56
<otwieracz>
Where should I look for logs why after successfull auth X is exiting with status 0?
22:05
Still does not work :(
22:15
<Hyperbyte>
otwieracz, have you set a custom session in lts.conf?
22:16
<otwieracz>
euclid ~ # grep LDM_SESSION /tftpboot/ltsp/i686/lts.conf
22:16
LDM_SESSION="/usr/bin/urxvt"
22:18
And after auth X exit with status 0 and return back to LDM.
22:23komunista has left IRC (komunista!~slavko@adsl-195-168-235-217.dynamic.nextra.sk, Quit: Leaving.)
22:23
<Hyperbyte>
otwieracz, LDM_SESSION can be set to any value that exists in /usr/share/xsessions/ on the server
22:23
Like ubuntu-desktop or gnome-fallback or whatever.
22:23
If you want a custom script, you could create it there
22:24
<otwieracz>
ok
22:24
but
22:24
<Hyperbyte>
I have a machine where I've made a custom /usr/share/xsessions/myscript.desktop
22:24
<otwieracz>
„Failsafe xterm” also does not work.
22:24
<Hyperbyte>
But, according the documentation you could also use LDM_XSESSION to link directly to a custom script
22:24
otwieracz, do you need the failsafe xterm?
22:25
<otwieracz>
I want anything at this moment :)
22:30dead_inside has left IRC (dead_inside!~dead_insi@76.75.3.174, Quit: Computer has gone to sleep.)
22:30andygraybeal_ has joined IRC (andygraybeal_!~andy@h117.195.213.151.dynamic.ip.windstream.net)
22:36
<Hyperbyte>
otwieracz, wrong answer.
22:36
You should figure out what you want, which session, and then start troubleshooting that.
22:36
If you want a failsafe xterm you'll have to find someone else, because I have no experience with that. Never used it, not sure if/how it works.
22:37
<otwieracz>
Ok.
22:37
If I have to compile something on my own in chroot.
22:37
Where should I place it?
22:38
I've placed it in /root but when booting thin client I was getting errors „not enough free space”.
22:40
<Hyperbyte>
otwieracz, preferably, you compile it on an installation identical to the chroot, but not the chroot itself, you don't need all the devel packages in your chroot (or at least that's how I always do it)
22:40
I make a copy of the chroot, do the compiling, move everything over to the clean chroot, do the installation
22:40
<otwieracz>
I do not undestand.
22:40
<Hyperbyte>
Either way... you do this on your server, by typing "ltsp-chroot" to 'go' into the LTSP chroot and then you compile.
22:41
<otwieracz>
Yes.
22:41
That's how I done it.
22:41
But after that my thin client stopped booting.
22:41
<Hyperbyte>
So, restore your backup, make sure your clients work again, then retry.
22:42
<otwieracz>
Yes, my clients work again.
22:42
<Hyperbyte>
Okay... what did you compile?
22:43
<otwieracz>
plan9 from User Space.
22:43
http://swtch.com/plan9port/
22:43
<Hyperbyte>
Never heard of it
22:43
What you could do, is check carefully during make install what it does exactly, and then see which of those things breaks your chroot.
22:44
<otwieracz>
Hyperbyte: About 150MB in /root of my chroot broke my chroot.
22:47
Hyperbyte: Ideas why?
22:47
<Hyperbyte>
None whatsoever.
22:48
<otwieracz>
Thats weird.
22:48
Oh, thats simple.
22:48
/root is tmpfs
22:48andygraybeal_ has left IRC (andygraybeal_!~andy@h117.195.213.151.dynamic.ip.windstream.net, Ping timeout: 276 seconds)
22:49
<otwieracz>
So, ENOFREESPACE.
22:49ltspuser_87 has left IRC (ltspuser_87!52abdebc@gateway/web/freenode/ip.82.171.222.188, Ping timeout: 245 seconds)
22:58
<Hyperbyte>
otwieracz, you're not putting 150MB in /root of a RUNNING client, are you?
22:59
<otwieracz>
No, I'm putting it chroot.
22:59
On server.
23:01
Where I can, for example, set custom path?
23:01
$PATH
23:04
<Hyperbyte>
export PATH=...
23:04DIoX|DaZ has left IRC (DIoX|DaZ!~KaKa@server.civicclub.lt, Ping timeout: 260 seconds)
23:05
<Hyperbyte>
G'night
23:06DIoX|DaZ has joined IRC (DIoX|DaZ!~KaKa@server.civicclub.lt)
23:06
<otwieracz>
Hm.
23:06
I've created new in /usr/share/xsessions
23:06
But I can not choose this in LDM…
23:10andygraybeal_ has joined IRC (andygraybeal_!~andy@h117.195.213.151.dynamic.ip.windstream.net)
23:15andygraybeal_ has left IRC (andygraybeal_!~andy@h117.195.213.151.dynamic.ip.windstream.net, Ping timeout: 276 seconds)
23:30jammcq has left IRC (jammcq!~jam@c-69-245-75-255.hsd1.mi.comcast.net, Ping timeout: 272 seconds)
23:32jammcq has joined IRC (jammcq!~jam@c-69-245-75-255.hsd1.mi.comcast.net)
23:58Enslaver has left IRC (Enslaver!~Enslaver@adsl-70-241-84-25.dsl.hstntx.swbell.net, Quit: Leaving)