@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29



Comments:

<0> smsie: In certain places, we have idesks. The ethernet cables run straight into the desks, and into the back of the PC cartridge. No chance to unplug the buggers at all.
<1> endgamer, so you log in via gdm?
<1> endgamer, are you running crontab -e as the same user who you log into gdm as?
<2> Whatever comes up with the login...not sure what command it actually calls.
<0> smsie: We've not got a *very* large network, but 12k end-points is plenty.
<2> But it's the same login throughout.
<1> endgamer, chances are, if GNOME comes up when you boot your Linux box, you're logging into gdm
<0> smsie: that and a lot of our switches don't allow mac locking.
<3> whyzzyrd: well, yeah...doing it on the switch is the only sane way really
<2> Well, it's definitely the same user throughout.
<4> I've nmever done it on a switch
<4> did it on a washing machine thought
<4> though*
<0> smsie: otherwise you slow your 720G backplane router to a crawl.
<0> Steakk: I expect you'd find a 6513 the appropriate height.



<1> endgamer, I'm out of ideas, then. I was thinking maybe the problem was that the user running the script didn't have permission to access the display.
<1> endgamer, you -are- exporting the variable from the shell script, right?
<2> Which, DISPLAY?
<1> endgamer, yes
<1> endgamer, i.e., "export DISPLAY=:0.0" instead of just "DISPLAY=:0.0"
<0> jgaddis: doesn't look like it'd hold the weight..
<0> jgaddis: aside, how do you find the procurves?
<2> Oh...nope, all the examples I've seen just do the second one! Let me try that....
<5> whyzzyrd: Well, Lindsey was just leaning over on it, we weren't directly on top of it.
<1> endgamer, without the "export" bit, the variable only applies to the shell instance running your script, not to programs started by it
<2> Currently the line in the script is: DISPLAY=:0.0 zenity --warning --title="cron notice" --text "you have mail"
<0> jgaddis: and I suppose it's how well "racked" it was too.
<5> whyzzyrd: Other than that, I'm quite satisfied with our Procurves (2500's, 4108's, and 93xx's)
<5> whyzzyrd: It wasn't, it sits on my desk.
<1> endgamer, ah, then the DISPLAY= only applies to that one command
<0> jgaddis: do you use cisco 3750's too?
<2> But that is the command that's not working...
<6> endgamer: how are you authenticating to the x server? MIT magic cookie file?
<5> whyzzyrd: Nope... switches are all HP, routers are all Cisco, firewalls are all Nokia (except for a single PIX handling a VPN to the hospital).
<1> endgamer, and it doesn't email you any kind of failure message?
<2> Dave, that question p***ed over my head about 200 feet clear...
<2> Nope, no warning email.
<0> jgaddis: and do you use something akin to the protected vlan edge port on the 3750, on the procurves? I'm currently finding great difficulty trying to find something that isn't a 3750 that does it, across a stack of stackables.
<1> endgamer, well, I'm sorry, I'm fresh out of ideas then :|
<6> endgamer: crontab isn't "you" therefore isn't allowed to write to the local display unless authorized to do so
<7> I have som truble finding my cardbus controller on my laptop. Running Gentoo with 2.6.15. It's a 02 Micro, doesn't seem to be unsupported in docs either, but the carbus bridbe and firewire does not work, && they get recognized as unknown devices.
<1> DaveHowe, MIT-MAGIC-COOKIE uses a file in ~
<1> DaveHowe, cron runs jobs as the user who owns them
<5> whyzzyrd: Not sure what you mean by protected VLAN edge port.
<8> hi Liandrin
<6> Liandrin: granted, but not the same session - which means the x-server will reject them. xhost is an option too of course
<1> DaveHowe, not the same process group, certainly, but the cookie is generated at session creation and any job run under that user can access the cookie file
<1> DaveHowe, in my experience, the only thing that restricts access to a display with MIT-MAGIC-COOKIE is having the right cookie in ~/.Xauthority (or some such, it's been years since I've run X)
<6> Liandrin: willing to take your word for that - with the rider that I did a quick google and that suggested the auth was the problem - and that setting xhost (or a magic cookie) was the solutoin
<1> DaveHowe, I used to have root's login scripts copy over the current cookie from my non-root user, so that I could be really bad and run X stuffs as root
<1> DaveHowe, xhost isn't such a good idea
<6> it *could* be automatic - but google suggested it was an auth problem, so I thought I would drop in that option given endgamer seemed at a dead end
<2> Heee...ouch.
<0> jgaddis: it stops edge ports on the switch speaking to other edge ports. You don't apply it to the uplink port.
<1> DaveHowe, given that it lets -any- user on a given host access the display
<6> Liandrin: I know. but its an avenue for testing - if he uses xhost and it starts working, then its an auth problem and he can find a more secure solution
<1> DaveHowe, which might not matter if you're the only person who has an account on the box, but becomes an issue once others get access
<4> MDK allows you to use X apps if you su - via a terminal
<2> It's a single user system, Liandrin, so there's no worries there.
<5> whyzzyrd: No idea if that exists on our switches... if it does, we're not using it, AFAIK.
<4> by default...no other distro I have used allows that by default
<9> awww yea
<1> endgamer, then run "
<1> rgh
<1> endgamer, then run "xhost +"
<6> Liandrin: if it *doesn't* help then he has eliminated that as a problem, and can move on :)
<9> smp-encode GTK+ is just about ready for 1.0 release. Finally got a day to work on it
<1> endgamer, and see if the cron job starts working
<1> Viking667, you can do that? *cringe*
<2> Running...waiting...
<8> Liandrin: dunno if I *can*, but I'm TRYING.
<0> jgaddis: the feature's on 2950's, and we're using it already, but because 2950's don't form a real stack when you stack them ...
<8> so far, the only thing I have to replace is apache.
<8> ... with httpd, presumably



<3> Liandrin: You can dist-upgrade from stormix to current sid if you *really* want to. dpkg is wonderful :)
<0> we need to have some ****ty acl on the stacking ports.
<3> okay, it's not a particularly *clean* dist-upgrade, but it IS doable
<1> smsie, heh, I recall non-clean dist-upgrades vividly from ye olde days ;)
<2> No luck, folks
<1> endgamer, meh
<1> here's a random thought
<2> I take it it's "xhost -" to turn off?
<1> does the zenity command work if you use it from a shell prompt rather than the cron job? ;)
<3> Liandrin: yeah, there still are occasionally.
<2> Liandrin, the whole script works fine if I run it from the command line, just not from cron...
<1> smsie, I recall one particular case where I had to force-deinstall bash, manually unpack it from the .deb, then dpkg -i it
<8> Liandrin: oh, I *did* have to manually install perl, locales, and libc6 first, after that, I was away
<1> endgamer, huh
<3> Liandrin: yes "xhost -" (***uming you were insane enough to use "xhost +" to switch it on...a VERY bad idea
<2> It's alright, xhost turned off again fine
<1> smsie, we were testing
<6> Liandrin: yes. "xhost -" restricts xhost again
<1> smsie, it didn't work even with xhost +, so it's (presumably) not an auth problem
<3> Liandrin: even so. "xhost +localhost" is much much saner. "xhost +" opens it up to the world, not just the local system
<3> Liandrin: fair enough...still a security nightmare waiting to happen :)
<2> Interesting one, huh?
<4> totally off topic here, but does anyone knowif there are any repeaters for a shoutcast stream? IE: I dont wanna stream to 50+ people from a cable connection..it'd kill me...but, is there any servers I can stream to, that will repeat it for me?
<1> and I'd be willing to bet that there's something really obvious and really stupid
<1> mind sending me the script, endgamer?
<8> Steakk: not that I've heard of.
<3> endgamer: can you stick it on a pastebin somewhere? I'd like a look too
<1> smsie, or that
<4> Viking667: that ****s
<2> Sure...give me a sec.
<3> we ought to get our own pastebin
<1> where's a handy pastebin?
<3> www.pastebin.ca?
<8> ...ooops. "menu" just went west.
<3> really, I ought to set one up on shanta...would be easy to do
<8> Revenger: you still awake?
<2> That's handy...I'll use it.
<3> I want to get hold of the code that interprets LaTeX so it can format nicely
<1> http://linux.pastebin.com/
<2> Was about to bodge into the backend of my new website, but this is easier!
<0> last time one of the guys at work did xhost+ whilst testing something, I buggered off, then displayed this image.. http://bellaminettes.com/bm/home/img/homebm08.jpg
<8> smsie: heh. There's a command for that, isn't there? cweb?
<1> whyzzyrd, in a popup window, or on the root window? ;)
<3> Viking667: I've seen a pastebin that does it. It's lovely. I've not seen the backend code for it though. It's VERY useful for talking about maths
<0> Liandrin: in 50 pop-up windows.
<2> It's up now on www.pastebin.ca as "endgamer's script" - but there's really nothing in there significant *except* the zenity command!
<8> lol!!!
<3> whyzzyrd: haha...the root window woulda been funnier :)
<8> ah huh.
<5> Anyone have a good method for wiping data on PocketPC-based PDA's?
<3> jgaddis: bulk eraser? Blowtorch?
<5> Like "restore to its factory default state" kind of wiping.
<8> smsie: I was thinking of a steamroller.
<1> whyzzyrd, heh
<8> but that's a bit too permanent.
<2> The zenity command I added last, despairing of the xmessage and other attempts, it's just like a test run.
<3> Need to get 8248kB of archives.
<3> After unpacking 27.8MB of additional disk space will be used.
<3> jesus!
<8> zenity's nice, BUT you have to call it right, and have to have a DISPLAY running.
<8> what?
<8> smsie: what does it require?
<3> lotsa dependencies
<0> smsie: the root window was set to this: http://bellaminettes.com/good/goodies/404_bellaminette_bg1280.jpg
<3> docbook everything, and gtkeverything
<3> whyzzyrd: NICE!
<2> Thought - I've just replace the crontab line with *just* the zenity command instead of it calling the script.
<10> hahah zenity's freshmeat listing: "It comes from the same family as dialog, Xdialog, and cdialog, but it surp***es those projects by having a cooler name."
<2> *replaced
<2> Heee... RelDrgn I did like that!


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #linux
or
Go to some related logs:

strace -f -o logfile
admv0rl0n woman
nforce alsamixer subwoofer
#chatzone
#gentoo
what does works toilet cleaner contain
#php
WHAT SEA SEPERATES NAPLES AND ALGIERS
#AllNiteCafe
SABIH BRA



Home  |  disclaimer  |  contact  |  submit quotes