bash-4.1# cat /lib/lsb/init-functions |grep log_action
guess we don't get it
log_success_msg () failure and warning
oh well, echo works fine
and with that change, LTSP 5.4.4 now successfully ported to EL6, server and client, night guys..
|00:09||* vagrantc cheers|
surely RH has a way of display messages during boot
yes they do, but in more of a 2 part way so they can check wether it returned an error code
well... seems like a good thing to do, eh?
using lsb's way not redhat's
heh. those functions are from ubuntu
they were included in an include file in debian's /lib/lsb/init-functions
|00:13||PhoenixSTF has left IRC (PhoenixSTFfirstname.lastname@example.org, Quit: Leaving)|
rpm -qf /lib/lsb/init-functions
apparently added in 2005...
|00:23||Enslaver has left IRC (Enslaver!~Enslaver@adsl-70-241-84-25.dsl.hstntx.swbell.net, Quit: Leaving)|
|00:23||PatrickDickey has joined IRC (PatrickDickey!~quassel@2001:470:1f11:830:95f8:2367:590f:6cc)|
|00:25||Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)|
|00:29||Enslaver has joined IRC (Enslaver!~Enslaver@adsl-70-241-84-25.dsl.hstntx.swbell.net)|
Sneak preview http://imageshack.us/photo/my-images/4/screenshot20130129at626.jpg/
my email is enslaver at enslaver dot com if anyone needs to reach me, i'll have it packaged and ready here soon
|00:30||Enslaver has left IRC (Enslaver!~Enslaver@adsl-70-241-84-25.dsl.hstntx.swbell.net, Client Quit)|
|01:00||PatrickDickey has left IRC (PatrickDickey!~quassel@2001:470:1f11:830:95f8:2367:590f:6cc, Ping timeout: 245 seconds)|
|01:17||Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)|
|01:45||vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)|
|02:45||Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)|
|03:01||ball has joined IRC (email@example.com)|
|04:02||ball has left IRC (firstname.lastname@example.org, Quit: leaving)|
|04:32||mip5_ has joined IRC (email@example.com)|
|04:55||sha_ has joined IRC (firstname.lastname@example.org)|
|04:58||sha has left IRC (email@example.com, Ping timeout: 255 seconds)|
|05:04||staffencasa has left IRC (firstname.lastname@example.org, Ping timeout: 255 seconds)|
|05:05||jammcq has left IRC (email@example.com, Quit: leaving)|
|05:26||mip5_ has left IRC (firstname.lastname@example.org, Quit: ChatZilla 0.9.89 [Firefox 18.0.1/20130116073211])|
|05:35||Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Ping timeout: 255 seconds)|
|06:23||bauerski has joined IRC (email@example.com)|
|07:05||lotharn has left IRC (firstname.lastname@example.org, Ping timeout: 246 seconds)|
|07:13||Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)|
|07:22||Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Ping timeout: 248 seconds)|
|08:34||sep has joined IRC (email@example.com)|
|08:49||Gremble has joined IRC (Gremble!~Ben@cpc35-aztw23-2-0-cust207.18-1.cable.virginmedia.com)|
|09:29||bobby_C has joined IRC (bobby_Cfirstname.lastname@example.org)|
|09:50||bobby_C has left IRC (bobby_Cemail@example.com, Ping timeout: 255 seconds)|
|09:55||vnc786 has left IRC (firstname.lastname@example.org, Remote host closed the connection)|
|10:04||PhoenixSTF has joined IRC (PhoenixSTFemail@example.com)|
|10:07||dobber has joined IRC (firstname.lastname@example.org)|
|12:10||alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)|
|12:13||PatrickDickey has joined IRC (PatrickDickey!~quassel@2001:470:1f11:830:5068:885a:5703:6082)|
|12:34||JuJuBee has left IRC (JuJuBeeemail@example.com, Ping timeout: 252 seconds)|
|12:36||markit has joined IRC (firstname.lastname@example.org)|
|12:37||lotharn has joined IRC (email@example.com)|
hi alkisg :) the problem with your repo keys were due to... squid! All repo keys add was blocked by it
I'm wondering if really squid worths the trouble as simple web cache...
markit, depends on for how many people it's caching. :-)
And how fast your internet connection is. ;-)
markit: that's the reason we haven't yet included it in sch-scripts, even though many many teachers are asking for it :)
It needs careful examination, evaluation, documentation of common pitfalls...
...before one deploys it at a site with a sysadmin... so, for sites with just teachers it even more difficult
Hyperbyte: internet is very slow... nominal 7Mb/s, currently works in a mean of 2Mb/s, for 24 PC
but I've seen that more and more pages have "non cachable" content, that is also the heaviest part
markit: btw did you try the -threads option in epoptes to see if it makes broadcasting muuuuch faster for you?
btw, time ago there was the firefox "flash block" package, now is no more provided, I've to find our how install globally and, more important, how to update
alkisg: I've updated epoptes, isn't set by default? I tested and was not much faster as far as I remember
The -threads fix is not released yet
Committed, but not released
so... should I apply manually the patch and do some test?
|13:04||PatrickDickey has left IRC (PatrickDickey!~quassel@2001:470:1f11:830:5068:885a:5703:6082, Remote host closed the connection)|
|13:14||ltspuser_43 has joined IRC (ltspuser_43!c3dc9f22@gateway/web/freenode/ip.126.96.36.199)|
markit: sure, or you could wait a few weeks until Phantomas releases the new version
ok I'll patch ;P
alkisg: btw, I've found very handy the autologin feature for doing boot and login tests
I've found a problem with thin clients... if you logout it logins again
instead of stopping at ldm letting the user to turn the pc off
It's not a problem, it's by design
But yeah an "LDM_AUTOLOGIN_ONCE" directive should also be implemented..
The bug there is that it doesn't allow the user to turn off the PC from inside the session
LXDE supports that, but not the other DEs
And of course fat clients also support it
(in all DEs)
|13:25||alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Ping timeout: 248 seconds)|
markit, by the by - at work I use squid too, but only for the clients.
I have my firewall configured so that all clients -cannot- access internet without going via squid, yet servers have completely access to internet.
This solves any problems you might have with specific sysadmin programs not working properly with proxy servers.
Hyperbyte: of course if you use FAT clients only, right?
did you set in transparent mode so without authentication?
|13:37||JuJuBee has joined IRC (JuJuBeefirstname.lastname@example.org)|
Using a fat client. A user locked screen ctrl-alt-L but is unable to unlock it?
he entered same password he used to log in, but that doesn't work
|14:23||dead_inside has joined IRC (email@example.com)|
|14:43||alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)|
JuJuBee, screen locking is not supported with LTSP
If you absolutely need it, you'll have to use NIS or LDAP
alkisg, question... I have a client that doesn't load LDM... X seems to crash
I put XSERVER=vesa in lts.conf and now the client logs in, however, with the wrong resolution.
How can I properly overcome this?
Hyperbyte: lspci -nn -k | grep -A 2 VGA, pastebin local /var/log/Xorg.0.log when the client crashes etc
|14:51||jammcq has joined IRC (firstname.lastname@example.org)|
|14:51||dievel has left IRC (email@example.com, Remote host closed the connection)|
good morning friends
|14:52||bauerski has left IRC (firstname.lastname@example.org, Quit: Leaving.)|
alkisg, working on the Xorg log now
Hi Jim! Hyperbyte: sudo chroot /opt/ltsp/* dpkg -l xserver-xorg*s3*
Ah although no that's not s3 virge, it's s3 unichrome... try nomodeset
nomodeset: Unfortunately, Kernel Mode Setting (KMS) doesn't work well with some cards. To disable it, open /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default and replace "quiet splash" with "nomodeset".
alkisg, still interested in the Xorg.0.log?
Hyperbyte: try the nomodeset bit first, it's quicker... also, thin or fat?
Next try after nomodeset, X_SMART_COLOR_DEPTH=False
alkisg, when I do the nomodeset bit, the client sits there while trying to start X
Screen flickers every ~15 seconds, I presume it tries to start X and fails
Hyperbyte: also I see in your logs that the client is using 24bpp, how so? Anything related in lts.conf? Thins are supposed to use 16 bpp by default..
Trying X_SMART_COLOR_DEPTH=false now
Hyperbyte: the logs with nomodeset could be useful too
I'm using 12.10 though, with the standard LTSP version
Not your ltsp-pnp
It should be the same
12.10 is recent enough...
I'll get one with nomodeset
If nothing works, modinfo viafb has a whole lot of parameters to try
SCREEN_02=shell and then X -configure would help in faster testing those
Finally, #ubuntu-x is your friend
This kind of problem typically occurs when you're using a big monitor with an old graphics card. You can solve it by deleting some of the highest resolutions of the deepest colour mode in the Screen section of your xorg.conf, or even the whole last Display subsection.
I.e. also try with a smaller monitor, to see if this is the problem
That's the log with nomodeset enabled.
Seems like best solution would be to just get a new client with a more recent graphics card
Btw when removing quiet splash, also remove "plymouth:force-splash vt.handoff=7"
In my experience, graphic card problems come and go between linux/xorg versions
So I'm just looking for workarounds, I'm not able to change graphics cards on each release...
Want a new Xorg.log with the force-splash (etc) bits removed?
Try forcing a lower mode
I'll just XSERVER=vesa for now and just get a new client
Either with XRANDR_DISABLE and X_MODE_0, or with a smaller monitor
I'm pretty sure this video card just isn't.... although
On 12.04 I also used this one without problems with the higher resolution
But I didn't run LDM, just the rdesktop screen script
(05:05:45 μμ) alkisg: In my experience, graphic card problems come and go between linux/xorg versions :)
I've seen that tooooo many times, unfortunately
I think easiest is to just use XSERVER=vesa for now, for testing, and just aim for a new client.
...the new client might work in 12.10, break in 13.04, work again in 13.10... :D
This client is horribly old though
800mhz VIA processor, 100 megabyte memory....
|15:19||staffencasa has joined IRC (email@example.com)|
OK, those are good reasons to replace it
|15:25||* markit has a raspberry, boosted at 900mhz, 512MB, 35 euros ;P|
btw, anyone here using a raspberry as thin client with the custo distro for that? It does not boot from SD in my only experiment
It's too slow, the dual core chinese clients are much faster :D
alkisg: yes, I know, really would pay 50 euros for a 4 core instead ;P
this is faster and just a little more expensive, but don't know how much faster cubieboard.org
I think they cost about 80-90 euros, dual core, 1 gb ram, ethernet, usb etc
Hyperbyte: thanks for that.
I think a8 is single core, isn't it?
cortex a9 would be faster afaik
Something like that, I guess... http://www.aliexpress.com/item/Google-TV-Box-Android-4-0-ARM-Cortex-A9-WiFi-HD-1080P-HDMI-Internet-TV-Box/505428849.html
alkisg: ok, but rising the price makes Intel solution more desiderable
10 pieces for $71 each, converted to euros, would be cheap enough
markit: pi ==> thin, those ==> fat
Veeery big benefit there
I have a SCREEN_02=shell in my lts.conf file. It seems that this gives root access on ctrl+alt+f2 ?
JuJuBee: yup, that's the idea
can you have a mixed intel/arm chroots? one day you should teach me how to set it up
That gives the students the ablilty to do anything? this is bad...
markit: I think it's documented in the wiki somewhere... it's not difficult
JuJuBee: well, don't put it in lts.conf then
It's for troubleshooting purposes
Ah, ok. I thought it would be like a local os install where they would get a prompt to log in.
There are no local users in an LTSP client so that wouldn't work
alkisg: does this https://help.ubuntu.com/community/UbuntuLTSP/DisableScreenLock accurately describe how to disable screen lock?
There's an `ssh` screen script which allows the users to login on the server, if you want that...
JuJuBee: that's for gnome 2, are you using gnome 3?
alkisg: Well, I have gnome and kde
You'd need to google for gnome 3 and kde 4 then
installed gnome-session-fallback and kubuntu-desktop along with ubuntu 12.10
$ cat /usr/share/glib-2.0/schemas/10_sch-scripts.gschema.override
lock-enabled = false
active = false
Those are some settings to look into ;)
|15:39||Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)|
alkisg: don't have 10_sch-scripts.gschema.override
Yes, sch-scripts is a local greek solution
I'm just displaying its contents for you to see the appropriate gsettings keys
JuJuBee: oh, I use kde also
but I've special settings for it... do you use fat or thin clients?
JuJuBee: and you have decent boot times? I've found kde transfer of about 400-500MB
you have to set nfs with async at least
and take care of /var/tmp dir not only home
(btw, I've put something about it in the ubuntu ltsp wiki)
yes have decent boot times.
JuJuBee, I think you can just remove the gnome-screensaver package from the chroot and be done with the screen locking
As for kde, *shrug*
currently using defaults for nfs...
JuJuBee: can you please measure with iftop -ni ethwhatever?
JuJuBee: because if you have 2 clients everything seems ok, when you have 15 you are doomed
I have 8 students now and boot was fine.
They have the option of selecting session (gnome-classic, ubuntu or plasma)
JuJuBee: can you test it for one client? just curious, since I spent so much time to make it work
I haven't tried having everyone use plasma yet. I might do that today.
what is your export like?
|16:05||Gremble has left IRC (Gremble!~Ben@cpc35-aztw23-2-0-cust207.18-1.cable.virginmedia.com, Quit: I Leave)|
|16:09||mikkel has joined IRC (firstname.lastname@example.org)|
|16:20||Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)|
|16:26||ball has joined IRC (email@example.com)|
markit: on ltsp-server with 6 clients TX=1.08GB RX=14MB ON nfs-server TX=234MB RX=351MB Logins did seem slower but not super crazy slow.
All used plasma
|16:38||markit has left IRC (firstname.lastname@example.org, Quit: Konversation terminated!)|
|16:43||dobber has left IRC (email@example.com, Remote host closed the connection)|
|16:50||PhoenixSTF has left IRC (PhoenixSTFfirstname.lastname@example.org, Ping timeout: 272 seconds)|
|17:02||PhoenixSTF has joined IRC (PhoenixSTFemail@example.com)|
|17:06||Gremble has joined IRC (Gremble!~Ben@cpc35-aztw23-2-0-cust207.18-1.cable.virginmedia.com)|
|17:25||komunista has joined IRC (firstname.lastname@example.org)|
|17:27||Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)|
|17:57||Phantomas1 has joined IRC (Phantomas1!~Phantomas@ubuntu/member/phantomas)|
|17:59||Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Ping timeout: 252 seconds)|
|18:14||Phantomas1 is now known as Phantomas|
|18:18||bobby_C has joined IRC (bobby_Cemail@example.com)|
|18:30|||Paradox| has left IRC (|Paradoxfirstname.lastname@example.org, Ping timeout: 245 seconds)|
|18:44||JuJuBee has left IRC (JuJuBeeemail@example.com)|
|19:02||Gremble has left IRC (Gremble!~Ben@cpc35-aztw23-2-0-cust207.18-1.cable.virginmedia.com, Quit: I Leave)|
|19:33||komunista has left IRC (firstname.lastname@example.org, Quit: Leaving.)|
|19:45||Enslaver has joined IRC (Enslaver!~Enslaver@adsl-70-241-84-25.dsl.hstntx.swbell.net)|
|20:23||komunista has joined IRC (email@example.com)|
|20:27||komunista has left IRC (firstname.lastname@example.org, Client Quit)|
|20:32||Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Quit: Leaving.)|
|20:38||ball has left IRC (email@example.com, Quit: Lost terminal)|
|20:44||alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)|
|20:47||bobby_C has left IRC (bobby_Cfirstname.lastname@example.org, Quit: Goin' down hard)|
|21:58||mikkel has left IRC (email@example.com, Quit: Leaving)|
|22:01||bobby_C has joined IRC (bobby_Cfirstname.lastname@example.org)|
|22:23||vagrantc has joined IRC (vagrantc!~vagrant@75-150-46-245-Oregon.hfc.comcastbusiness.net)|
|22:23||vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)|
|22:27||Mip5 has left IRC (Mip5email@example.com, Remote host closed the connection)|
|22:38||dead_inside has left IRC (firstname.lastname@example.org, Read error: Operation timed out)|
|22:41|||Paradox| has joined IRC (|Paradoxemail@example.com)|
|22:59||Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)|
|23:01||bobby_C has left IRC (bobby_Cfirstname.lastname@example.org, Ping timeout: 248 seconds)|