01:42 | wwx_ has joined #ltsp | |
01:52 | Appiah has joined #ltsp | |
02:00 | mikkel has joined #ltsp | |
02:22 | slashdot1x has joined #ltsp | |
02:22 | slashdotfx has quit IRC | |
03:21 | alkisg_work has joined #ltsp | |
03:30 | ogra has quit IRC | |
03:30 | ogra has joined #ltsp | |
03:36 | din_os has joined #ltsp | |
03:42 | <din_os> libflashsupport is a package to fix audio issues on clients (playback on server) what's the package for lenny?
| |
03:43 | FGXR6 has joined #ltsp | |
03:43 | F-GT has quit IRC | |
03:43 | <Appiah> what dist din_os ?
| |
03:44 | <din_os> debian lenny
| |
03:44 | <Appiah> checked http://packages.debian.org ?
| |
03:45 | alkisg_work has quit IRC | |
03:46 | <din_os> well it should be there somewhere,
| |
03:47 | I guess it's not called libflashsupport on debian.. :(
| |
03:47 | <Appiah> on what dist was it called that?
| |
03:48 | if its ubuntu it seams it's pulseaudio related
| |
03:48 | <cyberorg> din_os, libflashsupport is obsolete with newer flash plugins
| |
03:49 | <din_os> cyberorg, ok, so what's the fix for sound on clients... should I switch to pulseaudio?
| |
03:49 | <cyberorg> din_os, pa is default for ltsp5
| |
03:50 | <Appiah> is there even a problem in your lenny install?
| |
03:50 | <din_os> hmm, ok I'll have a search around for tips on switching to pulseaudio, it's not installed by def on lenny
| |
03:51 | Appiah, not really, it's just that the sound on clients comes out on the server (e.g. youtube)
| |
03:51 | ogra has quit IRC | |
03:52 | ogra has joined #ltsp | |
03:53 | ogra_ has joined #ltsp | |
03:54 | ogra_ is now known as ogra | |
04:17 | CrypTom has joined #ltsp | |
04:17 | <CrypTom> hi all, how can I add an Printer (shared by a windows server) so that every ltsp-user has to enter the AD credential before printing?
| |
04:19 | In the cups add printer dialog (after choosing SMB-Printer) I see the option "Prompt user if authentication is required", but I'm never promted for a username/password
| |
04:20 | I'm working on Kubuntu Jaunty LTSP
| |
05:19 | slashdot1x has quit IRC | |
05:42 | sep has quit IRC | |
05:43 | sep has joined #ltsp | |
05:51 | wallabybob has joined #ltsp | |
06:07 | nubae|work has joined #ltsp | |
06:12 | din_os has quit IRC | |
06:14 | wallabybob has quit IRC | |
06:27 | wallabybob has joined #ltsp | |
06:32 | pmatulis has joined #ltsp | |
06:35 | alkisg has joined #ltsp | |
06:38 | FGXR6 has quit IRC | |
06:38 | F-GT has joined #ltsp | |
06:47 | <Appiah> anyone used ltsp-cluster in karmic?
| |
06:48 | I end up with the webinterface not being able to auth
| |
07:01 | jammcq has quit IRC | |
07:15 | Blinny has joined #ltsp | |
07:16 | nivelpp has joined #ltsp | |
07:52 | yoshi__ has joined #ltsp | |
08:17 | Gadi has joined #ltsp | |
08:17 | cliebow has joined #ltsp | |
08:28 | alexqwesa has quit IRC | |
08:28 | alexqwesa has joined #ltsp | |
08:34 | prpplague_afk is now known as prpplague | |
08:38 | mikkel has quit IRC | |
08:39 | garymc has joined #ltsp | |
08:40 | <nubae|work> Appiah, yup its b0rken...
| |
08:41 | <Appiah> anyway to fix it by hand?
| |
08:42 | like the user it's trying to logon with isn't created , so I can just add the user myself
| |
08:42 | etc
| |
08:42 | <nubae|work> I couldn't, but if u u do, let me know...
| |
08:42 | <ogra> did you guys make sure to file a bug so stgraber knows about it and can fix it before release ?
| |
08:44 | nivelpp has left #ltsp | |
08:44 | <Appiah> I just installed it 5min before wrote that
| |
08:44 | wanna hear about som experince in it before I file a bug report
| |
08:44 | <ogra> well, nubae seemed to know about it very well
| |
08:44 | CrypTom has quit IRC | |
08:44 | <Appiah> nubae|work but you had the exact prob as me?
| |
08:45 | <ogra> note that the packages in karmic might differ from the stuff in the ppa
| |
08:47 | <Appiah> never used the PPA
| |
08:47 | <ogra> yes, i understood that from your first sentence
| |
08:47 | thats why i mentioned it ...
| |
08:48 | <Appiah> I mean .. ever
| |
08:48 | <ogra> yes
| |
08:48 | but nubae|work doesnt use ubuntu anymore afaik
| |
08:49 | so he will unlikely use the karmic packagess ;)
| |
08:49 | <Appiah> is there any guidelines for ltsp-cluster in karmic so I can test and come with feedback?
| |
08:49 | <ogra> ask stgraber
| |
08:49 | <Appiah> ah
| |
08:49 | <ogra> i think there were updated docs
| |
08:49 | no idea where though
| |
08:49 | <Appiah> not in the wiki what I can see
| |
08:57 | ogra: do you know if stgraber reads PM's or should I email him instead?
| |
08:59 | <ogra> no idea
| |
08:59 | he usually reads the backlog here
| |
09:00 | <sbalneav> Morning all
| |
09:00 | <Appiah> I'll put in on launchpad as a question
| |
09:00 | <alkisg> s!
| |
09:01 | !s
| |
09:01 | <ltspbot> alkisg: "s" is Scotty!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| |
09:07 | Faithful has joined #ltsp | |
09:08 | pikudoz has joined #ltsp | |
09:16 | johnny has left #ltsp | |
09:17 | johnny has joined #ltsp | |
09:18 | johnny is now known as Guest80198 | |
09:24 | wallabybob has quit IRC | |
09:31 | mikkel has joined #ltsp | |
09:35 | alkisg has quit IRC | |
09:35 | alkisg has joined #ltsp | |
09:44 | pikudoz has quit IRC | |
09:45 | Faithful has quit IRC | |
09:46 | Faithful has joined #ltsp | |
09:50 | bobby_C has joined #ltsp | |
09:51 | primeministerp has quit IRC | |
09:53 | treyh has joined #ltsp | |
09:57 | CAN-o-SPAM has joined #ltsp | |
10:01 | <nubae|work> ogra, ?? huh
| |
10:02 | I develop on ubuntu at work... its all we use
| |
10:03 | Appiah, I used the PPA karmic packages, which stgraber knows are broken and is fixing
| |
10:04 | the bug has been filed by me, and I think confirmed by asmo and someone else too
| |
10:04 | do a search on launchpad for lbagent and ltsp-cluster
| |
10:05 | Faithful has quit IRC | |
10:08 | Faithful has joined #ltsp | |
10:09 | <ogra> nubae|work, i thought you switched to opensuse personally
| |
10:10 | <nubae|work> nah I use both, though most of my volunteer work happens on linux-for-education.org which is hosted by opensuse folks
| |
10:11 | but I continue to use ubuntu extensively... far more than I use anything else
| |
10:11 | ogra, do u know where the next UDS is?
| |
10:12 | <ogra> not yet
| |
10:12 | still under discussion
| |
10:12 | definately in the US though
| |
10:13 | * ogra knows the two places being discussed, but i dont know if i can talk about them, so i leave it :) | |
10:13 | <Appiah> well this is not about the lbagent nubae|work
| |
10:15 | <nubae|work> ah ok :-) ooooh the secrecy...
| |
10:16 | Appiah, u sure?
| |
10:16 | vvinet has joined #ltsp | |
10:16 | <nubae|work> whats the error then?
| |
10:17 | <treyh> I am having audio issues, not using ldm just rdesktop to Windows TS, the audio is very choppy. I found this fix and wanted to know what you guys thought: sudo adduser $USER pulse-rt
| |
10:18 | <Gadi> treyh: try setting SOUND=False in lts.conf
| |
10:18 | <treyh> Gadi: tried that, doesn't change anything
| |
10:18 | <Gadi> k
| |
10:19 | <treyh> whats weird is it's a pattern
| |
10:19 | it's not just in and out randomly, it's there for a second and then not for a second
| |
10:19 | <Gadi> are you running sound through pulseaudio on the client?
| |
10:19 | <treyh> Gadi, not sure. how do I check
| |
10:20 | <Gadi> get a shell on a screen (at the same time as having rdp on another screen), switch to the shell, and do: ps -efw|grep pulse
| |
10:22 | <Appiah> I installed lbserver , control , and accountmanger and tried to access the admin interface
| |
10:25 | <treyh> Gadi: ok did that, only shows my "grep pulse" so the answer is no
| |
10:26 | <Gadi> ok
| |
10:26 | did this sound thing just happen, or is this on a new thin client?
| |
10:28 | <treyh> Gadi: started off as audio/video moving way too fast, then changed lts.conf to have SOUND = false which fixed the fastforwarding audio/video. then about a week later this happened
| |
10:30 | Gadi: i also tried turning Sound = false off, rebuilding chroot, rebuilt ltsp server
| |
10:32 | <Gadi> same hardware, tho?
| |
10:35 | <treyh> Gadi: yes
| |
10:36 | Gadi: and it's happening on all my clients, lenovo laptops, gateway all-in-one's, multiple dell desktops
| |
10:39 | <cliebow> !s
| |
10:39 | <ltspbot> cliebow: "s" is Scotty!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| |
10:40 | <treyh> Gadi: the only thing I do different than a lot of ppl is I build everything from the packages, instead of running the alt cd
| |
10:40 | Blinny has quit IRC | |
10:47 | <ogra> stgraber, what do you think about an ltsp-docs sync request ?
| |
10:47 | Guest80198 is now known as johnny | |
10:51 | <Gadi> treyh: hmm... could it be a networking issue?
| |
10:52 | <treyh> Gadi: network is running like a champ, we had an issue that I resolved where the networking was being flooded, but I stopped the flooding at it's source
| |
10:52 | you showed me the nc ..... command to see if rdp was responding fast enough
| |
10:53 | Gadi: the only thing I haven't done on the ltsp server itself, is a sudo apt-get dist-upgrade, j ust been doing sudo apt-get upgrade
| |
10:53 | <Gadi> I don't think ubuntu guys like dist-upgrades anyway
| |
10:53 | ;)
| |
10:54 | <treyh> lol
| |
10:54 | are they a good thing or a bad thing?
| |
10:54 | <ogra> dist-upgrade is totally fine
| |
10:54 | just dont use it to upgrade to a new release ;)
| |
10:54 | <treyh> lol
| |
10:55 | I never upgrade from one distro to another, I always do a fresh install
| |
10:55 | <ogra> to install updates and sercurity fixes they are fine
| |
10:56 | <treyh> Gadi: i will test with new hardware (actually with a virtual machine) to see if I can duplicate the problem
| |
10:56 | then will test again with different hardware
| |
10:58 | nubae|work has quit IRC | |
11:03 | Faithful has quit IRC | |
11:07 | staffencasa has joined #ltsp | |
11:10 | Ahmuck_Sr has joined #ltsp | |
11:11 | <treyh> do the ltsp load balancing utils allow you to see how many ltsp clients you currently have
| |
11:12 | Ahmuck_Sr has quit IRC | |
11:23 | Faithful has joined #ltsp | |
11:27 | <treyh> Gadi: you still around, i have some more details now
| |
11:27 | Gadi: going from windows-->TS sound is fine
| |
11:28 | Gadi: booting into ldm (sound works great)
| |
11:28 | Gadi: booting into ldm-->rdesktop to TS sound is choppy
| |
11:28 | Gadi: booting into straight rdesktop-->TS sound is choppy
| |
11:28 | only common ground is rdesktop
| |
11:29 | <ogra> did you look for rdesktop bugs/updates ?
| |
11:29 | <treyh> looking now
| |
11:31 | ogra: if I were goign to update rdesktop, would I do it on the ltsp server and the chroot or just 1?
| |
11:31 | fotanus has joined #ltsp | |
11:31 | <ogra> chroot
| |
11:34 | <treyh> does ltsp work with gnome-rdp ?
| |
11:50 | <Appiah> treyh as in the clients using gnome-rdp on their desktop or what?
| |
12:00 | nija_head has quit IRC | |
12:11 | Faithful has quit IRC | |
12:11 | Faithful1 has joined #ltsp | |
12:12 | vagrantc has joined #ltsp | |
12:15 | <vagrantc> sbalneav: http://packages.qa.debian.org/l/ltsp-docs.html
| |
12:16 | * vagrantc dances | |
12:16 | cg_uira has joined #ltsp | |
12:17 | nicros has quit IRC | |
12:17 | <alkisg> Are these translatable already? :P
| |
12:18 | <vagrantc> i think that would have to be added
| |
12:18 | but probably would be feasible with po4a or some such
| |
12:18 | <alkisg> Really? I was just joking!
| |
12:18 | Nice going, guys
| |
12:18 | <vagrantc> why joke?
| |
12:18 | :)
| |
12:20 | * cliebow cliebow ducks just for good measure | |
12:23 | yoshi__ has quit IRC | |
12:23 | <rjune__> !og
| |
12:23 | <ltspbot> rjune__: Error: "og" is not a valid command.
| |
12:23 | <rjune__> !o
| |
12:23 | <ltspbot> rjune__: "o" is o is for ogra!!!!!!!!!
| |
12:24 | <alkisg> !r
| |
12:24 | <ltspbot> alkisg: "r" is rjune, rjune, go, go, rjune!
| |
12:24 | <alkisg> Everyone is a star around here... they all got their own letters :P :D
| |
12:25 | <cliebow> !c
| |
12:25 | <ltspbot> cliebow: Error: "c" is not a valid command.
| |
12:26 | <cliebow> oh welll....
| |
12:26 | <alkisg> !learn c is cliebow!!!!1!!!!
| |
12:26 | <ltspbot> alkisg: Invalid arguments for learn.
| |
12:26 | * alkisg needs to read up :( | |
12:26 | <cliebow> ltspbot:
| |
12:26 | <_UsUrPeR_> !lesrn _ _UsUrPeR_: please leave now
| |
12:26 | <ltspbot> _UsUrPeR_: Error: "lesrn" is not a valid command.
| |
12:26 | <_UsUrPeR_> !learn _ _UsUrPeR_: please leave now
| |
12:26 | <ltspbot> _UsUrPeR_: Invalid arguments for learn.
| |
12:26 | <vagrantc> stgraber: you might want to request a sync of ltsp-docs
| |
12:26 | <_UsUrPeR_> !learn U _UsUrPeR_: please leave now
| |
12:26 | <ltspbot> _UsUrPeR_: Invalid arguments for learn.
| |
12:26 | <cliebow> ltspbot:learn U as Hey!!
| |
12:27 | !u
| |
12:27 | <ltspbot> cliebow: Error: "u" is not a valid command.
| |
12:27 | <_UsUrPeR_> D:
| |
12:27 | <cliebow> !U
| |
12:27 | <ltspbot> cliebow: Error: "U" is not a valid command.
| |
12:27 | <vagrantc> stgraber: or is it way too late ?
| |
12:36 | <stgraber> vagrantc: I have some serious doubt I can get a freeze exception + new package in the archive this late in the cycle
| |
12:36 | ogra: think it's possible ?
| |
12:42 | vvinet has quit IRC | |
12:44 | alkisg1 has joined #ltsp | |
12:44 | alkisg has quit IRC | |
12:50 | <vagrantc> stgraber: it's the sort of thing that's trivially backportable anyways
| |
12:50 | since it's just a generated pdf and html and manpage
| |
12:50 | <stgraber> yeah, basically no dependency
| |
12:50 | <vagrantc> oh, and all that yelp stuff that we don't use
| |
12:50 | don't yet use
| |
12:50 | stgraber: that's the only reason i mentioned it... it being *so* simple.
| |
12:53 | alkisg1 is now known as alkisg | |
12:56 | <alkisg> ltsp-docs - 0.99+bzr91-1~ppa1 published in https://launchpad.net/~ts.sch.gr/+archive/ppa ;)
| |
12:59 | <vagrantc> heh
| |
13:00 | cg_uira has quit IRC | |
13:07 | <alkisg> Has anyone been able to localize the pxelinux menu with vesamenu.c32? (=load a font etc)
| |
13:12 | vvinet has joined #ltsp | |
13:15 | cg_uira has joined #ltsp | |
13:17 | cliebow has quit IRC | |
13:17 | cliebow has joined #ltsp | |
13:19 | <treyh> is it still possible to link RDP_SERVER to a bash script
| |
13:19 | like this: RDP_SERVER = $(/usr/local/bin/RDP)
| |
13:21 | Faithful1 has quit IRC | |
13:27 | <moldy> hi
| |
13:27 | i would like to logout the logged in ltsp user from a program
| |
13:27 | i don't really care if i do it server- or client-side
| |
13:28 | any suggestions? just killing processes has bad side-effects on some ltsp versions (freezes the client on hardy)
| |
13:28 | <alkisg> italc?
| |
13:29 | <moldy> alkisg: italc does this? ok, i will take a look at the source
| |
13:29 | <Appiah> have not tried italc for a long time
| |
13:30 | but last time it was buggy
| |
13:30 | Ahmuck_Sr has joined #ltsp | |
13:30 | cliebow has quit IRC | |
13:30 | <treyh> does anyone have the syntax to set an option in lts.conf as a bash script?
| |
13:30 | <alkisg> moldy: yes, you just right click on the clients and select "logoff"...
| |
13:30 | cliebow has joined #ltsp | |
13:30 | <treyh> something similiar to RDP_SERVER = $(/usr/local/bin/server_selector)
| |
13:33 | <moldy> alkisg: from a quick glance at the source, it seems that italc uses desktop-specific code to do this
| |
13:33 | alkisg: i have thought about doing this, but i would of course prefer a cross-desktop way
| |
13:34 | <alkisg> moldy: I haven't seen the code; so you're saying that e.g. it won't work with kde?
| |
13:34 | <moldy> alkisg: it works with kde because it includes kde-specific code to do it, but it won't work with anything other than gnome and kde
| |
13:34 | spectra has joined #ltsp | |
13:34 | <alkisg> I see
| |
13:35 | <moldy> alkisg: if i understand the code corretly. i just took a quick glance.
| |
13:36 | it even seems to "brute-force"
| |
13:36 | i guess it would work, but i don't really like the idea
| |
13:37 | <treyh> do any of you use bash scripts along with ltsp
| |
13:38 | <alkisg> treyh: why don't you make a customized rdesktop screen script? I.e. SCREEN_07=tryeh_rdesktop ?
| |
13:39 | <treyh> alkisg: because I didn't know what to call it
| |
13:39 | alkisg: wording is everything ty
| |
13:39 | <alkisg> Heh :)
| |
13:40 | <treyh> *researches on how to make custom screen script*
| |
13:40 | cliebow has quit IRC | |
13:40 | cliebow has joined #ltsp | |
13:41 | <alkisg> treyh: start by cloning /opt/ltsp.original/i386/usr/share/ltsp/screen.d/rdesktop
| |
13:41 | *I mean /opt/ltsp/...
| |
13:41 | <moldy> hm, i might actually have found a trivial way: kill the user's sshd subprocess on the server? are there reasons why this could be a bad idea?
| |
13:44 | johnny has left #ltsp | |
13:46 | johnny has joined #ltsp | |
13:47 | cliebow has quit IRC | |
13:47 | cliebow has joined #ltsp | |
13:47 | <treyh> alkisg: ok i copied /opt/ltsp/i386/user/share/ltsp/screen.d/rdesktop to treys_rdesktop
| |
13:47 | alkisg: now how would I use it
| |
13:48 | <alkisg> treyh: afaik, how did you use rdesktop? With SCREEN_07=rdesktop?
| |
13:48 | cliebow has quit IRC | |
13:48 | cliebow has joined #ltsp | |
13:48 | <alkisg> Now you just say SCREEN_07=treys_rdesktop...
| |
13:48 | <treyh> SCREEN_02 = rdesktop
| |
13:48 | so something like: SCREEN_04 = treys_rdesktop
| |
13:49 | <alkisg> You need both of them simultaneously?
| |
13:49 | Yeah, something like that...
| |
13:49 | <treyh> alkisg: just for a few minutes to test
| |
13:49 | alkisg: then i could remove the first one
| |
13:49 | alkisg: well remove the screen4 and change the screeen2 to the new name
| |
13:49 | <alkisg> Right
| |
13:49 | <treyh> do i have to rebuilt the image to do that?
| |
13:50 | <alkisg> Yes, every time that you change something in /opt/ltsp/i386 you need to run ltsp-update-image
| |
13:51 | garymc has quit IRC | |
13:59 | pmatulis has quit IRC | |
13:59 | <treyh> alkisg: is that script a shell script or bash?
| |
14:00 | bash
| |
14:00 | wooo
| |
14:02 | <alkisg> treyh: it's a shell script, but it doesn't open with bash, it opens with sh
| |
14:02 | That means that is should be posix compliant, because not all distros have bash as sh
| |
14:02 | Of course you could change it to use bash if you want...
| |
14:07 | <Appiah> anyone used groups to control which printers people can access?
| |
14:12 | Beer30 has joined #ltsp | |
14:18 | sene has quit IRC | |
14:20 | Ahmuck_Sr has quit IRC | |
14:20 | <vagrantc> screen.d scripts are sourced, not executed, so stick with strictly POSIX compatible, or it will break.
| |
14:20 | plain /bin/sh
| |
14:29 | <treyh> so if I added something like this to a screen script, would it break it: "if ((RANDOM % 2)); then echo 172.16.1.100; else echo 172.16.1.103; fi"
| |
14:29 | vagrantc: would that command break it
| |
14:30 | <Ryan52> treyh: if your /bin/sh isn't bash, yes.
| |
14:30 | <vagrantc> treyh: write a test script.
| |
14:30 | treyh: and find out for yourself.
| |
14:31 | <treyh> it didn't work
| |
14:31 | but i didn't know if it was my syntax or not
| |
14:31 | <vagrantc> what are you trying to do?
| |
14:32 | <Ryan52> treyh: your syntax was fine.
| |
14:32 | <treyh> would like the RDP_SERVER option to be random
| |
14:32 | Ryan52: I know the script works, just not sure if I put it in the right spot
| |
14:32 | <vagrantc> treyh: by random, you mean one of the two servers?
| |
14:32 | <treyh> vagrantc: yes
| |
14:32 | would actually like to let it go between 3
| |
14:33 | the deal is that I had to quit using windows NLB because by default in multicast mode it floods the network with bs, so I switched to a linux solution, crossroads xr load balance but it uses too much cpu and the server can't handle it, so trying to put ina simple patch
| |
14:36 | <vagrantc> you could use numrandom from num-utils
| |
14:37 | case $(numrandom /1..3/) in 1) FOO ;; 2) BAR ;; 3) BAZ ;; esac
| |
14:40 | vvinet has quit IRC | |
14:40 | <treyh> well I think my problem is that i'm putting the if statement in wrong
| |
14:42 | !pastebin
| |
14:42 | <zamba> examples with load balancing for ltsp?
| |
14:42 | <ltspbot> treyh: "pastebin" is try !pastebot
| |
14:42 | <treyh> !pastebot
| |
14:42 | <ltspbot> treyh: "pastebot" is The LTSP pastebot is at http://pastebot.ltsp.org. Please paste all text longer than a line or two to the pastebot, as it helps to reduce traffic in the channel. A link to the content will be pasted in the channel.
| |
14:42 | <ltsppbot> "treyh" pasted "PATH=/bin:$PATH; export PATH ." (15 lines) at http://pastebot.ltsp.org/553
| |
14:42 | <vagrantc> treyh: if you're using ubuntu, the default shell is *not* bash, so it will *not* work with your code.
| |
14:42 | treyh: you are using features of bash.
| |
14:43 | <treyh> vagrantc: ok, but the numrandom of yours will work?
| |
14:43 | <vagrantc> treyh: it's an actual program.
| |
14:43 | treyh: you'll need to install it.
| |
14:43 | <treyh> on the chroot or server
| |
14:43 | <vagrantc> treyh: alternately, you could write a script that uses bash's RANDOM features that you call from your rdesktop script.
| |
14:44 | treyh: in the chroot, because you're running this from the thin-client.
| |
14:47 | <treyh> vagrantc: ty for your help
| |
14:47 | vagrantc: any idea on how to get it to choose between 3 numbers
| |
14:48 | <vagrantc> treyh: use a case statement.
| |
14:48 | <treyh> vagrantc: ok i'm looking for example with ip addresses
| |
14:49 | <vagrantc> i gotta run. good luck
| |
14:49 | <alkisg> Here's an alternative: echo $((`hexdump -e '"%d"' -n 1 /dev/random` % 4))
| |
14:50 | hexdump is preinstalled in both the server and the chroot, at least in ubuntu....
| |
14:50 | <treyh> so that echos a random number up to 4
| |
14:50 | still stuck at the same boat
| |
14:50 | <alkisg> 0, 1, 2 and 3
| |
14:50 | <treyh> how to randomly dump between 3 ip addresses
| |
14:50 | korcan has quit IRC | |
14:50 | <alkisg> treyh: that's easy... :)
| |
14:51 | as vagrantc said, case $((`hexdump -e '"%d"' -n 1 /dev/random` % 4)) in
| |
14:51 | ***% 3 in your case
| |
14:52 | <treyh> case $((`hexdump -e '"%d"' -n 1 /dev/random` ***% 3)
| |
14:52 | ?
| |
14:52 | <--stupid when it comes to this stuff, gotta explain more clear
| |
14:53 | <alkisg> treyh: run this command many times: case $((`hexdump -e '"%d"' -n 1 /dev/random` % 4)) in 0) echo server1 ;; 1) echo server2 ;; 2) echo server3 ;; esac
| |
14:53 | Instead of "echo serverX", put SERVER=10.160.31.10 etc
| |
14:54 | <treyh> i get it
| |
14:54 | how could i get it to just spit out 100, 101, 102, 103
| |
14:55 | well
| |
14:55 | <alkisg> echo 10$((`hexdump -e '"%d"' -n 1 /dev/random` % 4))
| |
14:55 | That spits out 100, 101, 102 or 103.
| |
14:55 | otavio has quit IRC | |
14:56 | <treyh> ty
| |
14:56 | otavio has joined #ltsp | |
14:56 | <treyh> so to use that in a screen script
| |
14:56 | i would put
| |
14:57 | case 10$((`hexdump -e '"%d"' -n 1 /dev/random` % 4))
| |
14:57 | <alkisg> What are your servers IPs? x.x.x.100, x.x.x.101, x.x.x.102, and x.x.x.103 ?
| |
14:58 | <treyh> 172.16.1.100
| |
14:58 | this is the screen script line i'm trying to modify
| |
14:58 | RDESKTOP_OPTIONS="${RDP_OPTIONS} -f 172.16.1.100"
| |
14:58 | that i have there works
| |
14:58 | <alkisg> I mean what are *all* your servers IPs?
| |
14:58 | That's just one server there...
| |
14:59 | <treyh> all start with 172.16.1
| |
14:59 | 172.16.1.100, 172.16.1.101, 172.16.1.102, 172.16.1.103
| |
14:59 | <alkisg> So you don't need a case. Just put: RDP_SERVER=172.16.1.10$((`hexdump -e '"%d"' -n 1 /dev/random` % 4))
| |
14:59 | <treyh> inside of my lts.conf?
| |
14:59 | <alkisg> No, inside the treyh_rdesktop script
| |
15:00 | Right above that line: RDP_OPTIONS=${RDP_OPTIONS:-"-f"}
| |
15:00 | otavio has quit IRC | |
15:00 | <ltsppbot> "treyh" pasted "PATH=/bin:$PATH; export PATH ." (15 lines) at http://pastebot.ltsp.org/554
| |
15:00 | vagrantc has quit IRC | |
15:00 | <alkisg> Yup, looks fine.
| |
15:01 | <treyh> alkisg: you are the man, ok going to rebuild the image now
| |
15:01 | Ahmuck_Sr has joined #ltsp | |
15:01 | otavio has joined #ltsp | |
15:02 | otavio has quit IRC | |
15:06 | alkisg has quit IRC | |
15:07 | otavio has joined #ltsp | |
15:08 | Egyptian[Home] has quit IRC | |
15:23 | otavio has quit IRC | |
15:24 | otavio_ has joined #ltsp | |
15:27 | Egyptian[Home] has joined #ltsp | |
15:29 | otavio has joined #ltsp | |
15:33 | CAN-o-SPAM has quit IRC | |
15:35 | otavio__ has joined #ltsp | |
15:42 | otavio_ has quit IRC | |
15:44 | <treyh> anyone ever set RDP_SERVER to a random ip address?
| |
15:47 | otavio_ has joined #ltsp | |
15:48 | otavio has quit IRC | |
15:51 | treyh has quit IRC | |
15:51 | cg_uira has quit IRC | |
15:51 | cg_uira has joined #ltsp | |
15:58 | otavio__ has quit IRC | |
16:18 | pmatulis has joined #ltsp | |
16:26 | mikkel has quit IRC | |
16:37 | spectra has quit IRC | |
16:44 | spectra has joined #ltsp | |
16:50 | spectra has quit IRC | |
16:54 | Gadi has left #ltsp | |
16:57 | wallabybob has joined #ltsp | |
17:00 | fotanus has quit IRC | |
17:10 | Beer30 has quit IRC | |
17:13 | Selveste1 has quit IRC | |
17:35 | bobby_C has quit IRC | |
17:40 | otavio_ has quit IRC | |
17:41 | Sarten-X2 has quit IRC | |
17:43 | Sarten-X has joined #ltsp | |
17:46 | Ahmuck_Sr has quit IRC | |
18:10 | prpplague has quit IRC | |
18:32 | cg_uira has quit IRC | |
18:39 | staffencasa has quit IRC | |
18:39 | vagrantc has joined #ltsp | |
19:27 | treyh has joined #ltsp | |
19:30 | <treyh> anyone ever wrote a screen script that made RDP_SERVER connect randomly to a list of IP's
| |
19:32 | <vagrantc> treyh: you're still working on that?
| |
19:32 | <treyh> vagrantc: yes
| |
19:33 | <vagrantc> alkisg and you had it figured out when i left. what went wrong?
| |
19:33 | <treyh> alkisg helped me out for a long time
| |
19:33 | it was supposed tow ork, and when i wen to test, it failed and he logged
| |
19:33 | mind taking a look at my screen script to see what I might have done wrong?
| |
19:35 | http://pastebot.ltsp.org/554
| |
19:35 | <vagrantc> install num-utils, and in your script, after it sets RDP_SERVER or sources any files: RDP_SERVER=192.168.1.10$(numrandom /0..3/)
| |
19:35 | <treyh> thats the screen script he helpe me create
| |
19:36 | ok I have num-utils installed
| |
19:36 | vagrantc look at that pastebot, did I put something in the wrong order for that? same basic idea there but didn't work
| |
19:36 | <vagrantc> seems like it isn't including RDP_SERVER anywhere.
| |
19:36 | <treyh> RDP_SERVER=172.16.1.10$((`hexdump -e '"%d"' -n 1 /dev/random` % 4))
| |
19:36 | <vagrantc> you set it, but don't use it.
| |
19:37 | no idea with hexdump, but it looks like RDP_SERVER goes un-used...
| |
19:37 | RDESKTOP_OPTIONS="${RDP_OPTIONS} -f"
| |
19:37 | er.
| |
19:37 | that should be changed to:
| |
19:37 | RDESKTOP_OPTIONS="${RDP_OPTIONS} -f ${RDP_SERVER}"
| |
19:38 | that ought to fix it, or try the num-utils approach
| |
19:38 | <treyh> ty sir
| |
19:38 | trying it now
| |
19:39 | in my lts.conf
| |
19:39 | should i remove the static entry
| |
19:39 | RDP_SERVER = 172.16.0.16
| |
19:45 | vagrantc: no dice
| |
19:46 | Sarten-X has quit IRC | |
19:47 | Sarten-X2 has joined #ltsp | |
19:47 | tarbo has quit IRC | |
19:47 | ajohnson has quit IRC | |
19:47 | shogunx has quit IRC | |
19:47 | map7|away has quit IRC | |
19:47 | elias_a has quit IRC | |
19:48 | tarbo has joined #ltsp | |
19:49 | <treyh> vagrantc: trying your numrandom solution now
| |
19:52 | <vagrantc> treyh: what value is it actually getting?
| |
19:52 | <treyh> vagrantc: it goes to the point where rdesktop should open and just repeats
| |
19:53 | i see ltsp login flash
| |
19:53 | then grey screen
| |
19:53 | then ltsp login flash
| |
19:53 | then grey screen
| |
19:53 | well when i say grey screen, i mean black screen sorry
| |
19:53 | vvinet has joined #ltsp | |
19:58 | ajohnson has joined #ltsp | |
19:58 | shogunx has joined #ltsp | |
19:58 | map7|away has joined #ltsp | |
19:58 | elias_a has joined #ltsp | |
20:03 | <treyh> vagrantc: IT WORKED!
| |
20:07 | <vagrantc> good good
| |
20:08 | <treyh> vagrantc: I do seriously thank you
| |
20:08 | killed two birds with one stone with that
| |
20:08 | my linux load balance server was being maxed out
| |
20:08 | and windows load balancing sucks
| |
20:19 | vagrantc: is there a place I can add notes about how to do this, in the wiki or ltsp docs?
| |
20:20 | !docs
| |
20:20 | <ltspbot> treyh: "docs" is For the most current documentation, see http://wiki.ltsp.org/twiki/bin/view/Ltsp/LtspDocumentationUpstream
| |
20:29 | <vagrantc> might be worth setting up a randomization feature directly in the rdesktop script
| |
20:29 | treyh has quit IRC | |
20:43 | otavio has joined #ltsp | |
20:49 | wallabybob has quit IRC | |
20:52 | pmatulis has quit IRC | |
21:44 | alkisg has joined #ltsp | |
22:15 | comfrey_ has joined #ltsp | |
22:19 | comfrey has quit IRC | |
23:04 | alkisg has quit IRC | |
23:27 | yanu has quit IRC | |
23:30 | yanu has joined #ltsp | |
23:44 | <vagrantc> stgraber: does pulseaudio work for you with ltsp 5.1.87 ? i had to revert the module-udev-detect stuff and just use plain module-detect
| |