00:04 | ry has joined IRC (ry!~ry@static-71-183-64-28.nycmny.fios.verizon.net) | |
00:12 | leio has joined IRC (leio!~leio@gentoo/developer/leio) | |
00:15 | leio_ has left IRC (leio_!~leio@gentoo/developer/leio, Ping timeout: 252 seconds) | |
00:20 | Hyperbyte has left IRC (Hyperbyte!jan@middelkoop.cc, Ping timeout: 258 seconds) | |
00:26 | mgariepy has left IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy, Ping timeout: 255 seconds) | |
00:29 | mgariepy has joined IRC (mgariepy!~mgariepy@nat/revolutionlinux/x-ylzqmbwidqamhzms) | |
00:29 | mgariepy has joined IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy) | |
00:37 | brunolambert has left IRC (brunolambert!~brunolamb@gw-dcmtl.rlnx.com, Ping timeout: 276 seconds) | |
01:33 | staffencasa has left IRC (staffencasa!~staffenca@128-193-144-197.oregonstate.edu, Ping timeout: 252 seconds) | |
01:55 | jhutchins has left IRC (jhutchins!~jonathan@64-151-37-66.dyn.everestkc.net, Remote host closed the connection) | |
01:58 | jhutchins has joined IRC (jhutchins!~jonathan@64-151-37-66.dyn.everestkc.net) | |
02:14 | leio_ has joined IRC (leio_!~leio@24.204.191.90.dyn.estpak.ee) | |
02:14 | leio_ has joined IRC (leio_!~leio@gentoo/developer/leio) | |
02:15 | Hyperbyte has joined IRC (Hyperbyte!jan@middelkoop.cc) | |
02:17 | leio has left IRC (leio!~leio@gentoo/developer/leio, Ping timeout: 252 seconds) | |
02:32 | brunolambert has joined IRC (brunolambert!~brunolamb@gw-dcmtl.rlnx.com) | |
02:35 | shogunx has left IRC (shogunx!~shogunx@rrcs-67-79-182-235.se.biz.rr.com, Read error: No route to host) | |
02:50 | andygraybeals has joined IRC (andygraybeals!~andy@h161.205.213.151.dynamic.ip.windstream.net) | |
03:11 | Lns has joined IRC (Lns!~Lns@76-191-128-251.dsl.dynamic.sonic.net) | |
03:11 | Lns has joined IRC (Lns!~Lns@pdpc/supporter/professional/lns) | |
03:36 | cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Ping timeout: 276 seconds) | |
03:57 | Damianos has left IRC (Damianos!~Damianos@adsl-070-145-074-043.sip.cha.bellsouth.net) | |
04:00 | MorningSon has left IRC (MorningSon!~MorningSo@cpe-70-117-27-48.satx.res.rr.com, Quit: WeeChat 0.3.0) | |
04:06 | shogunx has joined IRC (shogunx!~shogunx@rrcs-67-79-182-235.se.biz.rr.com) | |
04:17 | leio has joined IRC (leio!~leio@gentoo/developer/leio) | |
04:20 | leio_ has left IRC (leio_!~leio@gentoo/developer/leio, Ping timeout: 252 seconds) | |
04:21 | loather-work has joined IRC (loather-work!~khudson@wsip-98-175-250-115.sd.sd.cox.net) | |
04:22 | drdata has joined IRC (drdata!~drdata@pool-173-57-189-158.dllstx.fios.verizon.net) | |
04:27 | andygraybeals has left IRC (andygraybeals!~andy@h161.205.213.151.dynamic.ip.windstream.net, Quit: Ex-Chat) | |
04:29 | cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg) | |
04:47 | staffencasa has joined IRC (staffencasa!~staffenca@128-193-144-197.oregonstate.edu) | |
04:52 | loather-work has left IRC (loather-work!~khudson@wsip-98-175-250-115.sd.sd.cox.net, Quit: This computer has gone to sleep) | |
04:57 | Parker955 is now known as Parker955_Away | |
05:19 | bakytn has joined IRC (bakytn!5e8fc0ea@gateway/web/freenode/ip.94.143.192.234) | |
05:21 | <bakytn> hello, is there any way to customize LDM input boxes? just to make them larger the same (for username and password inputs)
| |
05:23 | dobber has joined IRC (dobber!~dobber@213.169.45.222) | |
06:10 | sep has joined IRC (sep!~sep@40.211.jostedal.no) | |
06:17 | leio_ has joined IRC (leio_!~leio@gentoo/developer/leio) | |
06:20 | leio has left IRC (leio!~leio@gentoo/developer/leio, Ping timeout: 264 seconds) | |
06:46 | bobapple has joined IRC (bobapple!~bsh@DSL01.212.114.206.81.ip-pool.NEFkom.net) | |
06:49 | drdata has left IRC (drdata!~drdata@pool-173-57-189-158.dllstx.fios.verizon.net, Ping timeout: 250 seconds) | |
07:05 | staffencasa has left IRC (staffencasa!~staffenca@128-193-144-197.oregonstate.edu, Ping timeout: 258 seconds) | |
07:10 | loather-work has joined IRC (loather-work!~khudson@wsip-98-175-250-115.sd.sd.cox.net) | |
07:19 | gnunux has joined IRC (gnunux!~emmanuel@194.167.18.244) | |
07:24 | <bakytn> Hello guys! is it possible to send a message to all of the LTSP users who are logged saying that the server is gonna be down for some time
| |
07:24 | like "The server will be restarted in 30 minutes, please be prepared"
| |
07:25 | loather-work has left IRC (loather-work!~khudson@wsip-98-175-250-115.sd.sd.cox.net, Quit: This computer has gone to sleep) | |
07:44 | <bakytn> !ubuntu
| |
07:44 | <ltsp> bakytn: ubuntu: a Debian based GNU/Linux distrubution that includes a Ubuntu specific version of LTSP. It can be found at http://www.ubuntulinux.org. to install ltsp on ubuntu: https://help.ubuntu.com/community/UbuntuLTSP/LTSPQuickInstall.
| |
07:51 | <bobapple> bakytn: you may want to use xauth and notify-send
| |
08:02 | nehochuha has joined IRC (nehochuha!~bakytn@airport.kg) | |
08:02 | bakytn has left IRC (bakytn!5e8fc0ea@gateway/web/freenode/ip.94.143.192.234, Quit: Page closed) | |
08:02 | nehochuha is now known as bakytn | |
08:06 | ogra_ has left IRC (ogra_!~ogra@p5098ed03.dip0.t-ipconnect.de, Excess Flood) | |
08:07 | ogra_ has joined IRC (ogra_!~ogra@p5098ed03.dip0.t-ipconnect.de) | |
08:17 | leio has joined IRC (leio!~leio@gentoo/developer/leio) | |
08:20 | leio_ has left IRC (leio_!~leio@gentoo/developer/leio, Ping timeout: 264 seconds) | |
09:14 | alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg) | |
09:36 | jasonbassett has joined IRC (jasonbassett!~jasonbass@cpc3-basl7-0-0-cust155.basl.cable.virginmedia.com) | |
10:03 | <bakytn> about printers, I have to install the drivers into chroot and not in LTSP server right?
| |
10:04 | as they are installed as network pritners am I right that I actually need to install printer drivers on the server itself, is that correct?
| |
10:04 | Gremble has joined IRC (Gremble!~Ben@cpc12-aztw24-2-0-cust146.aztw.cable.virginmedia.com) | |
10:05 | <alkisg> bakytn: for thin clients, for localapps or for fat clients?
| |
10:09 | <bakytn> not a fat clients
| |
10:09 | ok, let me start from the start
| |
10:09 | I am using Thin Clients (not fat clients) and connecting some printer
| |
10:10 | <alkisg> Thin client applications run on the server
| |
10:10 | So you only manage one single pc, the server
| |
10:10 | <bakytn> printing apps are not localapps
| |
10:10 | <bobapple> you can share the printers, and just run cups on your ltsp server
| |
10:10 | <alkisg> Whatever printer the server sees, the clients also see it
| |
10:10 | <bakytn> bobapple, yes exactly. But where should I install drivers to, to chroot env or to the server
| |
10:11 | <alkisg> So (just so you understand the concept better) your question is completely unrelated to ltsp, chroots etc
| |
10:11 | <bakytn> alkisg, server sees the printer! the problem is with drivers (I am installing them)
| |
10:11 | <alkisg> You just have one pc and one network printer
| |
10:12 | <bakytn> alkisg, you are right...I got an answer to my question logically
| |
10:12 | <alkisg> If your server cannot see the printer, or if you're having problems with drivers etc, the best place to ask is your distro channel
| |
10:12 | <bobapple> but he sais that the server sees the printer
| |
10:12 | as long as the server is able to print, the clients should also be able
| |
10:17 | leio_ has joined IRC (leio_!~leio@gentoo/developer/leio) | |
10:18 | leio has left IRC (leio!~leio@gentoo/developer/leio, Read error: Operation timed out) | |
10:22 | ogra_ has left IRC (ogra_!~ogra@p5098ed03.dip0.t-ipconnect.de, Ping timeout: 240 seconds) | |
10:23 | ogra_ has joined IRC (ogra_!~ogra@p5098ed03.dip0.t-ipconnect.de) | |
11:02 | <bakytn> is anybody using likewise-open to join server to domain? I have one question which is annoying me a lot
| |
11:09 | <Hyperbyte> Doesn't sound LTSP related, maybe #ubuntu is better place to ask this
| |
11:13 | alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.) | |
11:20 | Trixboxer has joined IRC (Trixboxer!~Trixboxer@office.supportdepartment.net) | |
11:31 | bakytn has left IRC (bakytn!~bakytn@airport.kg, Ping timeout: 264 seconds) | |
12:03 | shamino has joined IRC (shamino!shamino@hilla.kapsi.fi) | |
12:20 | leio has joined IRC (leio!~leio@gentoo/developer/leio) | |
12:23 | leio_ has left IRC (leio_!~leio@gentoo/developer/leio, Ping timeout: 252 seconds) | |
12:24 | drdata has joined IRC (drdata!~drdata@pool-173-57-189-158.dllstx.fios.verizon.net) | |
12:25 | bobapple has left IRC (bobapple!~bsh@DSL01.212.114.206.81.ip-pool.NEFkom.net) | |
12:31 | brunolambert has joined IRC (brunolambert!~brunolamb@nat/revolutionlinux/x-utpedsszidwsjvtn) | |
12:36 | <Hyperbyte> I have an OpenOffice file someone sent me, it has some quite funky markup...
| |
12:36 | When I print it, the client crashes. Not the actual server, but the client. Either it freezes completely (can't even alt+f# anymore to other screens), or X crashes
| |
12:47 | alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg) | |
12:48 | <alkisg> Hyperbyte: how much RAM does the client have?
| |
12:50 | <Hyperbyte> 1GB
| |
12:51 | <alkisg> Hm... weird
| |
12:51 | <Hyperbyte> It only freezes during printing though... can do everything else with the document as far as I've tried
| |
12:51 | <alkisg> For a workaround, you can print to file first, as a pdf, but I'd like to see the output of `top` and `xrestop` while you try to print that file frm openofice
| |
12:52 | shawnp0wers has joined IRC (shawnp0wers!~Adium@linuxjournal/staff/shawnp0wers) | |
12:52 | <mgariepy> <Hyperbyte> it seems that ooo cache the print in X.
| |
12:52 | <Hyperbyte> And actually only during printing of the first page, the one with all the markup. Pages 2 to 4 print fine.
| |
12:52 | <mgariepy> which distro are you on ?
| |
12:52 | <Hyperbyte> Ubuntu 11.04
| |
12:54 | mgariepy, any tips, or should I do the xrestop thing? :)
| |
12:54 | <mgariepy> This bug should also be present on a i386 desktop
| |
12:55 | nop i haven't had time to see this through
| |
12:56 | i only tested a bit to reproduce the issue, when using a thin client with 4G for ram it was crashing too
| |
12:56 | if i added 2G of swap, X was dying because it was using too much memory (32 bit)
| |
12:58 | <alkisg> Hyperbyte: if you try the xrestop/top thing, remember that `top` needs to run locally, e.g. in ltsp-localapps xterm
| |
12:58 | <mgariepy> if you find a solution tho i would be quite interested :)
| |
13:05 | drdata has left IRC (drdata!~drdata@pool-173-57-189-158.dllstx.fios.verizon.net, Ping timeout: 250 seconds) | |
13:13 | <mgariepy> Hyperbyte, are you using compiz ?
| |
13:13 | <Hyperbyte> Nope, nor Unity. Just classic Gnome.
| |
13:13 | <mgariepy> ok
| |
13:14 | <alkisg> It'd also be nice to see if it crashed from a standalone, non-ltsp client
| |
13:14 | Hyperbyte: can you mail me the problematic file?
| |
13:16 | <Hyperbyte> alkisg, sure.
| |
13:16 | I just got it from a collegue.
| |
13:16 | It's a .doc file
| |
13:17 | <mgariepy> if i remember well, in xrestop i wasn't seeing anything when printing, the memory used for caching was going up and was never released.
| |
13:17 | <Hyperbyte> Which has probably everything to do with it (i.e, not optimized for OpenOffice printing perhaps, or lots of markup OpenOffice doesn't understand)
| |
13:17 | <mgariepy> i had the issue with odt as well.
| |
13:18 | <Hyperbyte> alkisg, sent.
| |
13:18 | <alkisg> Got it
| |
13:22 | Print to file worked, from the server... I'll try from a client
| |
13:30 | <_UsUrPeR_> ok, last time. I am working on differentiating lts.confs based on processor count, but can't figure out a good way to tell the server what hardware the client has
| |
13:31 | I could scp a file to tmp, but that seems "dirty" to me
| |
13:32 | inventory would work on the client, but running "ltsp-localapps inventory" in a script has no return, so I can't test against the inventory list from the server side
| |
13:32 | jasonbassett has left IRC (jasonbassett!~jasonbass@cpc3-basl7-0-0-cust155.basl.cable.virginmedia.com, Quit: jasonbassett) | |
13:34 | <alkisg> _UsUrPeR_: didn't ltsp_config.d work for you?
| |
13:35 | <_UsUrPeR_> alkisg: is that a default directory?
| |
13:35 | <alkisg> Yes
| |
13:35 | <_UsUrPeR_> in 10.04?
| |
13:36 | should be in /opt/ltsp/i386 right
| |
13:36 | ?
| |
13:36 | <alkisg> Like I said the last time, anything you drop in /opt/ltsp/i386/usr/share/ltsp/ltsp_config.d/ gets executed and the results get in the client environment
| |
13:36 | So you can check /proc/cpuinfo there, and export the lts.conf vars you want
| |
13:37 | If you want, you can pastebin the code you need and we can have a look if it seems ok
| |
13:37 | <_UsUrPeR_> ok, so I have a script set up right now to test that. Is the lts.conf differentiated by filename, or by something internally?
| |
13:37 | like [multiple_cpus] and [single_cpus]
| |
13:39 | <alkisg> A quick hack would be to put a script like that in that dir:
| |
13:39 | if [ $(grep ^processor /proc/cpuinfo | wc -l) -gt 1 ]; then multicore=true; fi
| |
13:39 | if [ -n "$multicore" ]; then LTSP_FATCLIENT=True; fi
| |
13:39 | That would set LTSP_FATCLIENT=True only for multicore clients
| |
13:39 | <_UsUrPeR_> aah, and that
| |
13:39 | 's appended to the lts.conf it's already read then?
| |
13:39 | is that correct?
| |
13:39 | <alkisg> Yes
| |
13:40 | <_UsUrPeR_> ok, GREAT
| |
13:40 | thanks
| |
13:40 | <alkisg> I forgot to put "export" there though
| |
13:40 | export LTSP_XXX=yyy
| |
13:40 | Gremble has left IRC (Gremble!~Ben@cpc12-aztw24-2-0-cust146.aztw.cable.virginmedia.com, Quit: I Leave) | |
13:40 | <_UsUrPeR_> wait what?
| |
13:40 | <alkisg> if [ -n "$multicore" ]; then export LTSP_FATCLIENT=True; fi
| |
13:40 | <_UsUrPeR_> aah
| |
13:40 | <tl1000s77> Hello everyone. Quick question, how would I setup a thing client to have sound if my SCREEN_7 = rdesktop? I've tried setting RDP_OPTIONS = -r sound:local but that didn't work.
| |
13:41 | <alkisg> tl1000s77: distro/version?
| |
13:41 | <tl1000s77> ubuntu 10.04
| |
13:41 | <alkisg> It has a bug with the rdp script, let me find the launchpad page for it...
| |
13:41 | <_UsUrPeR_> thx alkis
| |
13:42 | <alkisg> In the meantime, you can try "SCREEN_07=rdesktop -r sound:local" to see if it works that way
| |
13:42 | Without RDP_OPTIONS
| |
13:42 | _UsUrPeR_: you're welcome
| |
13:42 | <tl1000s77> I'll try it now.
| |
13:43 | <alkisg> https://bugs.launchpad.net/ltsp/+bug/682706
| |
13:43 | That's the bug that describes the problem, you can get the newer rdesktop screen script from upstream to solve it, if `SCREEN_07=rdesktop params` doesn't work.
| |
13:44 | I've backported a newer ltsp version that contains the fix in my ppa, if you prefer that
| |
13:47 | <_UsUrPeR_> alkisg: so that I am sure about the directory, /opt/ltsp/i386/usr/share/ltsp/ltsp_config.d does not exist by default on an ltsp client image does it?
| |
13:48 | <alkisg> _UsUrPeR_: I think it doesn't, yet it's used if you create it
| |
13:48 | <_UsUrPeR_> ok great
| |
13:48 | just making sure I don't have some weird version issue
| |
13:48 | <alkisg> _UsUrPeR_: Remember you don't need to put #!/bin/sh in the top of the script in that dir
| |
13:48 | They're sourced, not executed
| |
13:49 | <_UsUrPeR_> oh nice
| |
13:49 | ok
| |
13:49 | <alkisg> Of course you need ltsp-update-image on every change in /opt/ltsp/i386/*
| |
13:50 | <_UsUrPeR_> well yeah :)
| |
13:54 | <tl1000s77> alkisg: SCREEN_07=rdesktop params didn't work. How would I fix this?
| |
13:56 | <alkisg> tl1000s77: can you pastebin your current lts.conf?
| |
13:56 | Hyperbyte: no crash here with 10.04 and a client with 768 RAM
| |
13:57 | <Hyperbyte> alkisg, how are you printing? With jetdirect?
| |
13:57 | <alkisg> Hyperbyte: no, to a printer attached to the ltsp server
| |
13:57 | So normal cups
| |
13:57 | <Hyperbyte> Well, I have normal cups as well, but it's configured to send to jetdirect socket.
| |
13:58 | I read somewhere in some bug report that this actually happens mostly on HP laserjet printers. I figured it might be jetdirect related.
| |
13:58 | <alkisg> It might be printer-specific (I think ppd files contain code), or even 11.04 specific
| |
13:58 | <tl1000s77> alkisg: http://pastebin.com/8pESDW6e
| |
13:59 | <Hyperbyte> PPD files don't really contain code, more settings and variables for the CUPS code to use for this printer.
| |
13:59 | It goes quite deed though, could definitely be there.
| |
13:59 | *deed->deep
| |
14:00 | <alkisg> They contain ps code snippets, don't they?
| |
14:00 | Anyway, to deep, right
| |
14:00 | <Hyperbyte> If that's what you mean with code, then yeah. :)
| |
14:00 | <alkisg> tl1000s77: the easiest way would be to get a newer ltsp version, want me to write the commands to temporarily add my ppa?
| |
14:00 | <tl1000s77> alkisg: please
| |
14:00 | <alkisg> sudo chroot /opt/ltsp/i386
| |
14:00 | add-apt-repository ppa:ts.sch.gr/proposed
| |
14:00 | apt-get update
| |
14:00 | apt-get dist-upgrade
| |
14:01 | <Hyperbyte> Anyway, if there's something wrong with the PPD, could it seriously crash X on the client?
| |
14:01 | <alkisg> tl1000s77: and, right after that: rm /ts.sch.gr-proposed-lucid.list
| |
14:01 | exit, ltsp-update-image
| |
14:01 | The "rm" at the end is so that you don't keep my repository permanately, you just use it once
| |
14:02 | Sorry
| |
14:02 | rm /etc/apt/sources.list.d/ts.sch.gr-proposed-lucid.list
| |
14:02 | Forgot the path there
| |
14:03 | Ah, and add-apt-repository might be missing from the default ltsp chroot. Let me see...
| |
14:03 | <tl1000s77> I got an error at add-apt-repository ppa:ts.sch.gr/proposed
| |
14:03 | <alkisg> Try installing add-apt-repository: apt-get install python-software-properties
| |
14:07 | <tl1000s77> Should I disconnect NBD devices?
| |
14:07 | <alkisg> It doesn't matter
| |
14:07 | <tl1000s77> I have users using it
| |
14:08 | <alkisg> It's in the chroot, right?
| |
14:08 | <tl1000s77> yes
| |
14:08 | <alkisg> It shouldn't have access to the server... but... hmmm... bugs happen...
| |
14:08 | <tl1000s77> lol...ok. I'll try it
| |
14:09 | <alkisg> It's asking about *unknown* clients anyway, so your answer doesn't matter, but if it were to restart the server nbd, then yeah your clients would have problems
| |
14:17 | (btw the nbd update wasn't related to my ppa, it's in lucid-updates)
| |
14:18 | <tl1000s77> ok, I did everything and still no sound
| |
14:18 | it also seems to be passing the user root
| |
14:19 | <alkisg> In your lts.conf, append SCREEN_02=shell and reboot the client to troubleshoot the problem
| |
14:20 | Yes with the new script, if you're using the one-liner syntax then you're supposed to provide the complete command line, so you should also put `-u ''` there, but never mind that for now
| |
14:20 | Or just use RDP_OPTIONS, it should work now, and it's easier for your use case
| |
14:21 | But do append the SCREEN_02=shell line so that we see the exact command line that rdesktop uses, maybe you have a typo somewhere?
| |
14:21 | Also, if you're *only* using rdesktop on clients, there's no point in using pulseaudio, so you might put SOUND=False in lts.conf too
| |
14:22 | All those under your [mac-section] of course
| |
14:22 | leio_ has joined IRC (leio_!~leio@gentoo/developer/leio) | |
14:24 | <tl1000s77> should I comment out SCREEN_07?
| |
14:24 | <alkisg> No, we want both of them
| |
14:24 | leio has left IRC (leio!~leio@gentoo/developer/leio, Read error: Operation timed out) | |
14:31 | Gadi has joined IRC (Gadi!~romm@ool-18bbe47a.static.optonline.net) | |
14:32 | <alkisg> tl1000s77: once you've rebooted your client, press alt+ctrl+f2 to switch to vt2, run `ps -ef > /tmp/ps.output`, `scp /tmp/ps.output user@server:`, and pastebin it
| |
14:33 | (replace user with an existing username)
| |
14:34 | <tl1000s77> It
| |
14:34 | It's saying that there is an error in my lts.conf file on line 11...line 11 is RDP_SERVER = "172.16.1.102"
| |
14:35 | <alkisg> Hm... can you pastebin your lts.conf again? Also, you don't use CRLFs, right? (windows-style line ends)
| |
14:36 | <tl1000s77> http://pastebin.com/duQZr07C
| |
14:37 | <alkisg> You can verify that if you run: $ file /var/lib/tftpboot/ltsp/i386/lts.conf
| |
14:37 | /var/lib/tftpboot/ltsp/i386/lts.conf: UTF-8 Unicode text (or it might say ascii text, but not with CRLF line ends)
| |
14:37 | <tl1000s77> root@thinserver7:/var/lib/tftpboot/ltsp/i386# file lts.conf
| |
14:37 | lts.conf: ASCII text
| |
14:38 | should I be using -n "172.16.1.102"?
| |
14:39 | <alkisg> tl1000s77: SCREEN_07 = "rdesktop -d ssww -u '' -r sound:local"
| |
14:43 | <tl1000s77> ps.output http://pastebin.com/zb0k5m6M
| |
14:44 | <alkisg> tl1000s77: and still no sound?
| |
14:47 | You can also try this from vt2: aplay /usr/share/sounds/alsa/Side_Left.wav
| |
14:48 | And, you can disable pulseaudio by putting SOUND=False in lts.conf, under that client section
| |
14:49 | <tl1000s77> Does the server need to have a sound card installed for sound to work on the thin clients?
| |
14:49 | <alkisg> I don't think so
| |
14:49 | <tl1000s77> ok, then still no sound
| |
14:49 | <Gadi> you have a syntax error: remove the -u ''
| |
14:49 | and put the whole rdesktop line in doublequotes
| |
14:50 | <alkisg> Gadi, he did put it in doublequotes, it should be working now
| |
14:50 | <Gadi> nope
| |
14:50 | lts.conf hates single quotes anywhere
| |
14:50 | remove -u ''
| |
14:50 | <alkisg> Gadi, I think I verified that it works with the new ltsp code ;)
| |
14:50 | <Gadi> hmm
| |
14:50 | <alkisg> If single quotes are withing double quotes, that is
| |
14:50 | <Gadi> still worth trying
| |
14:51 | <alkisg> Sure. But, before rebooting, tl1000s77, can you see if aplay works?
| |
14:51 | aplay /usr/share/sounds/alsa/Side_Left.wav
| |
14:51 | in screen_02 (vt2)
| |
14:51 | <Gadi> also, why use RDP_SERVER separately?
| |
14:51 | usually one uses RDP_OPTIONS + RDP_SERVER
| |
14:51 | or not at all
| |
14:52 | <alkisg> The final command in ps is: rdesktop -d ssww -u -r sound:local 172.16.1.102
| |
14:52 | <tl1000s77> ok, the aplay /usr... worked... but when I change to SCREEN_07 and go to youtube to play a video, no sound
| |
14:52 | <alkisg> Which seems about right
| |
14:52 | But OK go ahead and try what gadi suggested
| |
14:53 | E.g. use RDP_OPTIONS like you had before, before hitting the bug
| |
14:53 | <Gadi> also make sure Audio mapping is enabled in Windows (disabled by default)
| |
14:53 | <tl1000s77> audio mapping is turned on the server, it's server 2008 r2
| |
14:54 | * alkisg would try SOUND=False too | |
14:55 | <alkisg> To completely disable pulseaudio, as you don't need it for that client
| |
14:59 | <tl1000s77> from vt2 i have sound but not from the rdesktop session
| |
14:59 | <alkisg> tl1000s77: if you have a standalone, non-ltsp client, you can try rdesktop from there (within gnome) to verify it's not a windows-side problem
| |
15:01 | <tl1000s77> I think it's on the server side, when I open up Volume Mixer, it says "No audio device is installed"
| |
15:01 | <alkisg> The ltsp server shouldn't matter at all
| |
15:01 | It's not used for rdesktop sessions
| |
15:01 | Ah, you mean the windows server? Yeah look there
| |
15:02 | <tl1000s77> yes, server 2008
| |
15:02 | <alkisg> First, try from windows client to windows server
| |
15:02 | Once you get that working, you can try ltsp
| |
15:05 | <tl1000s77> will do. Thanks for all your help. I'll let you know how I make out
| |
15:10 | gnunux has left IRC (gnunux!~emmanuel@194.167.18.244, Quit: Ex-Chat) | |
15:16 | staffencasa has joined IRC (staffencasa!~staffenca@128-193-144-197.oregonstate.edu) | |
15:19 | Parker955_Away is now known as Parker955 | |
15:22 | mistik1 has left IRC (mistik1!mistik1@unaffiliated/mistik1, Ping timeout: 246 seconds) | |
15:23 | <tl1000s77> okay, I got it working through rdesktop on my linux box...but no luck from ltsp
| |
15:25 | <alkisg> Did you try SOUND=False?
| |
15:25 | <tl1000s77> yes
| |
15:29 | Lns has left IRC (Lns!~Lns@pdpc/supporter/professional/lns, Quit: Leaving) | |
15:31 | <alkisg> If you use the same command line (in ps output vs the linux box), I don't see why it wouldn't work... anyway gotta go, bbl
| |
15:31 | alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.) | |
15:31 | <tl1000s77> I tried it with and without
| |
15:31 | again thanks for all your help today :-)
| |
15:42 | Parker955 is now known as Parker955_Away | |
15:48 | ry has left IRC (ry!~ry@static-71-183-64-28.nycmny.fios.verizon.net, Read error: Connection reset by peer) | |
15:49 | Parker955_Away is now known as Parker955 | |
15:49 | loather-work has joined IRC (loather-work!~khudson@wsip-98-175-250-115.sd.sd.cox.net) | |
15:55 | _UsUrPeR_ has left IRC (_UsUrPeR_!~jsass@fw.acurrus.com, Ping timeout: 264 seconds) | |
15:58 | ry has joined IRC (ry!~ry@static-71-183-64-28.nycmny.fios.verizon.net) | |
16:05 | _UsUrPeR_ has joined IRC (_UsUrPeR_!~jsass@fw.acurrus.com) | |
16:14 | derjur has left IRC (derjur!dave@174.136.101.74) | |
16:16 | Lns has joined IRC (Lns!~lns@pdpc/supporter/professional/lns) | |
16:18 | jasonbassett has joined IRC (jasonbassett!~jasonbass@cpc3-basl7-0-0-cust155.basl.cable.virginmedia.com) | |
16:25 | leio has joined IRC (leio!~leio@gentoo/developer/leio) | |
16:25 | jhutchins_lt has left IRC (jhutchins_lt!~jonathan@64-151-37-66.dyn.everestkc.net, Read error: Connection reset by peer) | |
16:28 | leio_ has left IRC (leio_!~leio@gentoo/developer/leio, Ping timeout: 250 seconds) | |
16:47 | shogunx has left IRC (shogunx!~shogunx@rrcs-67-79-182-235.se.biz.rr.com, Read error: No route to host) | |
16:50 | shogunx has joined IRC (shogunx!~shogunx@rrcs-67-79-182-235.se.biz.rr.com) | |
16:59 | mikkel has joined IRC (mikkel!~mikkel@80-71-132-15.u.parknet.dk) | |
17:04 | Zarrku has joined IRC (Zarrku!421225eb@gateway/web/freenode/ip.66.18.37.235) | |
17:05 | <Zarrku> Hello, I have changed the nic in my ltsp server and I of course I can't boot thin clients
| |
17:05 | How do I fix this problem
| |
17:06 | I am using ubuntu 10.10
| |
17:08 | Parker955 is now known as Parker955_Away | |
17:10 | <Hyperbyte> Zarrku, probably udev has renamed the device and now network configuration isn't recognizing it
| |
17:10 | <Zarrku> Yes, I believe so
| |
17:10 | <Hyperbyte> You need to remove udev persistent rules... if memory serves, /etc/udev.d/70-persistent-net-rules, but I'm at an Ubuntu machine at the moment
| |
17:10 | *not
| |
17:10 | So can't check.
| |
17:11 | dobber has left IRC (dobber!~dobber@213.169.45.222, Remote host closed the connection) | |
17:12 | <Hyperbyte> Actually it's /etc/udev/rules.d/70-persistent-net.rules
| |
17:12 | If you remove that, it should automagically work again.
| |
17:16 | (should I mention you need to reboot after removing that file?)
| |
17:40 | Trixboxer has left IRC (Trixboxer!~Trixboxer@office.supportdepartment.net, Quit: "Achievement is not the end, its the beginning of new journey !!!") | |
17:50 | <Zarrku> Well, I tried it Hyper and it did not work, any ideas
| |
17:50 | How does ltsp tell my second nic top be a ltsp DCHP
| |
17:50 | to no top
| |
17:50 | <_UsUrPeR_> Zarrku: that's the exact thing I would have told you to do
| |
17:50 | did you reboot your server?
| |
17:51 | Zarrku: answer this: how many NICs do you have?
| |
17:55 | <Zarrku> 2
| |
17:55 | yes I rebooted
| |
17:55 | <_UsUrPeR_> Zarrku: ok, open your /etc/uder/rules.d/70-persistent-net.rules file with your favorite editor
| |
17:56 | <Zarrku> okay
| |
17:56 | <_UsUrPeR_> inside there, you should see a list of interfaces
| |
17:56 | <Zarrku> I do
| |
17:56 | <_UsUrPeR_> one will be labeled as eth0, the other eth1
| |
17:56 | <Zarrku> yep
| |
17:56 | <_UsUrPeR_> just switch the interface labels dude
| |
17:56 | then reboot
| |
17:56 | booyaw
| |
17:56 | sounds like your second card was detecting as your first
| |
17:56 | after you re-installed
| |
17:57 | it's kind of an arbitrary process
| |
17:57 | so again, where you see "eth0", replace with "eth1"
| |
17:57 | and do the same in reverse for the "eth1" interface
| |
17:57 | you don't even need to change the order in the .rules file
| |
18:01 | * Gadi reflects on the sad lack of the use of "booyaw" in online wikis | |
18:03 | F-GT has left IRC (F-GT!~phantom@ppp121-44-141-104.lns20.syd7.internode.on.net, Ping timeout: 250 seconds) | |
18:06 | <Zarrku> I did follow instructions, the thin client stil aren't getting a dhcp
| |
18:07 | <_UsUrPeR_> is your dhcp server running presently?
| |
18:07 | what ver of ubuntu?
| |
18:07 | <Zarrku> It was before I changed the NICs out
| |
18:07 | 10.10
| |
18:09 | basically my mother had a dimm slot die
| |
18:10 | <_UsUrPeR_> huh
| |
18:10 | ok, so "service dhcp3-server status"
| |
18:12 | <Zarrku> I had to change the motherboard with the same motherboard, but of course the macs or different
| |
18:13 | Service dchp3-server
| |
18:14 | <_UsUrPeR_> yeah
| |
18:14 | ok, again: I just want to know if your dhcp server is running
| |
18:15 | check /var/log/syslog for DHCP errors
| |
18:15 | should be along the bottom
| |
18:15 | saying that there was a problem with something
| |
18:15 | F-GT has joined IRC (F-GT!~phantom@ppp121-44-253-91.lns20.syd7.internode.on.net) | |
18:24 | alexqwesa_ has left IRC (alexqwesa_!~alex@109.172.15.11, Ping timeout: 240 seconds) | |
18:24 | alexqwesa_ has joined IRC (alexqwesa_!~alex@109.172.15.11) | |
18:25 | leio has left IRC (leio!~leio@gentoo/developer/leio, Read error: Operation timed out) | |
18:25 | leio has joined IRC (leio!~leio@gentoo/developer/leio) | |
18:26 | <Hyperbyte> Zarrku, still there?
| |
18:27 | loather-work has left IRC (loather-work!~khudson@wsip-98-175-250-115.sd.sd.cox.net, Quit: This computer has gone to sleep) | |
18:28 | <Zarrku> yes
| |
18:28 | I am here
| |
18:28 | pulling my hair out at the moment
| |
18:28 | hehe
| |
18:29 | <Hyperbyte> Okay
| |
18:29 | !pastebin
| |
18:29 | <ltsp> Hyperbyte: pastebin: the LTSP pastebin is at http://ltsp.pastebin.com. Please paste all text longer than a line or two to the pastebin, as it helps to reduce traffic in the channel. Don't forget to paste the URL of the text here..
| |
18:29 | <Hyperbyte> Pastebin the output of the following commands
| |
18:29 | <Zarrku> okay
| |
18:29 | <Hyperbyte> cat /etc/uder/rules.d/70-persistent-net.rules
| |
18:29 | ifconfig
| |
18:29 | cat /etc/ltsp/dhcpd.conf
| |
18:30 | <Zarrku> will do
| |
18:36 | Xarrku has joined IRC (Xarrku!421225eb@gateway/web/freenode/ip.66.18.37.235) | |
18:38 | <Hyperbyte> If you need help with the commands or pastebin or something let me know.
| |
18:43 | <Xarrku> you paste the test from the file into paste bin correct
| |
18:43 | <Hyperbyte> The output from the commands, but essentially, yeah.
| |
18:43 | You could just run those commands in a terminal one by one
| |
18:43 | Then paste the whole thing from top to bottom
| |
18:44 | You can paste from a terminal by selecting, and then pressing middle mouse button in your favorite web browser.
| |
18:44 | (while the text is still selected)
| |
18:46 | <Xarrku> http://pastebin.com/EdWJaMSx
| |
18:52 | Hyperbyte has left IRC (Hyperbyte!jan@middelkoop.cc, Ping timeout: 240 seconds) | |
18:53 | highvoltage has left IRC (highvoltage!~highvolta@ubuntu/member/highvoltage, Ping timeout: 252 seconds) | |
18:54 | highvoltage has joined IRC (highvoltage!~highvolta@irc.jonathancarter.org) | |
18:54 | highvoltage has joined IRC (highvoltage!~highvolta@ubuntu/member/highvoltage) | |
18:55 | <Gadi> Xarrku: you running in a virtual machine? 60 is an odd first octet for a MAC address
| |
18:56 | <Xarrku> no vms
| |
18:56 | <Gadi> can you pastebin your ifconfig
| |
18:59 | <Xarrku> http://pastebin.com/6MVYnhnN
| |
18:59 | mistik1 has joined IRC (mistik1!mistik1@unaffiliated/mistik1) | |
19:02 | <Gadi> anything in /etc/default/dhcp3-server
| |
19:02 | ?
| |
19:03 | if it says INTERFACES="eth0", change to INTERFACES="eth1"
| |
19:03 | and restart dhcp3-server
| |
19:05 | <Xarrku> it qw
| |
19:05 | it was blank
| |
19:06 | how do you restart the dhcp3-server with restarting
| |
19:06 | <Gadi> and when you restart dhcp3-server and do a: tail -100 /var/log/syslog
| |
19:06 | does dhcp server start up ok?
| |
19:07 | if it does, then make sure you don't have your cables swapped
| |
19:07 | or something
| |
19:08 | <Xarrku> cable are correct, how do you restart the dhcp server with a command
| |
19:09 | <Gadi> sudo service dhcp3-server restart
| |
19:09 | Hyperbyte has joined IRC (Hyperbyte!jan@middelkoop.cc) | |
19:11 | <Xarrku> that worked so far
| |
19:12 | I am going to reboot my server
| |
19:12 | to make sure it keeps working
| |
19:12 | Thank you, for your help
| |
19:12 | Xarrku has left IRC (Xarrku!421225eb@gateway/web/freenode/ip.66.18.37.235, Quit: Page closed) | |
19:12 | <Hyperbyte> eh
| |
19:13 | <Zarrku> still here
| |
19:13 | Thanks, alot
| |
19:13 | <Hyperbyte> You're welcome
| |
19:13 | My Freenode connection is a bit unstable for some reason. :\
| |
19:13 | <Zarrku> I'm not sure why the thing blanked out
| |
19:14 | I guess it removed it when the new nic was detected
| |
19:14 | thats so very strange
| |
19:15 | <Hyperbyte> It's not. Ubuntu uses NetworkManager, which does a lot of network configuration automatically
| |
19:15 | It's very easy, but can be a pain in the ass for doing things you don't want.
| |
19:26 | <Zarrku> I agree
| |
19:26 | Its gonna be a pain in my ass in tommorrows manager meeting, hah
| |
19:27 | <Hyperbyte> You're using LTSP in a company environment?
| |
19:27 | <Zarrku> yes I am
| |
19:27 | <Hyperbyte> Then it's easy
| |
19:27 | <Zarrku> I run a six core dell server
| |
19:28 | <Hyperbyte> You need a second server, with identical hardware, and identical software. Then you can test properly, and/or even prevent this.
| |
19:28 | That, or make a backup harddisk, so the moment you notice something doesn't work, you can undo any hardware changes, and swap harddisk.
| |
19:28 | <Zarrku> I wish we could
| |
19:28 | <Hyperbyte> Or... do this during weekends! ;-)
| |
19:30 | Or... hang around more in this channel, so you get more LTSP knowledge. ;-)
| |
19:31 | <Zarrku> we do back-ups, however it was with the old motherboard in it
| |
19:31 | I wish I could do vmware with it
| |
19:33 | loather-work has joined IRC (loather-work!~khudson@70-0-74-247.pools.spcsdns.net) | |
19:33 | <Zarrku> what do you recommend for back-up for ubuntu
| |
19:39 | loather-work has left IRC (loather-work!~khudson@70-0-74-247.pools.spcsdns.net, Ping timeout: 260 seconds) | |
19:39 | <Zarrku> I'm using luckybackup at the present time
| |
19:46 | alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg) | |
19:47 | <Hyperbyte> Zarrku: crontab + rsync + cp
| |
19:47 | Just script it. :)
| |
19:47 | crontab for running the scripts on certain times, rsync for doing incremental backups, cp for doing whole backups.
| |
19:52 | drdata has joined IRC (drdata!~drdata@tw2.udallas.edu) | |
19:55 | artista-frustrad has joined IRC (artista-frustrad!~fernando@187.112.123.223) | |
19:55 | alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Remote host closed the connection) | |
19:56 | <_UsUrPeR_> hey all
| |
19:56 | I am wrigint a script to go in the ltsp image's /usr/share/ldm/rc.d/ directory
| |
19:56 | alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg) | |
19:56 | <_UsUrPeR_> which will touch a file in the mounted user's home directory from the client on login
| |
19:56 | I am using iceWM
| |
19:57 | for some reason, variables like $USER and $HOME are not recognized :/
| |
19:57 | so I can't toss the file in the user's home dir
| |
19:57 | <Hyperbyte> _UsUrPeR_, how is the home directory mounted?
| |
19:58 | <_UsUrPeR_> Hyperbyte: normal LTSP mounting. what is it? nfs?
| |
19:58 | <Hyperbyte> Depends. What distro/version?
| |
19:58 | <_UsUrPeR_> 10.04
| |
19:58 | <Hyperbyte> Ubuntu uses NBD.
| |
19:58 | Which means the client image is only updated on the server once ltsp-update-image is ran, and only on the client once it reboots.
| |
19:58 | <_UsUrPeR_> when the client mounts a logged in user's home directory, it's using NBD?
| |
19:59 | <Hyperbyte> eh, no, that's sshfs.
| |
19:59 | Sorry, I'm thinking a bit backwards.
| |
19:59 | <_UsUrPeR_> ok, well I am having a problem with that portion.
| |
20:00 | <alkisg> If you want to touch something in the user home directory, why do you need to do it in the chroot?
| |
20:00 | <_UsUrPeR_> the script does not appear to understand $HOME and $USER
| |
20:00 | <alkisg> Just do it on the server, /etc/xdg/autostart
| |
20:00 | <Hyperbyte> What he said.
| |
20:00 | :)
| |
20:00 | <alkisg> In the client, you have LDM_USERNAME
| |
20:00 | In the server, you have USER etc
| |
20:00 | <_UsUrPeR_> alkisg: because this is a touch resulting from a certain hardware profile derrived after boot on the client
| |
20:00 | <alkisg> You can export the variable on the client, and test for it on the server
| |
20:01 | <_UsUrPeR_> If I am using IceWM, is $LDM_USERNAME still set?
| |
20:01 | because I am not able to echo it :/
| |
20:01 | (once logged in)
| |
20:01 | <Hyperbyte> _UsUrPeR_, are you still trying to get different lts.conf files for processor types?
| |
20:01 | And this is your way of doing it?
| |
20:02 | <_UsUrPeR_> nope. past that. lts.conf will not work without gnome anyway
| |
20:02 | shawnp0wers has left IRC (shawnp0wers!~Adium@linuxjournal/staff/shawnp0wers, Quit: Leaving.) | |
20:02 | <alkisg> Errr why is that?
| |
20:02 | I think people here use ltsp with kde etc...
| |
20:02 | lxde, you name it
| |
20:02 | <_UsUrPeR_> specifically for LOCAL_APPS_MENU
| |
20:02 | <alkisg> I think that part uses the xdg standard, so it should work for any DE that respects the standards
| |
20:03 | I.e. XDG_DATA_DIRS etc
| |
20:03 | <Hyperbyte> So what exactly are you trying to do, with all this touch and stuff? What's the problem you're trying to fix?
| |
20:03 | <_UsUrPeR_> we are trying to make sure that a client that is capable of running local apps does so, while the clients that cannot, do not
| |
20:03 | <alkisg> And the touch part?
| |
20:03 | What does that do?
| |
20:03 | <_UsUrPeR_> so I need to put "ltsp-localapps" in front of commands on a client with a very exact profile
| |
20:04 | the touch part will put a file inside the user's directory, which will then be referenced on the server
| |
20:04 | * alkisg didn't get it yet... | |
20:04 | <_UsUrPeR_> when you run a wrapper script, it will check that user's home directory to see if the file exists, if it does, it will put ltsp-localapps in front of the requested command
| |
20:04 | if not, it will run the command on the server
| |
20:05 | <alkisg> Why not check for an environment variable instead?
| |
20:05 | E.g. LOCAL_APPS?
| |
20:05 | <_UsUrPeR_> expand on that a little
| |
20:05 | I have the funny feeling I am going out of my way right now
| |
20:05 | <alkisg> You want to touch a file from the client and check it on the server
| |
20:06 | <_UsUrPeR_> correcy
| |
20:06 | err correct
| |
20:06 | <alkisg> Instead of touching a file, you can just export a variable
| |
20:06 | E.g. currently LTSP_CLIENT is exported
| |
20:06 | <_UsUrPeR_> exporting from a client will show up on the server?
| |
20:06 | <alkisg> Try it, echo $LTSP_CLIENT from an ltsp client in ICEWM or whatever
| |
20:06 | Yes
| |
20:06 | <_UsUrPeR_> so say I set LTSP_CLIENT_001="go" on the client...
| |
20:06 | * _UsUrPeR_ checks this | |
20:07 | <Hyperbyte> Haha, didn't know that. That's cool!
| |
20:07 | !alkisg
| |
20:07 | <ltsp> Hyperbyte: alkisg: The LTSP oracle. Our beacon of hope in the world of LTSP. With the guidance of this divine emperor, we shall prevail..
| |
20:07 | <alkisg> Damn I need to remember to change that so that is says bad command or file name :P
| |
20:07 | <Hyperbyte> All hail alkisg!
| |
20:07 | * Hyperbyte takes a bow :> | |
20:08 | <_UsUrPeR_> alkisg: ok, so I was just now attempting to do as you said. As root on my client, I set a variable -- " THING=stuff "
| |
20:08 | I was able to echo that on the client -- " echo $THING ". it returned "stuff"
| |
20:08 | <alkisg> OK Hyperbyte just wait until you see what !Hyperbyte will say in a few days :D
| |
20:08 | <_UsUrPeR_> go to the server " echo $THING "
| |
20:08 | <Hyperbyte> _UsUrPeR_, you have to do it before user login I'm sure.
| |
20:09 | I think it's transferred to the server during user login, correct?
| |
20:09 | <alkisg> su - ${LDM_USERNAME} -c "$CLIENT_ENV $MY_LANG DISPLAY=$DISPLAY ICEAUTHORITY=$ICEAUTHORITY XAUTHORITY=$XAUTHORITY $LDM_XSESSION $LDM_SESSION"
| |
20:09 | So you need to put it in CLIENT_ENV
| |
20:09 | But, let's take another step back
| |
20:09 | The problem here is icewm, isn't it?
| |
20:10 | Because in gnome, the localapps menu would just work, right?
| |
20:10 | <_UsUrPeR_> I don't want to point fingers, but this is a constraint I absolutely must work with.
| |
20:10 | correct. in gnome, it would just work
| |
20:10 | <alkisg> So, if you're going to solve a problems, why not solve the icewm problem instead?
| |
20:10 | I.e. hack ltsp a bit so that it creates the menus that icewm wants
| |
20:10 | Instead of creating the xdg ones
| |
20:10 | <_UsUrPeR_> where are those menus created?
| |
20:10 | err with what?
| |
20:11 | because I am all about that
| |
20:11 | <alkisg> No idea, I've never seen icwm. But I think that's the way to go :D
| |
20:11 | I.e. figure out what you need to do with icewm menus, and then come here and ask about how to do it in ltsp
| |
20:11 | <_UsUrPeR_> oh, I know where iceWM's stuff goes\
| |
20:11 | it's quite simple
| |
20:11 | I am trying to figure out where ltsp makes menu changes
| |
20:12 | <alkisg> ldm/rc.d/X02-genmenu
| |
20:12 | <_UsUrPeR_> secondly, at that point, how do i differentiate between the two client hardware varieties?
| |
20:12 | <alkisg> You just need something similar for icewm
| |
20:13 | if [ -n "$multicore" ] ...
| |
20:13 | <_UsUrPeR_> lts.conf won't help there, and I can't just use a simple MAC address scheme
| |
20:13 | <alkisg> You already have that in the client environment from ltsp_config.d
| |
20:13 | Or you can just grep /proc/cpuinfo directly there
| |
20:13 | <_UsUrPeR_> yep
| |
20:13 | ok
| |
20:13 | that makes sense
| |
20:13 | then I can just set LOCAL_APPS_MENU = true for those units
| |
20:13 | gotcha
| |
20:14 | <alkisg> So to sum up, what you want is to create a single file, X02-genmenu-for-icewm
| |
20:14 | Nothing else
| |
20:14 | <_UsUrPeR_> I'll be sure to document for posterity
| |
20:15 | <Hyperbyte> _UsUrPeR_, yeah, put it on the Ubuntu LTSP wiki!
| |
20:17 | <alkisg> If it's implemented properly, e.g. (1) check if icewm is present (2) check if localapps menu is enabled (3) generate the icewm menu, then I don't see why it wouldn't go upstream instead of the wiki
| |
20:18 | <Hyperbyte> alkisg, I think you can't check if IceWM is used from the client, can you?
| |
20:18 | <Gadi> you do know icewm can call gnome menu?
| |
20:18 | <alkisg> Hyperbyte: Sure, the ssh socket can be used for that. /me also reminds everyone that he hasn't seen icewm at all :D
| |
20:19 | <_UsUrPeR_> Gadi: guh?
| |
20:19 | <Gadi> sure - icewm since forever had the ability to use a gnome menu in its menu
| |
20:19 | <Hyperbyte> Haha, I can't believe how we've been talking here for half an hour, and at least six possible solutions have passed by, each one a little better than the previous one. =D
| |
20:20 | * Hyperbyte loves #ltsp | |
20:20 | <alkisg> The next one would be "hey the new icewm version supports the xdg standards, just upgrade" :P
| |
20:20 | <_UsUrPeR_> Gadi: I never installed gnome on the server though
| |
20:21 | <Gadi> ah
| |
20:21 | <_UsUrPeR_> though the menu would work... I mean...
| |
20:21 | installing a new window manager would cause a lot of problems, and confuse a customer
| |
20:21 | <Gadi> well, you can try apt-get install icewm-gnome-support
| |
20:22 | This package provides all files needed for IceWM to enable GNOME
| |
20:22 | related features.
| |
20:22 | <_UsUrPeR_> I don't have a problem writing something that does not require gnome/related stuff
| |
20:22 | though this is something I will need to check out
| |
20:22 | >_>
| |
20:22 | <Gadi> I suspect that package will depend on whatever it needs
| |
20:22 | <_UsUrPeR_> yeah
| |
20:23 | <Gadi> but, then I guess your exercise would be in paring down the regular menu
| |
20:23 | <_UsUrPeR_> it's only the one package...
| |
20:23 | <Gadi> which may not be why you chose icewm to begin with
| |
20:23 | <_UsUrPeR_> yeah, I already have a nice succinct menu :/
| |
20:23 | <Gadi> most choose icewm so they can build a menu from nothing
| |
20:23 | <_UsUrPeR_> we have 2 options by default
| |
20:25 | leio_ has joined IRC (leio_!~leio@gentoo/developer/leio) | |
20:27 | <Gadi> another simple approach would be to set an Xatom in an ldm/rc.d script and then have a server side launcher script that launches ltsp-localapps if needed
| |
20:27 | ie. if the Xatom is present
| |
20:28 | leio has left IRC (leio!~leio@gentoo/developer/leio, Ping timeout: 276 seconds) | |
20:28 | <_UsUrPeR_> I have seen the xatomwait function used... someplace...
| |
20:28 | but I don't recall where >_>
| |
20:29 | <Gadi> if [ needs_localapps ]; then xprop -root -f LTSP_COMMAND 8s -set NEEDS_LOCALAPPS "1"
| |
20:29 | fi
| |
20:29 | and then on the server,
| |
20:32 | xprop -root NEEDS_LOCALAPPS
| |
20:33 | <_UsUrPeR_> mmmhmm
| |
20:33 | ok
| |
20:33 | <Gadi> appropriately parsed
| |
20:33 | :)
| |
20:33 | * _UsUrPeR_ looks around and delets his last line | |
20:33 | <_UsUrPeR_> of course
| |
20:34 | <Gadi> oops
| |
20:34 | yeah, so my line is not exactly correct
| |
20:34 | but, you get the idea
| |
20:36 | <_UsUrPeR_> I do indeeed
| |
20:36 | I'll give this a shot
| |
20:38 | Parker955_Away is now known as Parker955 | |
20:39 | brunolambert has left IRC (brunolambert!~brunolamb@nat/revolutionlinux/x-utpedsszidwsjvtn, Quit: brunolambert) | |
20:46 | <alkisg> Sidenote: CLIENT_ENV="VAR=value" in lts.conf gets VAR=value in the environment of the server processes
| |
20:46 | The same is true for rc.d or ltsp_config.d scripts
| |
20:47 | <_UsUrPeR_> interesting
| |
20:47 | is that prior to, the user login?
| |
20:47 | <alkisg> That's what I was suggesting above, with the single X02-genmenu-for-icewm file
| |
20:47 | Yes, X02 is prior to user login, which happens on X95-run-x-session
| |
20:48 | Remember to use CLIENT_ENV="$CLIENT_ENV VAR=value" in rc.d scripts, so that you don't erase the previous value
| |
20:48 | <Gadi> be careful, though, because I am not sure if a launcher script from an icewm launcher will inherit that env
| |
20:49 | <alkisg> I think it will, same as with LTSP_CLIENT, DISPLAY etc
| |
20:49 | <Gadi> if so, it is easier than an xatom for sure
| |
20:49 | <alkisg> I tried it with gnome, and I could see the env var in gnome-terminal inside the session
| |
20:57 | Parker955 is now known as Parker955_Away | |
21:05 | Parker955_Away is now known as Parker955 | |
21:09 | Lns has left IRC (Lns!~lns@pdpc/supporter/professional/lns, Quit: Φ) | |
21:12 | Gadi has left IRC (Gadi!~romm@ool-18bbe47a.static.optonline.net) | |
21:15 | Parker955 is now known as Parker955_Away | |
21:45 | alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.) | |
21:46 | mikkel has left IRC (mikkel!~mikkel@80-71-132-15.u.parknet.dk, Quit: Leaving) | |
21:59 | tl1000s77 has left IRC (tl1000s77!~tl1000s77@173-13-114-113-NewEngland.hfc.comcastbusiness.net, Quit: Leaving) | |
22:05 | artista-frustrad has left IRC (artista-frustrad!~fernando@187.112.123.223, Quit: Leaving) | |
22:10 | shogunx has left IRC (shogunx!~shogunx@rrcs-67-79-182-235.se.biz.rr.com, Ping timeout: 260 seconds) | |
22:25 | leio has joined IRC (leio!~leio@gentoo/developer/leio) | |
22:28 | leio_ has left IRC (leio_!~leio@gentoo/developer/leio, Ping timeout: 246 seconds) | |
22:44 | shogunx has joined IRC (shogunx!~shogunx@rrcs-67-79-182-235.se.biz.rr.com) | |
22:56 | drdata has left IRC (drdata!~drdata@tw2.udallas.edu, Ping timeout: 276 seconds) | |