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


Channel log from 19 February 2011   (all times are UTC)

01:04sathis[A] has quit IRC
01:08alkisg has quit IRC
01:14sathis has joined #ltsp
01:28chupacabra has joined #ltsp
01:34chupacabra has quit IRC
01:35chupacabra has joined #ltsp
01:35cyberorg has quit IRC
01:43vishal has quit IRC
01:55komunista has joined #ltsp
01:57vagrantc has quit IRC
02:34cyberorg has joined #ltsp
03:09vmlintu has joined #ltsp
03:16vmlintu has quit IRC
04:10Kicer86 has joined #ltsp
04:17alkisg has joined #ltsp
04:36sathis has quit IRC
04:43sathis has joined #ltsp
05:06sathis has quit IRC
05:16Nubae has joined #ltsp
05:29Trixboxer has joined #ltsp
05:45Guest40503 has quit IRC
05:45Guest40503 has joined #ltsp
05:45Guest40503 is now known as ogra
06:13
<Hyperbyte>
I have to share some story with you guys. I'm not a big fan of writing personal stories in serious chatrooms like this, but it's just too hilarious.
06:14
I wanted to mess/experiment a little with our LTSP server here. So I thought I'd work a little on a saturday to get the chance to mess around without people working here.
06:15
So I'm sitting in my office here, on an empty floor, radio at the highest volume, singing along, etc...
06:15
<zamba>
after upgrading the tc server, i'm unable to boot any clients
06:15
get an error about forbidden directory
06:15
<Hyperbyte>
Suddenly someone in a very clean suit stands in my office doorway, looks very seriously at me... I turn down the radio and he says "How the hell did you get in here? Didn't you know we're doing asbestos removal today?!"
06:15
Heh.
06:15
<zamba>
when tftp-ing
06:16
<alkisg>
Heh
06:16
<Hyperbyte>
Turns out they forgot to close off the personell entry I always use... they haven't started yet though, he gave me 1 hour to finish my work and clear out.
06:16
<alkisg>
zamba: https://help.ubuntu.com/community/UbuntuLTSP/Troubleshooting/TFTP
06:18
<zamba>
yeah, got the bug with the files going to /srv/ instead
06:20
hm
06:20
but still no luck
06:20
access violation and forbidden directory
06:21
oh, nevermind.. /etc/default points to /srv
06:29
but still the same error
06:29
forbidden directory
06:30
happens also if i try tftp <host> -v -m binary -c get /ltsp/i386/pxelinux.0
06:32
<alkisg>
zamba: did you restart tftpd?
06:33
<zamba>
alkisg: several times
06:33
<alkisg>
How? not with inetd...
06:33
<zamba>
stop/start/restart tftpd-hpa
06:34
<alkisg>
Right
06:34
and /var/lib/tftpboot/ltsp/i386/pxelinux.0 is there and accessible by non-root users?
06:35
<zamba>
$ ls -l /var/lib/tftpboot/ltsp/i386/pxelinux.0
06:35
-rw-r--r-- 1 root root 14776 2011-02-19 11:57 /var/lib/tftpboot/ltsp/i386/pxelinux.0
06:35
i also tried putting a file called duh into /var/lib/tftpboot/, same problem there
06:35
Error code 2: Forbidden directory
06:36
ah!
06:36
there
06:36
had to include --secure
06:36
<alkisg>
Right
06:36
<zamba>
didn't have that option.. what does it mean?
06:36
<alkisg>
I wrote that in the wiki page too :D
06:36
It means to chroot in /var/lib/tftpboot before serving files
06:37
Otherwise you'd need to use `tftp /var/lib/tftpboot/file...`, the whole path
06:37
(but it does that for security, not just for the paths)
06:39
<zamba>
hm, ok.. i see
06:39
but still another problem here..
06:40
it just loads and loads
06:40
i've looked at the splash screen for several minutes now
06:42Hyperbyte has quit IRC
06:42Hyperbyte has joined #ltsp
06:44
<alkisg>
remove "quiet splash" from pxelinux.cfg/default
06:44
Or press [Esc]
06:44
<zamba>
way ahead of you :)
06:44
<alkisg>
And see what error messages there :)
06:44
<zamba>
found the error
06:44
dhcp problems
06:44
<alkisg>
nbd?
06:44
Right
06:45
<zamba>
my dhcpd has been acting up after the upgrade to squeeze
06:45
Feb 19 13:47:48 fused dhcpd: DHCPREQUEST for 192.168.1.222 (192.168.1.1) from 00:02:55:2b:29:6e via eth1: lease 192.168.1.222 unavailable.
06:45
Feb 19 13:47:48 fused dhcpd: DHCPNAK on 192.168.1.222 to 00:02:55:2b:29:6e via eth1
06:45
lots of these in the syslog
06:45
have no idea what's going on, really
06:46
maybe just wipe the dhcpd.lease file and restart the dhcpd?
06:46
<alkisg>
Do you have another dhcp server running ?
06:48
<zamba>
nope
06:51
<alkisg>
zamba: ah, what's your distro/version exactly again? squeeze server, and squeeze chroot?
06:53
<zamba>
alkisg: the main dhcp/router is debian squeeze
06:53
<alkisg>
And the chroot?
06:53
<zamba>
ubuntu
06:53
the tc server is also ubuntu
06:53
<alkisg>
Which ubuntu version?
06:53
<zamba>
lucid
06:54
<alkisg>
There's a bug in the lucid udhcpc client and in the ltsp_nbd script
06:54
<zamba>
oh?
06:54
btw.. xkblayout doesn't work
06:54
in lts.conf
06:55
<alkisg>
It doesn't send a clientid, so maybe the dhcp server thinks it's a different client each time
06:55
XKBLAYOUT=what?
06:56
<zamba>
no
07:08Appiah_ has joined #ltsp
07:10
<zamba>
is it possible to get automatic guest login?
07:10
meaning.. the tc logs on with the same username/password as the hostname of the tc?
07:11Appiah has quit IRC
07:12
<alkisg>
Sure, LDM_AUTOLOGIN=True
07:22
<zamba>
alkisg: that's what i got
07:23
alkisg: but i have to define LDM_USERNAME and LDM_PASSWORD for every machine
07:23
and another huge problem here.. the machine doesn't come back up after the screen has been blanked
07:23
<alkisg>
I think these default to the hostname
07:24
<zamba>
alkisg: ok, i'll try without specifying username and password
07:25
but as i said.. screensaver basically breaks the whole tc
07:26
it doesn't resume after that
07:26
and it's just a blank screen
07:26bobby_C has joined #ltsp
07:26
<zamba>
wonder if it's the screen locking
07:26
how can i disable that globally?
07:26komunista has quit IRC
07:57bobby_C has quit IRC
08:09
<zamba>
do i have to set enforced gconf settings in the chroot?
08:11bobby_C has joined #ltsp
08:12wwx_ has quit IRC
08:14sathis has joined #ltsp
08:16sathis has joined #ltsp
08:21
<alkisg>
zamba: no, not in the chroot, on the ltsp server
08:21
But screensaver for ltsp is just a blank screen
08:22
It shouldn't cause such problems
08:23
<zamba>
alkisg: the problem was the password prompt
08:23
alkisg: if i disabled that, everything worked
08:23
but i'm not able to set that mandatory
08:23
<alkisg>
Why?
08:23
With gconf-editor => mandatory editor
08:23
Or with gconftool-2
08:23
"set as mandatory" I think it's called in gconf-editor
08:25wwx_ has joined #ltsp
08:27sathis has quit IRC
08:28wwx_ has quit IRC
08:28sathis has joined #ltsp
08:28wwx_ has joined #ltsp
08:47
<zamba>
alkisg: i've tried that
08:47
alkisg: but the changes aren't set mandatory
08:47
of course.. :p
08:47
do i have to restart all gnome sessions for this to be activated?
08:47
<alkisg>
zamba: mandatory settings work well with gnome
08:48
Other users would need to log out + back in
08:48
If you did that correctly and it's not working, then maybe you set the wrong key?
08:50
<zamba>
i set /apps/gnome-power-manager/lock/blank_screen to false
08:50
when i open gconf-editor i see that that key is not writable
08:50
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Failed to connect to socket /tmp/dbus-WZ328a9sze: Connection refused)
08:50
hm
08:51
but i get that when i run gconf-editor as a regular user?
08:51
could that be related?
08:51
<alkisg>
zamba: cat /etc/gconf/gconf.xml.mandatory/%gconf-tree.xml
08:52
If the options are there, they are mandatory
08:52
If there's nothing there, it didn't work OK
08:52
<zamba>
http://pastebin.com/c2rB82zp
08:52
and that's NOT in the chroot, right?
08:52
but on the tc server itself
08:54
<alkisg>
It should be "/desktop/gnome/lockdown", not "/apps/gnome/lockdown"
09:13NeonLicht has quit IRC
09:15
<zamba>
alkisg: but that's not related.. but could that wrong key prevent the other settings from being loaded?
09:18
<alkisg>
zamba: the other settings are not enough
09:18
Reads the comments on gconf-editor about the keys you're setting
09:21NeonLicht has joined #ltsp
09:22ogra has quit IRC
09:22ogra has joined #ltsp
09:22ogra has joined #ltsp
09:28
<zamba>
Whether the screen is locked when the screen is turned off. Only used if lock_use_screensaver_settings is false.
09:28
you mean that?
09:29
can't find locl_use_screensaver_settings no where
09:29bobby_C has quit IRC
09:30
<zamba>
maybe it's lock_enabled under apps/gnome-screensaver/ i'm looking for?
09:32
nah, that should be enough
09:32
use_screensaver_settings isn't set
09:34ogra has quit IRC
09:34ogra has joined #ltsp
09:34ogra has joined #ltsp
09:48
<zamba>
how can i enable remot access to all tc?
09:48
i basically need a way t connect to them (oer vnc) to see what the users are doing
09:48
and help out with issues
10:03
<alkisg>
italc.sf.net
10:03
So basically `sudo apt-get install italc-master`, and a log off/log on for everyone
10:31bobby_C has joined #ltsp
11:50jhutchins has quit IRC
11:54jhutchins has joined #ltsp
11:55jhutchins has quit IRC
11:58jhutchins has joined #ltsp
12:01
<zamba>
alkisg: but what if i want to use remote desktop and vnc instead?
12:02
<alkisg>
zamba: well you can, but since all processes are on the server, you need to use different ports for each user
12:02
vino-server, the gnome vnc server, does that automatically afaik
12:02jhutchins has quit IRC
12:02
<alkisg>
So you can enable that. You'll need passwords of course, unless you want all students to be able to connect to others :)
12:03
<zamba>
alkisg: but i still have to connect through different ports?
12:03
<alkisg>
Another possibility is to install x11vnc to the chroot
12:03
zamba: yes
12:03
If you install x11vnc to the chroot, then no, you don't
12:03
<zamba>
ok, so it's basically a non-deterministic way of connecting to a particular desktop..?
12:03
yeah, that sounds like a better solution
12:03
<alkisg>
Well, you'd need a script for autodetection
12:03
italc has that embedded
12:04
I.e. it autodetects the client ports
12:04
<zamba>
yeah, but then i need the italc-master instance to connect to them.. and also that key management stuff
12:04
<alkisg>
Why, you have static IPs for your clients?
12:04
Aren't your IPs random too?
12:04
The key management is automatic
12:04
<zamba>
alkisg: well, i have dns names
12:04
<alkisg>
It's really, just one `apt-get install italc-master`
12:04
Nothing more at all.
12:05jhutchins has joined #ltsp
12:05
<alkisg>
You just need to be lucky for italc not to crash on you :)
12:05
<zamba>
and if i want to connect to one of the tcs from one random machine, then what?
12:05
with random machine i mean a machine that's not part of the tc environment
12:05
<alkisg>
ssh -X to the server and run italc?
12:05
<zamba>
ah
12:05
<alkisg>
Or transfer keys, whatever you prefer
12:06
Or fire up a vm thin client
12:06
<zamba>
i can more or less guarantee you that it won't work that nicely for me :)
12:06
<alkisg>
The automation part works just fine
12:06
<zamba>
how do i fire up a vm thin client?
12:06
<alkisg>
It's the italc networking backend which crashes for some labs
12:06
apt-get install virtualbox, create new client without disk, start client
12:06
Very easy
12:07
<zamba>
doesn't that mean that every user can launch italc and see all other machines?
12:07
<alkisg>
No, only members of the admin group have access to the private keys
12:07
<zamba>
ah, ok
12:08
another question.. is it possible to simulate/emulate a session for a random user?
12:08
remotely?
12:08
<alkisg>
I don't get it, how would that be different from a VM client?
12:10
<zamba>
i was thinking something like ssh -X to the server as a user and then launch a session.. like 'gnome-session' or whatever
12:11
<alkisg>
What about sending sound remotely with pulseaudio, ltspfs etc?
12:11
A VM client takes care of those too.
12:11
If you want to just have a session, you can use X -query
12:12
But that's not LTSP
12:24
<zamba>
i just need to check the mandatory gconf settings
12:25
to see if they actually has any effect
12:25
have*
12:29
any way i can set the next-server manually?
12:29
i'm in a different network now, so i can't boot off the same dhcp
12:31
<alkisg>
Just put it in a gpxe script
12:31
Use google translate on that message: http://users.sch.gr/alkisg/tosteki/index.php?topic=1451.msg24373#msg24373
12:55sathis has quit IRC
13:00xet7 has joined #ltsp
13:09sathis has joined #ltsp
13:23sathis has quit IRC
13:27sathis has joined #ltsp
14:02sathis[A] has joined #ltsp
14:05sathis has quit IRC
14:10sathis has joined #ltsp
14:12xet7 has quit IRC
14:12sathis[A] has quit IRC
14:25alexqwesa has quit IRC
14:37alkisg has quit IRC
14:39Kicer86 has quit IRC
14:50alexqwesa has joined #ltsp
14:58alexqwesa has quit IRC
14:58vagrantc has joined #ltsp
15:07alexqwesa has joined #ltsp
15:17sathis[A] has joined #ltsp
15:20sathis has quit IRC
16:14ogra has quit IRC
16:15ogra has joined #ltsp
16:15ogra is now known as Guest31833
16:46vagrantc has quit IRC
16:57sathis has joined #ltsp
16:58sathis[A] has quit IRC
16:59Trixboxer has quit IRC
17:19otavio has quit IRC
17:20otavio has joined #ltsp
17:20otavio has joined #ltsp
18:19alkisg has joined #ltsp
18:32vagrantc has joined #ltsp
19:38alkisg has quit IRC
19:40highvolt1ge is now known as highvoltage
19:40highvoltage has joined #ltsp
19:46_gentgeen_ has joined #ltsp
20:45F-GT has quit IRC
21:02F-GT has joined #ltsp
21:40sathis[A] has joined #ltsp
21:41sathis has quit IRC
21:52sathis[A] has quit IRC
21:54sathis has joined #ltsp
22:00sathis has quit IRC
22:07vagrantc has quit IRC
22:45alkisg has joined #ltsp
22:49alkisg has quit IRC
23:18bobby_C has quit IRC
23:53Nubae is now known as Nubae_away