00:05 | alkisg has joined #ltsp | |
00:25 | ball has joined #ltsp | |
01:03 | shogunx has joined #ltsp | |
01:17 | _UsUrPeR_ has quit IRC | |
01:18 | _UsUrPeR_ has joined #ltsp | |
01:37 | ball has quit IRC | |
01:53 | alkisg has quit IRC | |
01:53 | gnunux has joined #ltsp | |
02:04 | dobber has joined #ltsp | |
02:11 | bobby_C has joined #ltsp | |
02:37 | toscalix has joined #ltsp | |
02:43 | rickogden has joined #ltsp | |
03:03 | bobby_C has quit IRC | |
03:32 | F-GT has quit IRC | |
03:48 | F-GT has joined #ltsp | |
03:48 | Egyptian[Home] has quit IRC | |
03:50 | Guest70438 has quit IRC | |
03:55 | BenG has joined #ltsp | |
04:02 | Egyptian[Home] has joined #ltsp | |
04:11 | alkisg has joined #ltsp | |
04:18 | BenG has quit IRC | |
04:34 | bix0r has left #ltsp | |
04:52 | bix0r has joined #ltsp | |
05:05 | <dobber> !buttons_layout
| |
05:05 | <ltspbot> dobber: Error: "buttons_layout" is not a valid command.
| |
05:05 | <dobber> !button_layout
| |
05:05 | <ltspbot> dobber: "button_layout" :: To revert the Ubuntu button position and ordering to their old values, run: sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /apps/metacity/general/button_layout menu:minimize,maximize,close
| |
05:26 | ogra has quit IRC | |
05:33 | ogra has joined #ltsp | |
05:34 | pmatulis has joined #ltsp | |
05:55 | Selveste1 has joined #ltsp | |
06:59 | komunista has joined #ltsp | |
07:13 | otavio has joined #ltsp | |
07:14 | cliebow has joined #ltsp | |
07:32 | ogra_cmpc has quit IRC | |
07:33 | ogra_cmpc has joined #ltsp | |
07:42 | bieb has joined #ltsp | |
07:47 | toscalix has quit IRC | |
07:49 | maslak has joined #ltsp | |
07:49 | <maslak> hello, anyone here ?
| |
07:50 | i'my trying to solcve some issues with X and wine under LTSP - anyone who can help?
| |
07:51 | <komunista> for me wine works under LTSP, what is problem?
| |
08:01 | mikkel has joined #ltsp | |
08:02 | Gadi has joined #ltsp | |
08:12 | komunista has quit IRC | |
08:30 | <rickogden> hi, anyone able to help me with getting local devices to mount on the server? I've been through the steps on the ubuntu page, but not sure where I should go from here
| |
08:32 | <Gadi> rickogden: you should have the "ltspfs" package installed on the server and the user you login a should be a member of the "fuse" group
| |
08:32 | <maslak> is there any way to use vnc instead of running X directly on client ?
| |
08:32 | <rickogden> Gadi: yes, both are the case
| |
08:32 | <Gadi> maslak: vnc is not a replacement for X
| |
08:33 | <maslak> it was my mind shortcut ;)
| |
08:33 | <rickogden> maslak: you need X (or another supported platform) to run VNC on in the first place
| |
08:33 | <alkisg> maslak: what problem are you facing?
| |
08:33 | <Gadi> rickogden: same question
| |
08:33 | :)
| |
08:34 | <maslak> when i try to run some heavy apps on thin client - i see huge usage of cpu andd memory, program is killed, or my X session is restarted (i see ldm login screen again)
| |
08:34 | problem is only when i try to run wine
| |
08:35 | <rickogden> Gadi: I've been through https://wiki.ubuntu.com/DebugLocalDev and all apart from the final step is correct, but I'm not sure what is happening when I try to manually run the command (in step 4)
| |
08:35 | <alkisg> maslak: And that doesn't happen if you run that wine app on a non-ltsp client or on the server?
| |
08:35 | It only happens on ltsp clients?
| |
08:35 | <maslak> exactly UniPaas enviroment, which works fine locally on server or standalone machine
| |
08:35 | <alkisg> Have you tried with LDM_DIRECTX=True?
| |
08:35 | <Gadi> rickogden: you mean "id"?
| |
08:36 | oh
| |
08:36 | you mean ssh....
| |
08:36 | <maslak> alkisg : it hapens only on low-budget and weak hardware, when I use thin clent with 1Gb of ram, and good graphic card everythink owrk fine
| |
08:36 | <alkisg> (04:42:08 μμ) alkisg: Have you tried with LDM_DIRECTX=True?
| |
08:36 | <maslak> alkisg : yes, didn't help...
| |
08:36 | <rickogden> Gadi, yeah the ssh
| |
08:36 | <alkisg> maslak: maybe you didn't use it correctly, it should make a huge difference
| |
08:36 | <rickogden> it says "Authentication failed"
| |
08:37 | <Gadi> rickogden: ok, you ran it from a shell on the thin client, right (not in a teerminal window in ldm)
| |
08:38 | <rickogden> Gadi: yes, I enabled root and logged in as root on the thin client
| |
08:38 | <Gadi> rickogden: seems there is an issue with you X authority
| |
08:39 | local devices uses X security to make sure other users cannot read your devices
| |
08:39 | <rickogden> oh ok
| |
08:39 | <Gadi> try logging out as that user
| |
08:39 | then, on the server, delete the user's ~/.Xauthority
| |
08:39 | if it exists
| |
08:39 | then log back in
| |
08:40 | komunista has joined #ltsp | |
08:40 | <maslak> alkisg : it makes the difference - but as resuld of my observations - it still isn't enaugh to launch app... I see overload when I try to launch wine app - when I use: LDM_DIRECTX=True - my x session dies, and see ldm again - when i use LDM_DIRETX=False program won't launch... i see process is starting, but it dies after a while - same problem does not appear when I use VNC to Xsession on my server ... everything is fine ...
| |
08:41 | <rickogden> Gadi: still the same error
| |
08:41 | <maslak> komunista : you have polish looking nickname - are you polish ?
| |
08:42 | <alkisg> maslak: what do you see in the user's ~/.xsession-errors when X dies?
| |
08:42 | <komunista> no, but near :-)
| |
08:42 | <alkisg> And, have you tried with a different graphics card?
| |
08:44 | <maslak> alkisg : when i use nvidia and p4 3Ghz, 1Gb ram - works fine - but now i try to use as client hp t5530 (thin client) and tehre is no way to use other graphic card...
| |
08:44 | <Gadi> rickogden: hmm... does this work: ssh -X -S /var/run/ldm_socket_vt7_192.168.0.254 192.168.0.254 "LTSPFS_NOAUTH=True /usr/sbin/ltspfsmounter /tmp add"
| |
08:44 | <alkisg> maslak: what does that have? openchrome drivers?
| |
08:44 | <maslak> I've asked about vnc protocol, becouse thats easiest solution ;)
| |
08:45 | <alkisg> Sure you could use e.g. nx to access the server, but you'd need to write a screen script for that.
| |
08:45 | <maslak> alkisg : you r asking about my present thinclient(hp?) ?
| |
08:45 | <alkisg> Yes
| |
08:45 | <rickogden> Gadi: no difference :(
| |
08:46 | <maslak> alkisg : graphic is: VGA compatible controller: VIA Technologies, Inc. CN700/P4M800 Pro/P4M800 CE/VN800 [S3 UniChrome Pro] (rev 01)
| |
08:46 | <alkisg> maslak: try disabling compiz
| |
08:46 | !compiz
| |
08:46 | <ltspbot> alkisg: "compiz" :: if compiz is giving you problems, one way to disable it for all users is: sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /desktop/gnome/session/required_components/windowmanager metacity
| |
08:46 | <maslak> compiz is removed form server
| |
08:47 | alkisg : it was my first move an it was remove --purge compiz* :)
| |
08:47 | <alkisg> Heh :)
| |
08:47 | <Gadi> rickogden: what distro are you running?
| |
08:47 | <rickogden> Ubuntu Lucid
| |
08:47 | <Gadi> rickogden: normal install?
| |
08:47 | <alkisg> maslak: I've had X crashing with my openchrome client too but not on wine. It's still crashing but it's a little better now that I disabled compiz.
| |
08:48 | <rickogden> hmm... I have spotted some scripts that someone else has put there that are being run on SSH to allow local mounting from thinstation... maybe they're interfering
| |
08:48 | Gadi: yes, pretty much
| |
08:48 | <Gadi> ah, that might be it
| |
08:49 | <rickogden> it's coming up with the messages: NXFOLDER is (null), NX_ROOT is (null), nxsession is (null)/(null)/session
| |
08:49 | <maslak> alkisg : I can oly assume that, becouse i did'n chech yet - but I have thow ltsp servers now - old k12 onfedora (it uses VNC for display) and ubuntu lucid - both have some +/-...
| |
08:50 | <rickogden> I'll look into that
| |
08:50 | <maslak> ... easiest way for me would be to run vnc to gdm directly (as in ol K12)
| |
08:50 | <Gadi> maslak: I believe vnc has an option to run a single command, you can always run just the wine application in vnc
| |
08:50 | komunista has quit IRC | |
08:51 | <Gadi> k12ltsp never used vnc for the thin clients
| |
08:51 | only to remote into the server
| |
08:51 | <maslak> Gadi : that's not an option for me - users must have everything in one desktop, and I need it to be one gnome desktop...
| |
08:52 | Gadi : previous admin used it for every desktop, but i'm not familliar with fedora based sollutions, they are quite dofferent than debian based ...
| |
08:52 | <Gadi> maslak: you can always make your own session and make it the default
| |
08:52 | so, make a session that runs vnc
| |
08:53 | LTSP simply runs: ssh -X .... /etc/X11/Xsession <session>
| |
08:53 | by default, <session> = gnome
| |
08:53 | but, you can create our own
| |
08:54 | <maslak> as I understand how wine treats my dosplay now - I'll get the same problem with KDE, Gnome, and others if I use X as a direct display to it....
| |
08:55 | <Gadi> correct
| |
08:55 | vnc only works because it runs an Xserver on the server
| |
08:55 | so it is independent of your client's xserver
| |
08:56 | <maslak> so what i need is working vnc-server with different resolutions pointing to gdm, or other login manager ...
| |
08:56 | to get login into specific user server-side ...
| |
08:57 | <Gadi> maybe
| |
08:57 | but, with ldm, you already have login
| |
08:57 | I dont see why gdm has to play at all
| |
08:58 | your <session> can simply be "run vncserver and vncviewer", or use Xephyr instead
| |
08:58 | and "run Xephyr"
| |
09:27 | <maslak> any closer tips - or howto ?
| |
09:28 | and i'd like to keep system secure - what happens when I try to run miltiple vncserver instances with no password? may it be possible to just connect to: server:1,2,3 etc. and share/take over user's screen ?
| |
09:39 | <alkisg> Why don't you try with XSERVER=vesa on those broken openchrome terminals first?
| |
09:41 | litlebuda has joined #ltsp | |
09:41 | <maslak> on xserver=vesa seems to be more stable ;) but it still isn't goo enaugh (still overloading)
| |
09:45 | secayford has joined #ltsp | |
09:45 | alexqwesa has quit IRC | |
09:46 | alexqwesa has joined #ltsp | |
09:57 | <maslak> alkisg : i've just tried x-server vesa with ldm_directx=false - waiting for over 10 mins to load app, still nothing - X feezing (freezed most the time, cannot click anything, mouse is moving) cppu usage 10%, ram usage 90/102, swap 25/25megs (a asume it uses built in flash memory as swap)
| |
09:59 | ifo i recieved from wine/codeveavers hq :) is that app may be using directx (which is using at90%) and that's what causing problems...
| |
10:07 | <alkisg> maslak: swap is compcache, you can disable it by passing nocompcache as a kernel parameter
| |
10:07 | You'll see better performance with ldm_directx=false
| |
10:07 | What's eating the CPU? sshd?
| |
10:08 | It might also be a RAM problem, try disabling compcache and enabling NBD_SWAP=True in lts.conf
| |
10:08 | <maslak> at first it was sshd, now is kswapd over 60%
| |
10:08 | <alkisg> Right, so it's probably a low ram problem
| |
10:08 | In pxelinux.cfg/default, add nocompcache
| |
10:08 | <maslak> could you give me more step-by step how to disable swap for single machine ?
| |
10:08 | <alkisg> And in lts.conf, add NBD_SWAP=True
| |
10:08 | For a single machine you'd need a pxelinux/01-macaddress file
| |
10:09 | Copy pxelinux.cfg/default to 01-11-22-33-44-55-66
| |
10:09 | 01- is a standard prefix for ethernet, the others are that PCs mac addresss
| |
10:10 | Then, on that file replace "quiet splash" with "nocompcache"
| |
10:10 | <maslak> can I use hostname it it has tobe mac directly ?
| |
10:10 | <alkisg> It has to be either a mac address or an IP
| |
10:10 | (ip in hex numbers)
| |
10:10 | <maslak> ;) no easy way ;P
| |
10:12 | <alkisg> maslak: that wine app runs on the *server*, right? You didn't install it as a localapp and expect it to work with 128 RAM...
| |
10:13 | <maslak> all apps are on server
| |
10:13 | there are no localapps
| |
10:13 | <alkisg> OK, just checking :)
| |
10:13 | <maslak> ;]
| |
10:14 | yesterday tried witch localapps=false for sure :P
| |
10:14 | japerry has joined #ltsp | |
10:15 | <maslak> just to be sure 1. copy default to 11:22... (just mac address) and add nocompcache at the end as new line ?
| |
10:15 | hawkI has quit IRC | |
10:15 | <alkisg> Remember 01- at the start of the filename (better post the filename to be sure)
| |
10:16 | No, not as a new line. In the same line where quiet splash is. That makes it a kernel parameter.
| |
10:16 | To verify, when you boot the client, get a localxterm, and run the following commands:
| |
10:16 | !localxterm
| |
10:16 | <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.
| |
10:17 | <alkisg> lsmod | grep ram ==> you shouldn't see anything
| |
10:17 | ps ax | grep nbd ==> you should be seeing nbd-client /dev/nbd1, i.e. a swap file
| |
10:17 | And `free` should say that you have a 64Mb swap file.
| |
10:18 | <maslak> i've changed my nbd swap filesize to 256mb - but i supose that's not a good idea over a 100mbit network ?
| |
10:18 | my config fiename is: 01-00:1b:78:91:44:7d
| |
10:19 | <alkisg> No that's not right
| |
10:20 | 01-00-1b-78-91-44-7d
| |
10:20 | <maslak> ;]
| |
10:20 | ok
| |
10:21 | <alkisg> Well a 64Mb or at most a 128Mb swap file should be more than enough for an 128MB-RAM client. If it tries to use more, you've got a problem (memory leak? running apps locally instead of on the server?)
| |
10:21 | Also post the contents of that pxelinux.cfg/01-00-1b-78-91-44-7d file just to make sure.
| |
10:22 | chupacabra has quit IRC | |
10:22 | staffencasa has joined #ltsp | |
10:26 | gnunux has quit IRC | |
10:34 | rickogden has quit IRC | |
10:34 | <maslak> ok
| |
10:34 | label ltsp
| |
10:34 | kernel vmlinuz
| |
10:34 | append ro initrd=initrd.img quiet splash nbdport=2000 nocompcache
| |
10:34 | label ltsp
| |
10:34 | kernel vmlinuz
| |
10:34 | append ro initrd=initrd.img quiet splash nbdport=2000 nocompcache
| |
10:35 | sorry - flood ;/
| |
10:35 | if I want to see dmesg while booting just remove "splash" ?
| |
10:36 | <alkisg> And quiet.
| |
10:36 | Any progress with that and with NBD_SWAP=True?
| |
10:37 | <maslak> rebooting client - i saw in dmesg - nbd0 - unknown partition table....
| |
10:37 | <alkisg> That's not a problem, it always says that
| |
10:38 | dobber has quit IRC | |
10:39 | <maslak> not good... now my tc hanged itself ...
| |
10:40 | i was checking at htop performance stats... and while loading app... 100% cpu, 80% ram, and 13/256mb swap
| |
10:41 | komunista has joined #ltsp | |
10:41 | <alkisg> What was using the cpu?
| |
10:41 | <maslak> ssh tunnel
| |
10:42 | <alkisg> Right, LDM_DIRECTX=True will solve that.
| |
10:43 | (you can specify it per client)
| |
10:44 | dobber has joined #ltsp | |
10:44 | dobber_ has joined #ltsp | |
10:45 | <maslak> changed the swap settings to defaults, now it made 64mb swap, 90% mem usage by X, 90% cpu by ssh ... XSERVER=vesa
| |
10:46 | tc freezed after reaching 100% of swap ....
| |
10:46 | <alkisg> It shouldn't use that much ram locally
| |
10:46 | So if you run it on an nvidia client, how much ram does it use to get up and running?
| |
10:47 | <maslak> give me a minute i'll check on different machine ..
| |
10:50 | rad4Christ has joined #ltsp | |
10:56 | japerry has quit IRC | |
10:56 | cyberorg has quit IRC | |
10:56 | tstafford has quit IRC | |
10:56 | dobber_ has quit IRC | |
10:56 | dobber has quit IRC | |
10:58 | cyberorg has joined #ltsp | |
10:58 | tstafford has joined #ltsp | |
11:00 | japerry has joined #ltsp | |
11:00 | <maslak> just checked on a dell gx260 - 1GB Ram, i915 graphics card
| |
11:01 | max ram usage 50% for a while, cpu max 80%, but just durring the start when it is running 40Mb ram is used, cpu is jumping up to 20%
| |
11:01 | swap which it has ( i asume it is on local hdd) untouched
| |
11:02 | <alkisg> So it got to use 512MB of RAM locally? That's definately a problem
| |
11:03 | Did you manage to see which process was using that ram?
| |
11:03 | <maslak> X
| |
11:04 | but there is another problem my thin clients are going to be: hp t5350
| |
11:04 | one big problem 128mb ram, shared with wideo memory
| |
11:05 | everything is embeded
| |
11:05 | (onboard)
| |
11:05 | cheap, energy and noise effective ;)
| |
11:06 | olny problem is that nasty wine... which ruins my whole ltsp idea ...
| |
11:06 | <alkisg> Try the X_RAMPREC lts.conf directive, maybe it'll help. I guess wine is trying to use a lot of memory for pixmaps...
| |
11:07 | Anyway, bbl, good luck
| |
11:07 | alkisg has quit IRC | |
11:08 | <maslak> x_ramperc set to 80 kills wine ;)
| |
11:09 | is there any possibility to set video memory size ?
| |
11:09 | maybe this will help...
| |
11:10 | or how to check memory of video used at now
| |
11:19 | siki has joined #ltsp | |
11:25 | slidesinger has joined #ltsp | |
11:39 | PMantis has joined #ltsp | |
11:50 | siki has quit IRC | |
12:03 | alkisg has joined #ltsp | |
12:06 | siki has joined #ltsp | |
12:11 | alexqwesa_ has joined #ltsp | |
12:13 | alexqwesa has quit IRC | |
12:16 | rad4Christ has quit IRC | |
12:18 | <bieb> Hello
| |
12:25 | <Appiah> \o
| |
12:31 | <bieb> cliebow: How's it going Chuck?
| |
12:33 | !S
| |
12:33 | <ltspbot> bieb: "S" :: Scotty!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| |
12:34 | <bieb> sbalneav: how goes it in the great white north??
| |
12:40 | rad4Christ has joined #ltsp | |
12:42 | <alkisg> !seen sbalneav
| |
12:42 | <ltspbot> alkisg: sbalneav was last seen in #ltsp 2 weeks, 6 days, 1 hour, 1 minute, and 29 seconds ago: <sbalneav> win 1
| |
12:42 | <bieb> where is he hiding?
| |
12:42 | vacation or something?
| |
12:42 | <alkisg> He's either at a beach or blocked by the snow, can't decide which...
| |
12:42 | :P
| |
12:42 | <bieb> lol
| |
12:43 | <alkisg> (probably too much work)
| |
12:43 | <bieb> I hear that
| |
12:44 | alkisg: I am getting ready to do a presentation at a Law School conference about using LTSP in their labs.. it worked well for me last summer.. and everyone in here was a great help...
| |
12:44 | I thought about doing an install during my presentation to show how easy the basic config is.. but I can't get the Ubuntu ltsp server installed in less than 45 mins.. any ideas?
| |
12:46 | <alkisg> Why not? Does it need internet access?
| |
12:46 | I think it should be doable in about 30 mins...
| |
12:46 | (depending on the hardware, of course)
| |
12:47 | If you're trying with a CD, try with a usb stick instead.
| |
12:47 | <bieb> no.. I did the install yesterday of 9.10 and it took over an hour and a half
| |
12:48 | Lns has joined #ltsp | |
12:49 | <bieb> alkisg: you have link to a good how to .. to build the USB stick? I will have to see if this PC's BIOS even boots from USB.. its an old Dell Optiplex GX 260
| |
12:50 | <alkisg> Ah, if it's old maybe you could show the edubuntu live ltsp instead
| |
12:50 | To create a usb stick you just go to system > settings > usb creator or something like that (I don't have english menus)
| |
12:51 | <bieb> ok.. so there is a live Cd for edubuntu?
| |
12:52 | <alkisg> Yup, the 10.04 live dvd which also contains a live ltsp script.
| |
12:52 | <bieb> cool.. I will look at that also
| |
12:58 | alkisg: how much different is 10.04 than 9.10??
| |
12:59 | alkisg has quit IRC | |
13:01 | peter_tm has joined #ltsp | |
13:14 | Selveste1 has quit IRC | |
13:18 | Selveste1 has joined #ltsp | |
13:28 | <PMantis> !seen pmantis
| |
13:28 | <ltspbot> PMantis: pmantis was last seen in #ltsp 1 week, 4 days, 22 hours, 12 minutes, and 49 seconds ago: <PMantis> #xfce hasn't been helpful so far. Anyone here know how to eliminate the desktop icons for all users of an LTSP server on Xubuntu?
| |
13:28 | <PMantis> LOL
| |
14:05 | vagrantc has joined #ltsp | |
14:08 | rad4Christ has quit IRC | |
14:10 | siki has quit IRC | |
14:11 | <cliebow> bieb:howdy..maybe you should do like the cooking shows..put in a casserole and have one ready to show off
| |
14:11 | <PMantis> cliebow, LOL
| |
14:12 | <cliebow> you are quick for someone h=who hasnt been here for eleven days
| |
14:12 | <PMantis> Not a bad idea, actually.
| |
14:13 | Funny, I *JUST* un-minimixed XChat.
| |
14:13 | <cliebow> that is odd
| |
14:13 | <PMantis> No, just timing. :)
| |
14:17 | <bieb> cliebow: that is a good idea...
| |
14:17 | maybe show the Ubuntu boot screen.. then.. remove CD and boot
| |
14:20 | <cliebow> worth a shot anyway..
| |
14:20 | <bieb> very true
| |
14:21 | at last years conf someone presented on Windows terminal services.. wanted to show how quick and easy it is to install LTSP
| |
14:30 | abeehc has joined #ltsp | |
14:34 | Ghidorah has joined #ltsp | |
14:35 | <Ghidorah> Anyone use pam_mount in here?
| |
14:40 | <vmlintu> Ghidorah: I used to
| |
14:40 | <Ghidorah> do you use something else now?
| |
14:40 | <vmlintu> autofs
| |
14:41 | <Ghidorah> any reason for the switch?
| |
14:41 | <vmlintu> The setup is now different, we used to need cifs mounts before, but now it's all nfs4
| |
14:43 | pam_mount itself worked quite nicely after getting it setup
| |
14:43 | <Ghidorah> I'm having a heck of a time with it
| |
14:43 | the %(DOMAIN_USER) is making me pull my hair out.
| |
14:44 | <vmlintu> Setting it up was not easy, I remember
| |
14:44 | <Ghidorah> my problem is the %(DOMAIN_USER) returns the username of the user
| |
14:44 | but with it's proper case so SSmith01
| |
14:44 | while likewise-open creates the home dir with it all in lower case
| |
14:45 | %(USER) returns domain\user
| |
14:45 | vagrantc has quit IRC | |
14:47 | <vmlintu> I didn't have any mixed case usernames if I remember correctly
| |
14:47 | what kind of mount command do you have in pam_mount.conf?
| |
14:49 | <Ghidorah> <volume options="dmask=0700" sgrp="student" user="*" fstype="cifs" server="server" path="home/student/%(DOMAIN_USER)" mountpoint="/home/Domain/%(DOMAIN_USER)/USer_Drive" />
| |
14:50 | <vmlintu> hmm, looks like the configuration file format has changed quite a bit since I last used it
| |
14:50 | My notes have a flat file structure with no xml..
| |
14:51 | vagrantc has joined #ltsp | |
14:51 | <Ghidorah> yeah it now uses a xml file
| |
14:52 | <vmlintu> the old format let you specify the mount command so you could have written a script to wrap the actual mount command and lowercase the username..
| |
14:55 | <Ghidorah> that is what I'm looking to do
| |
14:56 | I just don't know if i can.
| |
14:58 | litlebuda has quit IRC | |
15:11 | dobber_ has joined #ltsp | |
15:22 | <abeehc> i use that a bit, Ghidorah
| |
15:23 | <Ghidorah> what versions are you running?
| |
15:23 | <abeehc> very fresh onesec
| |
15:24 | i've struggled with the user matching but my conifig uses ~
| |
15:24 | like this mountpoint="~/Shares/Data_on_file_server" />
| |
15:25 | <Ghidorah> ahh I see
| |
15:25 | <abeehc> er i've struggled with doing specific mounts based on a secondary domain group
| |
15:25 | <Ghidorah> how do you match the mount
| |
15:25 | mean the share on the server
| |
15:25 | <abeehc> <volume user="*" options="username=%(USER),sec=krb5,user=%(USER),domain=MYDOMAIN,guest" fstype="cifs" server="server.corp.com" path="data" mountpoint="~/Shares/Data_on_file_server" />
| |
15:26 | <Ghidorah> does %(USER) return the domain\user for you?
| |
15:26 | <abeehc> I'm pretty certain user only returns the username and in my experience to this point it's always lowercase
| |
15:27 | <Ghidorah> are you on Ubuntu 10.04?
| |
15:27 | <abeehc> though I don't use it in the mountpoint so i'm not sure
| |
15:27 | 9.04 and 9.10 ive' used this on
| |
15:27 | <Ghidorah> :-/
| |
15:27 | yeah it worked like a champ in 9.04 and 9.10
| |
15:27 | <abeehc> man i don't know for me champ isn't the right word
| |
15:28 | but i'm sad to hear it doesn't work perfect in 10.04
| |
15:28 | <Ghidorah> I was able to get everything working as expected on karmic
| |
15:28 | <Gadi> Ghidorah: maybe you should play with the likewise settings instead
| |
15:28 | ie. have it always return lowercase username
| |
15:28 | <abeehc> yeah ghadi might be on to something there
| |
15:28 | <Ghidorah> likewise renders the usernames to always lower case
| |
15:29 | the problem is %(DOMAIN_USER) in pam_mount does not
| |
15:29 | <Gadi> is %(USER) always in lowercase?
| |
15:29 | <Ghidorah> yes but it is in domain\user format now
| |
15:29 | <Gadi> do you have more than 1 domain?
| |
15:29 | <Ghidorah> no
| |
15:30 | <Gadi> then set likewise to use default domain
| |
15:30 | <Ghidorah> I do
| |
15:30 | rather I have.
| |
15:30 | but when you login
| |
15:30 | <Gadi> ah, then you should never get domain\user as the username
| |
15:31 | <abeehc> http://davidmburke.com/2010/03/30/linux-and-active-directory/
| |
15:31 | * in 10.04 %(USER) gives you the domain/user. If you just want the user use %(DOMAIN_USER)
| |
15:31 | <Ghidorah> aye
| |
15:31 | * PMantis thinks that seems backward. LOL | |
15:32 | <abeehc> yeah i can't say that is for sure accurate
| |
15:32 | <Gadi> there was a version of likewise-open shipped with Lucid that was broken wrt default domain
| |
15:32 | I think you need the one from the ppa to work properly
| |
15:32 | lemme find a link
| |
15:33 | <PMantis> abeehc, I have no experience with likewise, but it just seems backward. DOMAIN_USER for just user, but USER for domain\user
| |
15:33 | <Ghidorah> I'm using the ppa
| |
15:33 | <Gadi> http://ubuntuforums.org/showthread.php?t=1430347&page=2
| |
15:33 | danno has joined #ltsp | |
15:33 | <Gadi> (post #16)
| |
15:33 | <abeehc> yeah i agree PMantis
| |
15:34 | Ghidorah: on a side note i'm wondering if you had to modify pam.d/common-session?
| |
15:34 | <Ghidorah> I did
| |
15:34 | I had to change the order
| |
15:35 | <danno> I have ltsp up and running on ubuntu 10.04. I want to install sabayon. Do I install it in the chroot or the server root?
| |
15:36 | <johnny> server root
| |
15:36 | unless you're using fat clients
| |
15:36 | <danno> Yes - I'm using fat clients
| |
15:37 | <johnny> then you'd have to install in 2 places
| |
15:38 | one on the fat client chroot
| |
15:38 | and then on aother machine where you create the profile
| |
15:38 | then you'd copy the created profile to your chroot
| |
15:39 | <danno> Thanks johnny I 'll do that now.
| |
15:40 | <PMantis> sabayon? Isn't that a distro?
| |
15:42 | <abeehc> they share the name i think http://live.gnome.org/Sabayon/
| |
15:50 | komunista has quit IRC | |
15:51 | <johnny> yes.. they share a name .
| |
15:51 | gnome sabayon should probably be renamed to gnome user profile tool or something
| |
15:51 | the menu option is already called "User Profiles"
| |
15:52 | dobber_ has quit IRC | |
15:59 | bieb has left #ltsp | |
16:13 | <PMantis> johnny, Well, then, "gnome user profile tool", or GUPT. Perhaps a step further, "Guppy"
| |
16:13 | LOL
| |
16:16 | PMantis has quit IRC | |
16:20 | mikkel has quit IRC | |
16:23 | <Lns> I've been reading the 2009 thread at http://www.mail-archive.com/ltsp-discuss@lists.sourceforge.net/msg37283.html - regarding localapp printing from firefox...was this ever resolved? I'm having the exact same issue with seeing the CUPS printer from a localapp firefox, but the "print" button is grayed out and I can't actually print anything..
| |
16:26 | Gadi has left #ltsp | |
16:32 | techichick has joined #ltsp | |
16:42 | alkisg has joined #ltsp | |
17:05 | danno has quit IRC | |
17:08 | highvoltage has quit IRC | |
17:10 | _gentgeen_ has joined #ltsp | |
17:11 | _gentgeen_ has joined #ltsp | |
17:13 | _gentgeen_ has quit IRC | |
17:18 | secayford has quit IRC | |
17:30 | techichick has left #ltsp | |
17:38 | vagrantc has quit IRC | |
17:44 | <maslak> hello
| |
17:45 | is there a possibility to run some shell commands on ltsp client defined at lts.conf ?
| |
17:46 | for eg. i'd like to run some client-dependent (ip/hostname) scripts defined previously in chroot enviroment ...
| |
17:47 | <alkisg> !lts.conf
| |
17:47 | <ltspbot> alkisg: "lts.conf" :: http://manpages.ubuntu.com/lts.conf
| |
17:47 | <alkisg> maslak: see RCFILE_01 there ^^^
| |
17:47 | <maslak> ;]
| |
17:50 | i don't think rcfile is what I need ... eventually i'd have to create many files containing various combinations ...
| |
17:50 | i'd like to run command1 & command2 & command3
| |
17:51 | as root, invisible to user
| |
17:51 | but i also can use rcfile_0=command0,rcfile_1=command1 etc ...
| |
17:52 | that's some solution but i'm hoping to get sth more elastic ...
| |
17:52 | <alkisg> Can you be more specific? I can't imageine why rcfile isn't what you want
| |
17:52 | You'd like to be able to modify the commands without updating the chroot?
| |
17:53 | <maslak> i'm going to use my thnclients as mjpeg streaming servers for usb cameras connected to them
| |
17:53 | <alkisg> Then having a shell there would be nicer, than having just an rcfile
| |
17:53 | <maslak> sample command: mjpg_streamer -i "input_uvc.so -d /dev/video1 --yuv -r 320x240 --fps 5" -o "output_http.so -p 8081" -b
| |
17:54 | <alkisg> If the command is always the same, then an rcfile would also do the work
| |
17:54 | <maslak> problem is that same for eg. video0 can be diferent model with different parameters ...
| |
17:55 | and according to port i connect camera, and it's order - devices will change ...
| |
17:56 | <alkisg> Wouldn't it be better then to have a script autodetect the device number?
| |
17:56 | <maslak> now i'm testing zoneminder + cheap usb webcams + cheap terminals, to create low-cost but effective mnitoring sollution in my company ...
| |
17:57 | <alkisg> You could probably even have an udev rule to make them always have a specific name
| |
17:57 | <maslak> sorting them by hrdware id number ? and giving always same /dev/videoX ....
| |
17:57 | ?
| |
17:58 | <alkisg> Something like that, yes...
| |
17:59 | <maslak> looks like something to learn ;) but not enaugh time for now to do this...
| |
17:59 | ;]
| |
17:59 | and what happens when I get 2,3 or more identical webcams ... ;)
| |
18:01 | <alkisg> Whatever you want to happen, I imagine that udev rules are flexible enough to do what you want with them
| |
18:02 | Or you could just autodetect the devices names, whatever those are..
| |
18:05 | alkisg has quit IRC | |
18:08 | peter_tm has quit IRC | |
18:09 | maslak has quit IRC | |
18:10 | maslak has joined #ltsp | |
18:14 | Lns has quit IRC | |
18:41 | staffencasa has quit IRC | |
18:43 | chupacabra has joined #ltsp | |
19:17 | johnny has left #ltsp | |
19:18 | johnny has joined #ltsp | |
20:46 | vagrantc has joined #ltsp | |
20:46 | jammcq has joined #ltsp | |
20:46 | <jammcq> ping sbalneav
| |
20:46 | * vagrantc waves | |
20:47 | <jammcq> hey vagrantc
| |
20:47 | <vagrantc> jammcq: y'all headin south soonish?
| |
20:47 | <jammcq> you gonna be in NYC for debconf?
| |
20:47 | south?
| |
20:47 | for brazil ?
| |
20:47 | * jammcq isn't gonna make it to FISL this year :( | |
20:48 | <vagrantc> doh
| |
20:48 | jammcq: yeah, i'll be in nyc
| |
20:48 | <jammcq> i'd like to try to make it to nyc. not sure yet
| |
21:13 | <vagrantc> jammcq: i'll be there from the 27th till the 8th
| |
21:13 | <jammcq> cool. where are you staying?
| |
21:14 | <vagrantc> jammcq: at the conference
| |
21:22 | vagrantc has quit IRC | |
21:36 | ogra_cmpc has quit IRC | |
21:37 | ogra_cmpc has joined #ltsp | |
21:45 | vmlintu has quit IRC | |
21:49 | Egyptian[Home] has quit IRC | |
22:01 | pmatulis has quit IRC | |
22:03 | Egyptian[Home] has joined #ltsp | |
22:15 | ogra_cmpc has quit IRC | |
22:15 | ogra has quit IRC | |
22:18 | peter_tm has joined #ltsp | |
22:29 | ogra has joined #ltsp | |
22:29 | ogra_cmpc has joined #ltsp | |
22:35 | <slidesinger> tftp-hpa -- netstat shows as running, but all file transfers time out. The only thing I changed in /etc/default/tftpd-hpa was RUN_DAEMON="no" to RUN_DAEMON="yes" Anyone have any ideas?
| |
22:36 | peter_tm has left #ltsp | |
22:38 | <johnny> kill it and try again?
| |
22:38 | <slidesinger> Tried that, several times.
| |
22:43 | <johnny> is this ubuntu?
| |
22:43 | if so.. please turn off RUN_DAEMON
| |
22:44 | perhaps even in debian, i'm not quite sure if they use openbsd-inetd for ltsp
| |
22:44 | like ubuntu does
| |
22:44 | <slidesinger> johnny: Is debian, and yes the use openbsd-inetd.
| |
22:44 | <johnny> then you're trying to start 2 daemons on one port, that won't work
| |
22:44 | as inetd is already going to want to start tftp
| |
22:45 | if you start the the tftp daemon via /etc/init.d/tftp-hpa, it's gonna conflict
| |
22:47 | <slidesinger> Trying that now.
| |
22:49 | <johnny> why did you initially want to change RUN_DAEMON?
| |
22:49 | was something else not workign?
| |
22:49 | <slidesinger> Read that in docs for debian/ubuntu
| |
22:49 | <johnny> but it was working before?
| |
22:50 | <slidesinger> Don't know.
| |
22:50 | I did not try until after making the change.
| |
22:50 | <johnny> ah, well make sure /etc/inetd.conf does start a tftp server then
| |
22:51 | * johnny has never used ltsp on debian | |
22:51 | <johnny> maybe you should do daemon mode, i just know how ubuntu does it with openbsd-inetd
| |
22:51 | otherwise there might actually be a tftp problem
| |
22:55 | <slidesinger> /etc/init.d/tftpd-hpa start error: tftpd-hpa disabled in /etc/default/tftpd-hpa
| |
22:55 | So that is not it.
| |
23:01 | <johnny> you didn't answer my question
| |
23:01 | or rather
| |
23:01 | you didn't look in /etc/inetd.conf to see if it started tftp or not
| |
23:05 | <slidesinger> Ah, yes I did. The line is: tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -l -s /var/lib/tftpboot
| |
23:07 | <johnny> ok, so then you don't want to use /etc/init.d/tftpd-hpa, inetd will automatically start them for you
| |
23:07 | or should
| |
23:08 | <slidesinger> OK, netstat -a | grep tftp will confirm that it is running?
| |
23:09 | <johnny> no
| |
23:09 | it gets started on demand
| |
23:09 | <slidesinger> How can I confirm that it is running?
| |
23:09 | <johnny> try booting a client :)
| |
23:09 | or use a tftp client on your terminal
| |
23:10 | <slidesinger> OK, I'll try the tftp client as the client is not picking anything up.
| |
23:13 | tftp 192.168.1.103
| |
23:13 | tftp> get test
| |
23:13 | Transfer timed out.
| |
23:18 | <johnny> is there that file?
| |
23:19 | also, check your daemon logs, i wonder if there is some other problem
| |
23:20 | <slidesinger> Yes, there is such a file.
| |
23:21 | Log:
| |
23:21 | Jun 16 00:20:46 ss inetd[2294]: /usr/sbin/in.tftpd: exit status 0x4700
| |
23:21 | Jun 16 00:20:46 ss in.tftpd[3673]: cannot bind to local socket: Address already in use
| |
23:22 | Jun 16 00:20:46 ss inetd[2294]: tftp/udp server failing (looping), service terminated
| |
23:22 | These are the unique messages.
| |
23:22 | <johnny> uhmm.. ps ax | grep tftp ?
| |
23:23 | <slidesinger> No PID
| |
23:23 | So not running?
| |
23:23 | <johnny> netstat -ltpn | grep 69
| |
23:24 | <slidesinger> tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1969/sshd
| |
23:24 | tcp6 0 0 :::22 :::* LISTEN 1969/sshd
| |
23:24 | Nothing else.
| |
23:26 | <johnny> do you have more than 1 entry in /etc/inetd.conf for tftp? do you use dnsmasq? any other tftp programs in /etc/init.d ?
| |
23:27 | <slidesinger> No, no, and no.
| |
23:57 | dobber_ has joined #ltsp | |