[Solved] How to start wpa_gui with the acpid

I have written a script, which start my wlan.
#!/bin/bash
#/usr/local/bin/wlan
function wlan_start {
# a workaround. reload the module
modprobe -r iwlagn
modprobe iwlagn
ifconfig wlan0 up
dhcpcd -b -q -t 0 wlan0
wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -Dwext -B
wpa_gui &
function wlan_stop {
dhcpcd -q -x wlan0
killall wpa_supplicant
ifconfig wlan0 down
case "$1" in
start) wlan_start ;;
stop) wlan_stop ;;
esac
If I run it from a console (sudo /usr/local/bin/wlan start) the wpa_gui pops up.
I have installed it into the handler.sh from acpi. The script is correctly executed, if fn+f5 is pressed, but wpa_gui does not pop up.
What should I change, that it the gui pops up whith fn+f5?
Edit:
The problem was, that I forgot the access restriction of X.
Adding following code helps:
export DISPLAY=:0.0
export XAUTHORITY=/root/.Xauthority
Remark: /root/.Xauthority is a link to the file of the notebook user.
Last edited by dudell (2010-01-25 10:10:07)

Mahesh,
In the post installation document, under Creating User XISUPER,
I see the following,
1.You must now log on to the Integration server host with the user XISUPER, to switch the initial password to a valid password.
2.You must restart the J2EE engine to transfer the user creation to the J2EE immediately.
I am unable to proceed here.Can you please help me to resume the post installation steps ?
Thanks,

Similar Messages

  • [SOLVED] How to start JACK with KDE 4? (and which JACK should I use?)

    Hi again
    I'm using KDE 4, and I've just installed JACK again, and since I can't find any decent documentation on this, I'm having a bit of a problem.
    Currently I have jack from [extra] installed, rather than jack2. When I try starting jack as the ArchWiki suggests, i.e. by typing "jackd -d alsa", I get the following error:
    $ jackd -d alsa
    jackd 0.120.1
    Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
    jackd comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
    JACK compiled with System V SHM support.
    loading driver ..
    creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
    control device hw:0
    the playback device "hw:0" is already in use. Please stop the application using it and run JACK again
    cannot load driver module alsa
    I've also tried jack2 from [community], and after starting it with "jack_control start", I get this...
    $ jack_control start
    --- start
    DBus exception: org.jackaudio.Error.Generic: Failed to start server
    So how do I start it? I'm guessing jack doesn't want to start because some other KDE application grabbed alsa before jackd (but I've been wrong before), and I don't have the slightest idea what jack2 is about with that "generic" error. If anyone would help me shed some light on this, I'd appreciate it a lot.
    Thanks in advance!
    Last edited by Wintershade (2011-03-26 19:22:08)

    @schivmeister thanks that one worked
    Yes, it was knotify4. So now this part works. I've switched to jack2 and it works flawlessly when starting it with jackd
    So this part is solved... now, would you be so kind (if you know) as to point me to some tutorials or howtos (or proper documentation, cos I can't find much of that either) on how to connect various ALSA channels with JACK?
    Basically, I want to route my PCM channel and the Mic channel into Capture 1 (or one to Capture 1 and other to Capture 2), since my Intel HDA audio card doesn't have the "Mix" or "What-U-Hear" or whatever as an available capture source. Any leads on that? (or do I have to open another thread for it?)
    TIA

  • [SOLVED]How to install packages with the -U option? PGP error.

    I have to downgrade some packages (linux package due to ath5k problem), but pacman won't allow me because of the signatures.
    I downloaded the packages i need from here http://schlunix.org/archlinux/.
    These packages are safe to install? How can i bypass the signature check, if these packages are safe to install?
    Thanks.
    Last edited by Hyugga (2012-04-19 19:46:23)

    If you have a pgp key, you can sign the packages with your own key. You can do this by editing /etc/makepkg.conf, adding your key to the  GPGKEY="" section and enabling the sign option in the BUILDENV section. When building the package, it'll then be signed with your personal key. Afterwards import your key in pacman (pacman-key -r <yourkey>), assign the proper trust level and you're good to go.
    A workaround is to temporarily set "SigLevel = Never" in your /etc/pacman.conf (and hence disabling keysigning).
    EDIT: I just bothered to actually check your link and you'll be installing prebuilt binaries, so my first explanation doesn't apply there (you won't be building anything). So just setting SigLevel to Optional or Never (temporarily) should do.
    Last edited by Gcool (2012-04-19 19:23:05)

  • Lightroom crashes at start up with the error message "Lightroom encountered an error when reading from its preview cache and needs to quit".  Please advise on how to fix this error.  Thanks

    Lightroom crashes at start up with the error message "Lightroom encountered an error when reading from its preview cache and needs to quit".  Please advise on how to fix this error.  Thanks

    You probably need to delete your preview cache.  See here  
    Why And How To Clear Your Lightroom Cache - Lightroom Fanatic
    Preference and other file locations in Lightroom 5

  • I mistakenly deleted all browsers from my laptop in an attempt to start clean with the newest version of Firefox. I still have Firefox on my desktop. How can I copy it to my laptop?

    I mistakenly deleted all browsers from my laptop in an attempt to start clean with the newest version of Firefox. I still have Firefox on my desktop. How can I copy it to my laptop?

    Re-installing the Firefox browser is fairly easy. For most users the important part is the information held in the [[profiles|profile]] including bookmarks and passwords.
    If you remove personal settings it is almost impossible to get them back. You can however [[what is firefox sync?|sync]] between computers, and that effectively clones your bookmarks etc.
    If you have not already removed setting do not do so now, some of that info may be recoverable.

  • I was reading slides on powerpoint and my macbook froze so I restarted it and it stuck in the start screen with the apple and the loading wheel and it would not go any further. How can I restart my computer?

    I was reading slides on powerpoint and my macbook froze so I restarted it and it stuck in the start screen with the apple and the loading wheel and it would not go any further. How can I restart my computer?

    Press and hold down the power button until it shut down. Then power it back up.

  • How can I print with the black and white cartridge only?

    I am trying to print using the black and white cartridge only because magenta is out of ink but I'm getting the following error message in HP Photosmart C7200 series print dialog:
    The printer is out of ink.
    The following ink cartridges are empty: Magenta. Replace these ink cartridges to resume printing.
    How can I print with the black and white cartridge only?
    Mac OSX 10.7.3
    HP Photosmart C7280 (7200 series)
    This question was solved.
    View Solution.

    I am absolutely disgusted by this; clearly a scam from HP to make more money by selling extra ink cartridges!!  I will make sure to never buy any products from the shoddy rip off merchants at HP ever again!!
    You should be ashamed!!

  • HT1329 My old computer crashed and I had to get a new one.  I was unable to save anything from the old computer.  Is there anyway to get my music from my Ipod to my new computer without having to start over with the old cd's again

    My old computer crashed and I had to get a new one.  I was unable to save anything from the old computer.  Is there anyway to get my music from my Ipod to my new computer without having to start over with the old cd's again

    Hello cheech07,
    The following article contains directions that can help get you back on track with iTunes. I'd recommend picking up at 'Part 5' of the 'External drive' section.
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/HT4527
    Cheers,
    Allen

  • My computer was reimaged and iTunes was deleted, now when I try to sync my ipad it says it is synced with another library?  How do I sync with the newly installed iTunes without losing all of my data on my ipad?

    My computer was reimaged and iTunes was deleted, now when I try to sync my ipad it says it is synced with another library?  How do I sync with the newly installed iTunes without losing all of my data on my ipad?

    Copy all the content on your iPod back to your PC and into iTunes. Then go ahead and sync the iPod with your new library.
    See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • How to start and stop the BI Services in Solaris 10

    Hello All,
    Can anyone guide me on how to start and stop the BI Services in Solaris 10. In windows there are options set in Start->Programs->Middleware_Home->Start/Stop BI Services.
    Primarily after doing changes to the scheduler configuration, I need to restart the services to get it implemented? If yes how can I do it?
    Any help will be appreciated
    Thank you
    Ash
    Edited by: 902739 on Jan 11, 2012 12:17 PM

    Please help me by showing action plan for stop sap , offline backup and then start sap.
    i am little bit confuse How to start and stop SAP on cluster for offline backup
    Below are the systems name with host name , please explain me in sequence
    Systems name                                   Hostname
    # Hope SAP ERP Prod DB Primary       gsgbbux860
    # Hope SAP ERP Prod DB Standby      gsgbbux861
    # Hope SAP ERP Prod Cluster              gsgbbux862
    # Hope SAP ERP App 1                       gsgbbux864
    # Hope SAP ERP App 2                       gsgbbux865
    Thanks in advance
    Zaheer

  • [SOLVED] How to start pulseaudio on boot without a DE or WM? (XBMC)

    Hi Guys,
    I run XBMC without a desktop environment or Window Manager, it launches via my .xinitrc as below:
    exec /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc --standalone -fs
    I can use pulseaudio with xbmc if I run from an ssh session "/usr/bin/start-pulseaudio-x11" after xbmc has loaded up.
    My question is, how do I start this automatically? If I add /usr/bin/start-pulseaudio-x11 directly above the exec line in my .xinitrc XBMC seems to take a good deal longer to start.
    Any tips much appreciated.
    Last edited by adr3nal1n (2011-08-30 19:11:01)

    Thanks very much Vendion, I have tried as you suggested and it does work and XBMC loads up faster as a result of pulseaudio starting in the background. However this method leaves a defunct pulseaudio process after XBMC has started (along with the running pulseaudio processes). Is this normal when starting a process in the background from .xinitrc?
    Out of curiosity, I have also tried another approach. I #'ed out the "/usr/bin/start-pulseaudio-x11 &"entry in the .xinitrc and added "/usr/bin/start-pulseaudio-x11" (without the &) at the start of the /usr/bin/xbmc shell script that the exec line of the .xinitrc uses to launch xbmc and it loads just as fast as the suggested approach but minus the defunct pulseaudio process after xbmc starts. Weird, because if I try removing the & from the /usr/bin/start-pulseaudio-x11" entry in .xintrc pulseaudio seems to hang on startup and /var/log/everything.log shows console kit timeout errors.
    I am happy I have a fix for this now, I am just confused as to the behaviour encountered when trying to do this in the .xinitrc rather than editiing the xbmc launch script directly. Have you seen anything like this before?
    Thanks again for all your help on this.

  • HOW TO START OFF WITH J2ME

    Hi ,
    i'am a beginner.i'am in the initial stages of my carrer in mobile industry.
    i'am well versed in java.
    i want to learn J2ME.i'am unable to know the starting point.
    Anyone, please guide me how to start off with learning J2ME.
    desperately waiting for a reply..
    Thanx,

    this forum is for web services, but not j2me. several suggestions:
    1. go to j2me forum
    2. download a j2me wireless toolkit
    3. read articles about j2me on this site

  • How to start working with iReport?

    Hi All,
    I'm just decide to use iReport for create report on Web but I don't know
    How to start working with iReport , What program I should to install , How
    to config any system files and set property .
    Please advice me for work with IReport.
    Thank you

    Hi,
    best hint to give is to start interviewing the product owner
    http://ireport.sourceforge.net/cap3.html
    Note that this is an open source project. Once you know which libraries you need, create a project in JDeveloper and double click on the project node. There is a Library node that allows you to import libraries to be used in your code.
    Under Tools --> Manage Libraries you can configure JSP tag libraries if required
    Frank

  • How to start workin with WebLogic 11g

    Hi!.
    can anyone out there guide me with how to start working with Weblogic..
    i have made a jsp page but cant deploy it.. actually i know how to on Weblogic 8 but not on this version of the S/W...
    Please give a detailed guiding about where to paste the jsp , servelets ant other pages in my folder because i cant find out where i have to paste the files to deploy them... and i cant find the weblogic builder...
    Please..

    Developing and deploying of web applications/ Enterprise applications remains the same as in wls 81.
    Please refer the following doc for deployment : http://download.oracle.com/docs/cd/E12839_01/web.1111/e13702/understanding.htm#i1051084
    For developing web application pls refer : http://download.oracle.com/docs/cd/E12839_01/web.1111/e13712/basics.htm#i153628
    Hope this helps.

  • I am having trouble trying to boot from my lion osx install disk on a 2007 macbook.  The disk ejects when I start up with the option key depressed.  Anyone have any ideas?

    I am having trouble trying to boot from my lion osx install disk on a 2007 macbook.  The disk ejects when I start up with the option key depressed.  Anyone have any ideas?
    Thank you.

    How did you get a Lion OSX install disc? They don't exist. Do you mean the gray disks that came with your 2007 MacBook?
    If you mean the gray disks, try starting up with the "c" key held down.
    What version of OSX is on your MacBook now? Have you tried booting from the Recovery partition?

Maybe you are looking for

  • ITunes and Airfoil on MBP no longer see Airport express. Why?

    I use an Airport Express to stream music from MacBook Pro (10.6.8) to our home theater system. Has always worked fine (with both iTunes 10.7 and Airfoil 4.7.6) -- up until recently. Now iTunes no longer has the button to switch speakers and Airfoil n

  • Create a pdf from an arabic wiki page

    hello there! I come across a nasty probleme whil trying to create a pdf from a wikipedia page: I go to File--> Create PDF --> From web page, then I choose an arabic page (example adobe entry from wiki http://ar.wikipedia.org/wiki/%D8%B4%D8%B1%D9%83%D

  • Warning Messages - Could not find schema information for the element applicationSettings - App.Config of a console app

    This is my app.config file <?xml version="1.0" encoding="utf-8" ?> <configuration>     <configSections>         <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, Pu

  • RE:ANOTHER SELECTION SCREEN VALIDATION

    s_arrno  FOR /rbc2/yv_an_arno-/rbc2/yv_arrno, /rbc2/yv_an_arno IS A CUSTOM TABLE. I HAVE TO GIVE F4 HELP TO IT. I GAVE LIKE AT SELECTION SCREEN ON VALUE REQUEST FOR S_ARRNO. CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'   EXPORTING   DDIC_STRUCTURE   

  • Is there an iPad mount/dock for the car

    There must be some kind of product out there that will enable one to mount their iPad in the car so it can be used/viewed while driving or just kicking back while parked. Anybody aware of such a thing?