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


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

00:08dobber has joined #ltsp
00:33alkisg has joined #ltsp
00:45alkisg has quit IRC
00:50try2free has joined #ltsp
00:52try2free has left #ltsp
01:08dobber has quit IRC
01:08dobber has joined #ltsp
01:12dobber has quit IRC
01:13dobber has joined #ltsp
01:13dobber has quit IRC
01:16dobber has joined #ltsp
01:23sweetpi has quit IRC
01:28sweetpi has joined #ltsp
02:02seidos has joined #ltsp
02:02gnunux has joined #ltsp
02:03
<gnunux>
hi
02:26
<muppis>
Anyone familiar with nfs?
02:29pths has quit IRC
02:30
<sweetpi>
what about it?
02:38sweetpi has quit IRC
02:54dserban has quit IRC
02:54jimjimovich has joined #ltsp
02:55
<jimjimovich>
is there a reason that network traffic when doing something like watching youtube would max out at 10MiB/s ?
02:57
ah, i guess that's MB not Mbits ... it maxes out at 80 Mbits
02:57
on a gigabit network
03:01ogra_ac has joined #ltsp
03:10jimjimovich has left #ltsp
03:23loather-work has quit IRC
03:28loather-work has joined #ltsp
03:30ogra_ac has quit IRC
03:31ogra_ac has joined #ltsp
03:40ogra_ac has quit IRC
03:42C_Tek has joined #ltsp
03:51bobby_C has joined #ltsp
04:14bobby_C has quit IRC
04:18pths has joined #ltsp
04:31bobby_C has joined #ltsp
04:46beefsalad has joined #ltsp
04:46
<beefsalad>
anyone seen habbe in the last...5 years or so?
04:48pths has quit IRC
04:59alkisg has joined #ltsp
05:01pths has joined #ltsp
05:13C_Tek has quit IRC
05:15alkisg has quit IRC
05:17Guerdal82_ has quit IRC
05:18Guerdal82_ has joined #ltsp
05:34pths has quit IRC
05:41barbosa has joined #ltsp
05:46barbosa_ has joined #ltsp
05:47pths has joined #ltsp
06:04pths has quit IRC
06:17barbosa__ has joined #ltsp
06:17barbo323 has joined #ltsp
06:20barbosa has quit IRC
06:20barbosa_ has quit IRC
06:41wima1 has joined #ltsp
06:49
<wima1>
does anyone have some smart ideas on how to keep multiple app servers in sync?
06:49
just configuration. data is on file server, and accounts on ldap
06:49
so installed packages, config,...
06:50
i'm sure i'm not the first trying to solve this, by i can't find an awful lot on the internets...
06:54
<beefsalad>
dropbox clone using inotify+rsync
06:55
or...puppetd
06:55
depending on your needs, of course
06:58
<wima1>
thanks, i'll have a look at these
06:59
there are solutions to sync the packages, and that is a a start
06:59
but i would also like to sync the configuration
07:00
users get confused if things behave different when they end up on a different machine
07:02
<beefsalad>
well if you're just wanting to sync user configurations, ldap can define their home directory, which can be nfs mounted
07:05
<wima1>
user config is not the problem. homedirs are on the fileserver
07:05
it is more package configuration.
07:06MorningSon has joined #ltsp
07:06
<wima1>
default desktop settings in /etc/gconf and things like that
07:07
puppet looks interesting, but if i understand correctly, you would not be editing the config directly, but rather via a pupped description.
07:08
this requires some dicipline
07:08
<beefsalad>
indeed
07:09
<wima1>
Still, i'm quite fond of the concept. It would also allow us to roll out a new server in no time, as long as we have the pupped server available
07:12
<beefsalad>
yep
07:12
thats what I use it for (though I haven't touched ltsp in forever)
07:15
<wima1>
How powerful is the description language? is it aware of apt-get? can it handle packages that it doesn't know?
07:16
I think i have some reading to do
07:22alkisg has joined #ltsp
07:24[GuS] has joined #ltsp
07:24[GuS] has quit IRC
07:24[GuS] has joined #ltsp
07:28jappiecr has joined #ltsp
07:28
<beefsalad>
wima1: it's pretty powerful, I'm stuck in a RH shop so I don't know how well it handles apt, its handling of rpm's is...freaking annoying
07:28
if you need 351 rpm's installed, be preparred to feed it 351 descriptors
07:30
<wima1>
hm
07:31jimjimovich has joined #ltsp
07:31
<beefsalad>
I guess I should fiddle with it in my lab, see if I like it on a debianish system more
07:31
<wima1>
can i let it execute custom scripts? I could keep a package list that i feed to apt-get
07:32
<jimjimovich>
anyone have any tips for how to get flash working inside Firefox as a local app?
07:32
<beefsalad>
really hoping I can kick the engineers hard enough to convince them to deploy v2 of our product on debian
07:33
<jimjimovich>
following the instructions on the ubuntu wiki, everything installs in the chroot, and firefox works, but flash just shows up as an empty square (which says "Flash 10" when right clicking on it)
07:35
<beefsalad>
wima1: yes, best way I can explain how I do is it with an example...
07:35
I have a directory inside of /etc I call 'servers' with a list of different server types in int
07:35
say I want to deploy a webserver
07:35japerry has quit IRC
07:36
<beefsalad>
I echo 1 > /etc/servers/webserver, which puppet is 'watching'
07:36
when it sees the change, it will fire off a script to do all of the fun crap I have setup
07:37
<wima1>
ah, interesting
07:37
<beefsalad>
theres more than one way to have a script ran, I just tend to 'kick' my servers before deciding what they are
07:42dgroos_ has joined #ltsp
07:43
<alkisg>
jimjimovich: here's the most recent wiki page about it: https://help.ubuntu.com/community/UbuntuLTSPKarmicLocalAppsFirefox
07:49jimjimovich has quit IRC
07:52
<wima1>
ok, i have some reading to do now. Thanks a lot for the help.
07:52dgroos_ has quit IRC
07:53dgroos_ has joined #ltsp
07:55barbo323 has quit IRC
07:55barbosa__ has quit IRC
07:58wima1 has left #ltsp
08:00BWMerlin has joined #ltsp
08:00alexqwesa_ has joined #ltsp
08:01alexqwesa has quit IRC
08:02japerry has joined #ltsp
08:05dgroos_ has quit IRC
08:06alkisg has quit IRC
08:08pmatulis has joined #ltsp
08:08jimjimovich has joined #ltsp
08:10docente has joined #ltsp
08:11pths has joined #ltsp
08:11
<docente>
Hi, anyone knowns something about Glib-WARNING error on LTSP thin clients with Edubuntu?
08:13BWMerlin has quit IRC
08:18wima1 has joined #ltsp
08:26
<docente>
Hi, anyone knowns something about Glib-WARNING error on LTSP thin clients with Edubuntu? I'd been reading and maybe is caused by plymouth. I deactivated it on server but i don't know how to make it on clients.
08:26britneypire has joined #ltsp
08:28britneypire has quit IRC
08:40jappiecr has quit IRC
08:54
<jimjimovich>
anyone successfully running flash (and having it load movies) as a local app?
08:56beefsalad has left #ltsp
09:16vagrantc has joined #ltsp
09:16jimjimovich has quit IRC
09:20Guerdal82_ has quit IRC
09:21Guerdal82_ has joined #ltsp
09:27ogra has quit IRC
09:29ogra_ac has joined #ltsp
09:32
<docente>
Hi, anyone knowns the lts.conf parameter to fix the screen resolution on 800x600?
09:32alkisg has joined #ltsp
09:36GodFather has joined #ltsp
09:42Guerdal82_ has left #ltsp
09:46
<vagrantc>
docente: XRANDR_MODE_0=600x600
09:46
if that doesn't work ... you'd need to disable XRANDR ...
09:46* vagrantc looks
09:47
<vagrantc>
XRANDR_DISABLE=true X_MODE_0=800x600
10:00ogra_ac has quit IRC
10:01wima1 has left #ltsp
10:01ogra_ac has joined #ltsp
10:02dobber has quit IRC
10:07jhutchins_lt has joined #ltsp
10:10gnunux has quit IRC
10:23
<docente>
thanks
11:08vagrantc has quit IRC
11:33seidos has quit IRC
11:47arx has joined #ltsp
11:48arx is now known as andrew_ubuntu
11:50jimjimovich has joined #ltsp
11:50
<jimjimovich>
hi guys, still trying to figure out how to get flash working inside local running firefox. any ideas?
11:51komunista has joined #ltsp
11:52
<alkisg>
jimjimovich: see the link I pasted 20 mins before you left
11:52
(see the logs on the topic if you don't have logs in your client)
11:52
<jimjimovich>
alkisg: ah man, sorry I left, had to go home. how do i get to the logs?
11:53
ah, i see
11:54
alkisg: I don't see the link in the logs :(
11:55GodFather has quit IRC
11:55
<alkisg>
(03:42:59 PM) alkisg: jimjimovich: here's the most recent wiki page about it: https://help.ubuntu.com/community/UbuntuLTSPKarmicLocalAppsFirefox
11:55docente has quit IRC
11:56
<jimjimovich>
alkisg: yes, that's what i was following. I actually have both Firefox and Flash successfully running on the client, but the Flash always says "Movie Not Loaded" ... it's like Flash can't access the network for some reason
11:57
<alkisg>
Firefox can access the internet, and flash cannot?
11:57
<jimjimovich>
exactly
11:58
I know Flash does some strange things with networking, i was thinking maybe I'm missing some necessary package that flash depends on. Using Ubuntu 10.10
11:58
<abeehc-_>
no flash site works?
11:58
<komunista>
some time ago I had flash as locallapps, but with midori and it works (only midory sometime crash - some older version)
11:58
<abeehc-_>
i haven't seen it do strange things myself
11:58
<jimjimovich>
nope, I tried a bunch of them
11:58
<abeehc-_>
i had flash as localaps last week worked very well
11:59
<alkisg>
If you followed that page (fluashplugin-installer etc) then it should work, flash doesn't do anything weird with the network
11:59
<abeehc-_>
you have no ff addons i trust?
11:59* alkisg has never heard of that specific flash problem..
11:59
<abeehc-_>
people are saying flashblock can cause that specific problem
11:59
<jimjimovich>
I did everything exactly like it's written there, no firefox plugins
12:00
<alkisg>
I thought I read that you followed the jaunty page
12:00
That's why I pointed you to the karmic one
12:00
But ok..
12:00
<abeehc-_>
right click on the flash applet and check the version and whatnot
12:01
<jimjimovich>
it just shows 2 items "Movie not loaded" and "Flash 10"
12:01
after having no luck, i even installed the latest flash from adobe, and can verify that it's being loaded locally, but still the same problem
12:02
<abeehc-_>
32bit clients i assume
12:02
<jimjimovich>
I really get the feeling that it's a network problem. I came across one forum thread where people were having problems with flash if the network was not configured on the client correctly
12:02
yeah, 32bit
12:03
<abeehc-_>
if oyu can get webpages that seems to be really unlikely
12:03
all i can see is people complaining about flashblock addin, and finding they had gnash or something similiar installed
12:03
<alkisg>
!localxterm
12:03
<ltspbot>
alkisg: "localxterm" :: while sitting on a thin client, open a gnome terminal. In that, run: ltsp-localapps xterm. An xterm will open. That xterm runs locally, so any commands you enter there are executed directly on the client.
12:03
<alkisg>
jimjimovich: try running "route -n" on a localxterm, and see if route is correct
12:04
(there was a bug about it, not sure if the fix is in 10.10 yet)
12:05
<jimjimovich>
alkisg: Okay, I'll have to try it later, it's 9pm here and the computer is at work. I might try replicating the problem outside of our work network. I get the feeling it has something to do with a firewall somewhere.
12:06
on a related topic, has anyone installed Chrome as a local app? I couldn't get that to run at all.
12:07
<abeehc-_>
people say it needs nfs_home or something like that
12:07
<jimjimovich>
I've been running an LTSP lab at our university for 4 years (for students) but now they want us to use it for all our staff as well, so I've got a lot of LTSP challenges ahead of me in the next few months
12:08
<abeehc-_>
i haven't gotten arounbd to it; but ff gives me a reason to do that every day
12:08
awesome stuff jimjimovich sounds like a challenge
12:09
<jimjimovich>
yeah, lots of scanners, printers, webcams and stuff that people say they just can't live without
12:10
<abeehc-_>
ohh damn haven't seen much discussion about webcams or even scanners
12:12
<alkisg>
If your clients are good enough to be running ff and chrome locally, you might want to try fat clients instead
12:12
With NFS_HOME all programs (even chrome and evolution) run fine locally.
12:14Lns has joined #ltsp
12:14
<jimjimovich>
abeehc-_: in our tests, scanners were doable (at least we had a couple running). Most of the clients are pretty powerful. We're either going to be wripping the HD out of existing machines or using decent Atom mini-itx boards
12:14
what exactly is the difference between running apps locally and Fat Clients?
12:14
<alkisg>
!fatclients
12:14
<ltspbot>
alkisg: "fatclients" :: You may find some info about the Ubuntu/LTSP implementation of fat clients at https://help.ubuntu.com/community/UbuntuLTSP/FatClients
12:15
<alkisg>
The whole session is local with fat clients, the whole ubuntu-desktop is installed on the chroot.
12:16
<jimjimovich>
is it possible to have both thin and fat clients?
12:17
<alkisg>
Yes, even with the same chroot (with NBD_RAM_THRESHOLD separating them, or with LTSP_FATCLIENT=False in lts.conf)
12:17
sorry, FAT_RAM_THRESHOLD
12:18
<jimjimovich>
in our setup, I'd think that I could probably just set specific machines to be fat clients by MAC address
12:18
<alkisg>
That's also possible.
12:19
<jimjimovich>
how is it possible to do with the same chroot? wouldn't all the apps need to be installed in the chroot?
12:19
<Lns>
jimjimovich: yeah but the thin clients don't pull the installed chroot apps. They pull just what they need.
12:20docente has joined #ltsp
12:20
<jimjimovich>
you guys have me very intrigued
12:20
<Lns>
afaik thin clients can use a fatclient chroot but not vise versa (for obvious reasons)
12:22
<jimjimovich>
so, let's say that i have a font that i need to install for all my users. in this thin and fat client mixed environment, how would I do that?
12:22
<alkisg>
Having a fat chroot is like maintaining 2 installations, everything you need to do for both fat + thin clients you do in the fat chroot and in the server
12:23
So you'd have to install that font to the chroot as well
12:23
For fat-only labs, one only needs to do that in the chroot, X isn't even needed to be installed on the server.
12:24
<jimjimovich>
Okay, that makes sense.
12:24
While you guys are giving out super info and advice ... one more topic ...
12:24
I need to enable remote access (home access) for users. I was going to use NX for this. Is that a good option?
12:25
<alkisg>
Sure, I use that too (neatx)
12:25
<jimjimovich>
alkisg: sweet!
12:26
you guys gave me some good stuff to think about over the weekend. sure you'll be seeing me a lot more in the next months. hopefully i can get good enough at this to be of some help here too :)
12:30Appiah has quit IRC
12:31
<Lns>
awesome jimjimovich =)
12:32
alkisg: how's neatx working out for ya?
12:32
<alkisg>
Very very nice, except that it doesn't support the greek keyboard layout :(
12:39
<Lns>
d'oh!
12:39
Last I heard about neatx, it was all very beta and hard to install. Any useful links for it?
12:43
<alkisg>
sudo add-apt-repository ppa:freenx-team
12:43
sudo apt-get update
12:43
sudo apt-get install neatx-server
12:43
Done :)
12:44
More info (not needed) at: https://help.ubuntu.com/community/FreeNX
12:46
<jimjimovich>
another quick question. if you have all the packages of say, ubuntu-desktop installed in the chroot, does the fat client download this entire image each time? I've been a bit confused about what gets downloaded.
12:47
<alkisg>
It's a networked disk, it only reads the "sectors" it needs each time, both for fat + thin clients
12:47
<jimjimovich>
alkisg: gonna be trying that neatx on Monday for sure. I hope it supports the Russian keyboard layout
12:48
<alkisg>
jimjimovich: do you need to switch layouts? Or do you only use the russian layout?
12:48
<jimjimovich>
need to switch them
12:48
<alkisg>
If it works, please tell me...
12:48
<jimjimovich>
will do
12:48
about the chroot, is it kinda like having a read-only install that all the clients access over the net?
12:49
isn't there also some sort of image that is downloaded?
12:49
<alkisg>
Yes, but of course the /home is on the server. No, the only thing that gets downloaded as a whole is the kernel+initrd.
12:50
Lns: about the nfs vs nbd benchmarks, I've done some of those, nbd is much faster
12:50
(I benchmarked booting only, it was easier to measure)
12:50
<Lns>
alkisg: thanks for the info =) have to jet right now but will be back and will be looking into it =)
12:51
<jimjimovich>
so something like /usr/bin/firefox (which is in /opt/ltsp/i386/usr/bin/firefox) is only accessed by the client when you actually use firefox?
12:51Lns has quit IRC
12:52
<jimjimovich>
so the binary is on the server, but in the case of a fat client or a local app, the app is running on the client (even though it's loading from the chroot). Am I getting this right?
12:53
<alkisg>
jimjimovich: right, it's like having an nfs root, no difference between thin vs fat clients or nbd vs nfs...
12:53
Instead of using the IDE cable, the clients are using the ethernet cable to access their disks
12:53
They don't load them in RAM...
12:54
<jimjimovich>
okay, got ya. man, i thought i knew a lot about linux before ...
12:54
this is gonna be interesting
12:57Appiah has joined #ltsp
13:33ogra_ac has quit IRC
13:34ogra_ac has joined #ltsp
13:44ogra has joined #ltsp
13:44ogra has joined #ltsp
13:45cfkane has joined #ltsp
13:46cfkane has quit IRC
14:01cfkane has joined #ltsp
14:03
<cfkane>
I'm trying to boot an asus eee box 202 on either ubuntu karmic or lucid. the client boot stops at the 3 segmented circle just before the login screen. Anyone know what video driver this machine uses?
14:03alkisg has quit IRC
14:04alkisg has joined #ltsp
14:23
<cliebow>
!seen sbalneav
14:23
<ltspbot>
cliebow: sbalneav was last seen in #ltsp 18 weeks, 2 days, 2 hours, 42 minutes, and 40 seconds ago: <sbalneav> win 1
14:23
<cliebow>
!seen Gadi
14:23
<ltspbot>
cliebow: Gadi was last seen in #ltsp 3 days, 0 hours, 11 minutes, and 59 seconds ago: <Gadi> :)
14:32
<andrew_ubuntu>
!seen jammcq
14:32
<ltspbot>
andrew_ubuntu: jammcq was last seen in #ltsp 2 days, 3 hours, 33 minutes, and 59 seconds ago: <jammcq> jappiecr: sorry, i'm not familiar with it
14:32
<andrew_ubuntu>
:(
14:33
anyone have experience setting up a usb scanner on a client? jammcq was helping me a few days ago, but I'm so stuck it ain't even funny. I'm desperate!
14:44
<abeehc-_>
someone might be able to help if you start with where you are stuck
14:45
<andrew_ubuntu>
oh, lol... ya that might help ;).
14:47komunista has quit IRC
14:47
<abeehc-_>
:>
14:47
i looked over the logs the other day but I couldn't guess how far you might be now
14:47
<andrew_ubuntu>
I've gotten to the point where if I login to the client's console (I enabled root access to do this), I can see the scanner if I do 'scanimage -L', or lsusb, or sane-find-scanner. So, I know the scanner is detected. However, xsane does not find a scanner, nor does running 'scanimage -L', etc (in xwindows).
14:49vagrantc has joined #ltsp
14:49
<andrew_ubuntu>
I have done the exact same things jammcq had me do prior on another test server and I am having the same results. So, I have to guess that it's a permission problem?!
14:50
I read on the ubuntu help pages about setting up "network scanners" that the users needs to be in the scanner group, but there is no such group.
14:51
This is the page I'm referring to: https://help.ubuntu.com/community/ScanningHowTo
14:52
Also according to this doc, I need to add lines to /etc/inetd.conf and /etc/default/saned (which jammcq did not mention he did with his; oversight possibly?... he was going off memory it appeared.)
14:54[GuS] has quit IRC
15:00
<abeehc-_>
jammcq did mention that from what i saw
15:00
maybe missed the /etc/default
15:00
<andrew_ubuntu>
oops
15:00
<abeehc-_>
sec
15:00
sorry i got distracted by racing there hehe
15:00
<andrew_ubuntu>
lol
15:01
<abeehc-_>
[08:16] [jammcq] you need to install saned and micro-inetd on the thin client chroot
15:01
http://www.nubae.com/logs/ltsp20100929_pg1.html
15:01
<andrew_ubuntu>
yup, did that... although I am not familiar with micro-inetd nor how to configure it
15:02
<abeehc-_>
same hehe
15:02
you put the bit in your lts.conf as well the rc_file declaration?
15:03
if you hook the scanner directly to a standard ubuntu installed machine does it "just work"
15:03
also, saned is running on the client i imagine?
15:03
by checking via ps
15:07
<andrew_ubuntu>
yes. I put RCFILE_01 = /etc/init.d/scanner.sh in my /var/lib/tftpboot/ltsp/i386/lts.conf file and I made the scanner.sh file with the 3 lines he listed and put that in /opt/ltsp/i386.... somewhere... lol etc/udev/rules.d/99-something
15:08
no, that isn't right... I put scanner.sh in /opt/ltsp/i386/etc and the udev rules in /opt/ltsp/i386/lib/udev/rules.d/99-sane-group.rules
15:08
oh crap!
15:08
scanner.sh sould be in /opt/ltsp/i386/etc/init.d!
15:09cliebow has quit IRC
15:11
<andrew_ubuntu>
ok, so now that is in the right place, although that was on my "test" server I setup today... it was in the correct location on the server I initially tried a couple days ago.
15:13
btw, no saned is not running if I run 'ps -leaf|grep saned' in the clients console, it does not show up.
15:18
<abeehc-_>
ok i think that's one of the first hurdles
15:18
getting saned to exec on boot or at least be running onthe client
15:18
you should shell in and try to run that script jammcq had you reference in the rc_file declaration manually
15:18
see if saned chokes
15:18
<andrew_ubuntu>
oh good idea :)
15:20
well getting somewhere.... /sbin/start-stop-daemon.real: stat /usr/bin/micro-inetd: No such file or directory (No such file or directory)
15:20
so, where is micro-inetd?... I swear I installed it in the chroot.... :|
15:22
how do you find out what files are in a package in ubuntu?... I can't find micro-inetd anywhere in the chroot, but it does have files in usr/share/doc folder
15:23
root@giltsp:/opt/ltsp/i386/usr/share/doc/micro-inetd
15:24
<abeehc-_>
check /etc/default/micro-inetd or somethign
15:24
maybe there's a similar run directive or something
15:25
on the client you could do dpkg -L micro-inetd
15:25
to list all the files for the package
15:28
you could do dpkg -l |grep micro-inet on the client to see if it's definitely installed
15:28
<andrew_ubuntu>
I had to run "dpkg --contents /opt/ltsp/i386/var/cache/apt/archives/micro-inetd_20050629-4_i386.deb", but it does list /usr/bin/micro_inetd... why it didn't install is beyond me.
15:29
dpkg -l | grep micro-inet yielded nothing... bizarre
15:32
wait.. I take most of that back... I was in the wrong console... ugh. /usr/bin/micro-inetd IS installed on the clients chroot... sorry, BUT, running /etc/init.d/scanner.sh still says "/sbin/start-stop-daemon.real: stat /usr/bin/micro-inetd: No such file or directory (No such file or directory)"
15:35
<abeehc-_>
so on the client shell
15:35
do dpkg -L micro-inetd (assuming that's the package name)
15:35
make sure it put the binary where that script expects (/usr/bin/micro-inetd)
15:36
<andrew_ubuntu>
yes, it listed the file /usr/bin/micro_inetd.
15:36
I think it is /usr/bin/saned that is missing :(
15:36* andrew_ubuntu idiot
15:36* andrew_ubuntu bangs head
15:37
<abeehc-_>
ahh i gotcha
15:37
closer!
15:38
<andrew_ubuntu>
ugh, I installed libsane and sane-utils... how do I know which package contains saned? (sorry, I am a Gentoo guy... not quite up to speed on Debian/Ubuntu ways)
15:39
<abeehc-_>
aptitude show libsane
15:39
would tell you some stuff
15:40
you should review what jammcq said line by line again
15:40
http://www.nubae.com/logs/ltsp20100929_pg1.html
15:40
timestamp of 8:50 is interesting
15:40japerry has quit IRC
15:41
<andrew_ubuntu>
yes, I did create that file.
15:48
ok... so I think I am driving myself crazy and missing things... I thought saned was supposed to be in /usr/bin when in fact it is in /usr/sbin... so, /usr/sbin/saned does exist in the chroot.... what I can't figure out is what does it mean "No such file or directory"?... /usr/bin/micro-inetd exists as does /usr/sbin/saned..... /sbin/start-stop-daemon also exists... so what file/directory is it referring to?
15:48
<abeehc-_>
pastebin the scanner.sh script
15:48
http://ltsp.pastebin.com
15:49
in any case you could skip that crap
15:49
and run saned manually just to see if you can talk to the scanner remotely
15:49
then figure out how to make sure the client starts the daemon
15:49
<andrew_ubuntu>
http://ltsp.pastebin.com/iD4Q9xQK
15:50
<abeehc-_>
maybe check that the variable is getting populated
15:50
SANE_PORT=$(grep sane-port /etc/services | awk '{print $2}') && echo $SANE_PORT
15:51
if so, run the next command manually see what it says
15:52
<andrew_ubuntu>
yes, that is the only thing I can think of... if I do line that sets the variable SANE_PORT separately and echo $SANE_PORT it outputs 6566/tcp as it should. However, the line that runs saned has ${SANE_PORT%%/tcp} ${SANE_PORT%%/tcp}... isn't the /tcp ambiguous since $SANE_PORT already contains tcp?
15:52
<abeehc-_>
i would have thouht so
15:52
but no
15:53
SANE_PORT=$(grep sane-port /etc/services | awk '{print $2}') && echo start-stop-daemon -q -b --start --exec /usr/bin/micro-inetd ${SANE_PORT%%/tcp} /usr/sbin/saned
15:53
results in this
15:53
start-stop-daemon -q -b --start --exec /usr/bin/micro-inetd 6566 /usr/sbin/saned
15:53
so try and run that yourself on the client maby
15:54
i think this is starting to look like subtleties with micro-inetd which i'm not so good with
15:56
<andrew_ubuntu>
ya, I am going to have to agree with you. putting 6566/tcp in place of the variable still gives me "No such file or directory".... but running start-stop-daemon -q -b --start --exec /usr/sbin/saned by itself gives me no errors, but saned still doesn't appear to be running (at least according to ps).
15:58
running "/usr/bin/micro-inetd" by itself gives me the -bash: /usr/bin/micro-inetd: No such file or directory error
15:59
<abeehc-_>
just run /usr/sbin/saned
15:59
from what i can tell you do not want the tcp
15:59
after the 6566
16:00
but the original script does that correctly
16:00docente has quit IRC
16:01
<abeehc-_>
do "file /usr/bin/micro-inetd"
16:01
it's likely a script of some sort
16:01
<andrew_ubuntu>
o i c... that is what the %% is for.. to remove the /tcp part...
16:01
<abeehc-_>
take a look thtrough it
16:01
yeah
16:01
that's a new one on me as well
16:01
<andrew_ubuntu>
"file /usr/bin/micro-inetd" = /usr/bin/micro_inetd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.1, stripped
16:02
<abeehc-_>
hehe shit
16:02
<andrew_ubuntu>
ya, ditto ;)
16:03
<abeehc-_>
maybe do "ldd /usr/bin/micro-inetd"
16:04
<andrew_ubuntu>
linux-gate.so.1 => (0x00259000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00cb5000) /lib/ld-linux.so.2 (0x00bd1000)
16:05
(it shows up on 3 lines, but put it all on one to keep it simple).
16:05
<abeehc-_>
ty
16:06
does micro-inetd --help do anything?
16:06
there's like not much for docs on that
16:07
<andrew_ubuntu>
-bash: /usr/bin/micro-inetd: No such file or directory
16:07
<abeehc-_>
hehe
16:07sweetpi has joined #ltsp
16:07
<abeehc-_>
what the f
16:07
ls -alh /usr/bin/micro-inetd
16:07
<andrew_ubuntu>
...bizarre. ya, exactly...
16:07bobby_C has quit IRC
16:07
<abeehc-_>
maybe it's a link?
16:07
i guess no
16:08
i386 clients, eh?
16:08
<andrew_ubuntu>
ls -alh /usr/bin/micro_inetd = -rwxr-xr-x 1 root root 4.4K 2007-05-01 00:36 /usr/bin/micro_inetd
16:09
ya, i386 clients... amd64 server
16:10
Gentoo doesn't even have micro-inetd in portage... I was going to install it and see I get the same results when I try to run it.
16:10
(unless it's part of another package)
16:11
underSCORE
16:11
the script as a dash... the file is underscored
16:12
ps -leaf|grep saned now shows saned running!!!
16:14
... I didn't catch it before because I was using tab completion ... I would just type /usr/bin/micro and hit tab....
16:14
lazy me...
16:18jconlon has joined #ltsp
16:20
<jconlon>
I built a fat client image on ubuntu maverick beta, when I boot my laptop off the image, it just stays at the ubuntu loading screen, any ideas where I should look to debug? Checked syslog, didn't see anything special.
16:24bobby_C has joined #ltsp
16:25
<alkisg>
jconlon: remove "quiet splash" from /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default
16:29
<andrew_ubuntu>
abeehc-_: you still here?... sorry I'm an idiot :(.
16:30
<abeehc-_>
no worries i'm also an idiot
16:30
for example
16:30
my server just ran flat out of memory and all these people are not unhappy with me
16:31
good times i need a smoke now
16:31
<andrew_ubuntu>
saned is now running in the client's chroot.... scanimage -L shows the scanner on the clients console... but nothing in gnome :(
16:32
lol.... I just went and had a smoke.... u should switch to ecigs... I don't even go outside anymore ;)
16:33
take care of peeps first... at least I've made progress and I am forever greatful for all of your help (and jammcq too!)
16:34
<abeehc-_>
haha ok i'll be back soon; are you running local apps or fat clients?
16:34
you might wanna use nmap to check that saned is listening on that network port
16:35
back in a couplefew
16:35
<andrew_ubuntu>
neither local apps or fat... straight plain install... whatever that is called... thin
16:36
<abeehc-_>
ok so yeah you wanna make sure saned is listening on that port we were talkin about earlier
16:36
if it's anything like printing; you are effectively talking to saned from the server
16:36
within gnome
16:36
<andrew_ubuntu>
gotcha
16:38ogra_ac has quit IRC
16:39
<andrew_ubuntu>
I can telnet to "172.16.13.111 6566", or at least I get a prompt... nmap 172.16.13.111 does show "6566/tcp open unknown"
16:39methril_work has quit IRC
16:40jconlon has quit IRC
16:43ogra_ac has joined #ltsp
16:54
<abeehc-_>
ok that's good stuff
16:55
<andrew_ubuntu>
I think I got IT!!!!
16:55
this page helped: http://tinycorelinux.com/forum/index.php?topic=817.0
16:56
<abeehc-_>
nice mostly adding hte ip and that 'net' driver?
16:56
<andrew_ubuntu>
aw crap!... spoke too soon. scanimage -L finally found the device, but now xsane just errored out with: Failed to start the scanner: Error during device I/O.
16:56
<abeehc-_>
hm
16:57
<andrew_ubuntu>
yes, on the server I added the ip address of the client with the scanner to /etc/sane.d/net.conf
16:57sweetpi has quit IRC
16:58
<abeehc-_>
instead of xsane try simplescan?
16:59
simple-scan maybe
16:59cfkane has left #ltsp
17:01
<andrew_ubuntu>
well, I tried just using scanimage > /tmp/scan.jpg and it's not erroring out... but I don't know if I can specify jpg, or if I have to use raw, pnm, or whatever
17:02
wow, it worked
17:02
<abeehc-_>
good stuff
17:02
<andrew_ubuntu>
although it's in some weird greyscale :D
17:03
THANK YOU THANK YOU THANK YOU THANK YOU!!!!!
17:04
you have no idea how much this means to me!.... I'll buy you a beer during the next LTSPCONFEST ;)
17:04
<abeehc-_>
i think jammcq did the legwork there but i'm glad you got it goin
17:05
<andrew_ubuntu>
ya, I'll buy Jammcq 2 beers ;)
17:05
Viva la LTSP!
17:08
perfect timing too... time to go home. thank you again! and thank you to everyone for your support!
17:08
have a good night abeehc-_
17:09andrew_ubuntu has quit IRC
17:12ogra_ac has quit IRC
17:13ogra_ac has joined #ltsp
17:24alkisg has quit IRC
17:25ogra_ac has quit IRC
17:27ogra_ac has joined #ltsp
17:38ogra_ac has quit IRC
17:40ogra_ac has joined #ltsp
17:52ogra_ac has quit IRC
17:56mistik1 has joined #ltsp
18:02ogra_ac has joined #ltsp
18:17leio_ has joined #ltsp
18:18leio has quit IRC
18:20shogunx has quit IRC
18:24bobby_C has quit IRC
18:28shogunx has joined #ltsp
18:49M4gic5t0rM has joined #ltsp
19:18jhutchins_lt has quit IRC
19:26vagrantc has quit IRC
19:31ogra_ac has quit IRC
19:31ogra_ac has joined #ltsp
19:47jhutchins has quit IRC
19:50jhutchins has joined #ltsp
20:04Guerdal82 has quit IRC
21:03pmatulis has quit IRC
21:18try2free has joined #ltsp
22:08sweetpi has joined #ltsp
22:11Guerdal82 has joined #ltsp
22:19Faithful has joined #ltsp
23:00M4gic5t0rM has quit IRC
23:01try2free has left #ltsp
23:06BWMerlin has joined #ltsp
23:38BWMerlin has quit IRC