Conky does not get killed!

If I start a terminal, run the command
conky
and then exit the terminal, then conky appears again after a few seconds?! How is this possible? All terminals do create a pseudo terminal, which should kill all processes, when it is closed!
Last edited by ying (2011-10-21 12:14:59)

Yes, but I am programming a login manager and my goal is to save time. So I don't want to restart X. All is functioning. Only this conky . I just have seen, that the output of ps -A tells me, that conky runs in a pty (ex.: pty/0). If I stop the pty, it changes to an '?'. So before I close the pseudo terminal, I could collect all processes, which do run in the pty and then kill them.
Edit: But there is a problem. How do I know, which new created ptys (New Terminals started in the DE) are belonging to the the main pseudo terminal process?
Edit2: Conky is ignoring the SIGHUP Signal, when the process session leader sends it out. But I could scan the pids and check their parent pids. That should work.
Last edited by ying (2011-10-21 19:03:31)

Similar Messages

  • Process not getting killed

    Hi ,
    I tried killing the process but still it is not getting killed.Used the below command.
    kill -9 <pid>
    sapkxdap10:orads2 9> ps -ef | grep sap
    sidadm   25255     1  0 Sep21 ?        01:00:18 dw.sapSID_DVEBMGS68 pf=/usr/sap/SID/SYS/profile/SID_DVEBMGS68_sapkxdap10
    I cannot understand what the second field means question mark is there.How to kill the process if they are hung.Thanks.

    > How should i proceed even after stopping sap if the process exists?
    I don't know - I have no clue under which circumstances something that like can occur. You can check using
    ipcs -m
    if there are any shared memory segments allocated. Also stop/kill "saposcol" and "sapstartsrv".
    > And what does that question mark indicate in the output..Thanks.
    Execute
    man ps
    The question mark means the process has no connected terminal (just read the headline when you execute ps -ef) and was started by another process.

  • G/L Account mentioned on line level does not get hit in Journal entry on GRPO and AP Invoice in SAP B1 9.0 PL - 11

    Hi,
    G/L Account mentioned on line level does not get hit in Journal entry on GRPO and AP Invoice in SAP B1 9.0 PL - 11
    I am creating an independent AP Invoice, there are two issues:
    1. On line level G/L Account field is not open for selection
    2. I have then selected and updated the account on Form Settings. Same account gets updated on line level.
         In Journal Entry selected G/L account on line level shall be hitted. But it does not put any effect on JE. Accounting is set by Warehouse. It picks up accounts from warehouse only.
    Need help its urgent.
    Thanks in advance.

    Invoice is Item Type.
    G/L Accounts are set by Warehouse. But if explicitly we are want to change the account on line level in that case, it is not getting reflected in Journal entry. On AR Invoice same scenario works perfectly. On line level I can change the accounts explicitly and have the effect on Journal entries.
    Issue seems to be on AP side only.
    As required please find attached the screen shots.
    JEwith mapped GL Account on Warehouse
    JEwith different GL Account on line Level via Form Settings
    Thanks & Regards
    Sonil

  • I am part of a family sharing setup.  Can I have my own payment method so the organizer does not get charged for my purchases?

    I am part of a family sharing setup.  Can I have my own payment method so the organizer does not get charged for my purchases?  If so, how do I set this up?

    Yes.  Just redeem gift cards so that your own account always has a sufficient credit balance.  Here is how it works:
    Family purchases and payments
    After you set up your family, any time a family member initiates a new purchase it will be billed directly to your account unless that family member has gift or store credit. First, their store credit will be used to pay the partial or total bill. The remainder will bill to the family organizer's card.

  • Iphone 3GS no battery charging icon, does not show charging, does not get recognized by computer or Itunes.

    Iphone 3GS no battery charging icon, does not show charging, does not get recognized by computer or Itunes, have tried restore mode & DFU mode. Bad battery or port?

    iPhone not appearing in iTunes

  • I can no longer get to Facebook Via firefox It comes up loading in the tab but does not get any further one minute it was working the next it was,nt should I try uninstalling firefox then reinstall or does anyone know what could of happened thanks

    # Question
    I can no longer get to Facebook Via firefox It comes up loading in the tab but does not get any further one minute it was working the next it was,nt should I try uninstalling firefox then reinstall or does anyone know what could of happened thanks

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Audigy 4 Pro - I/O Hub does not get any po

    Hello all,
    I purchased an Audigy 4 Pro a few days ago and I cannot get the external hub to power on.
    This somewhat sumarizes what I tried so far:
    . Uninstalled all drivers and software of my old Soundblaster Li've 5. Platinum
    2. Also removed all entries of the old soundcard from Device Manager
    3. Powered down the PC fully, took out the Li've 5. and powered it back on and logged on to my Windows XP (SP2).
    4. Just to be sure before installing the drivers for the Audigy 4 Pro I cleaned out the cookies, temporary internet files, all other Temp folders, the Prefetch folder and also ran a program to clean the registry.
    5. De-activated my Norton AntiVirus Corporate Edition's Real-time protection, it's services and also my ZoneAlarm Pro from starting up the next time I reboot Windows.
    6. Powered down the PC again, took the power cable out, made sure there was no power whatsoever left and carefull inserted the Audigy 4 Pro card in an empty PCI slot.
    7. Connected the larger AD_Link to the card, then to the hub
    8. Connected the smaller AD_Link to the card, then to the hub
    9. Finally connected the power convertor cable to a free systems power unit
    0. Double-checked the entire hardware setup a few times and power the PC back on
    . Windows XP detected and installed the OHCI Compliant IEEE 394 Host Controller and the 394 Net Adapter
    2. Canceled to proceed looking for a driver when it found the Audigy 4 Pro card
    3. Installed the drivers and applications that came with the Audigy 4 Pro. Everything went smooth - no error messages during the installation.
    4. Rebooted PC after prompting to do so.
    5. With ZoneAlarm and my Norton Antivirus de-activated, all drivers and programs installed properly the external I/O hub does NOT get any power. I also made sure to check this with the remote control.
    I have ofcourse no sound coming out that hub when plugging in my headphone and also cannot use my microphone.
    6. I ran the Diagnostics program that was installed automatically with the other Creative applications: It claims there aren't any problems.
    7. Powered down the PC again, checked all connectors, powered the PC up again: Same problem... no power.
    8. Installed the latest 4-in- drivers found on viaarena.com: Same problem
    9. Uninstalled and reinstalled the drivers and applications: Same problem
    20. Uninstalled and reinstalled the drivers and applications after taking out all other PCI cards and placing the Audigy 4 Pro card into an other PCI slot: Same problem
    2. Set my BIOS to factory defaults: Same problem
    22. Formatted the PC and reinstalled Windows XP (SP) with every update thinkable... Same problem
    23. Formatted the PC AGAIN ( ! ) and reinstalled Windows (SP2) with updates .... Same problem
    Another problem: Sent a detailed e-mail to Creative Support Europe.... Still NO respons after 48+ hours.
    Anyone else should have a solution I would appreciate trying out, or if all fails I'll go for a Terratec model.
    Thanks in advance!
    PC Stats: Asus A7V266 - VIA KT266 Chipset (VT8366 North Bridge with VT8233 South Bridge) / BIOS version: 0 / AMD Athlon .4GHz / 52Mb
    Message Edited by HilTek on 07-05-2005 :04 PM

    Amazing, I got mine about 3 days ago and have been pulling my hair out trying to resolve the same problem. I have checked power connections, reinstalled drivers. I think something is wrong with the box. I tried to call support yesterday, which was a Saturday, but they aren't available til Monday. I guess I will call them Monday. Let me know if you find anything out in the mean time.
    Thanks
    John
    AMD Athlon(tm) 64 FX-57 Processor
    A8N-SLI Premium
    NVIDIA GeForce 7800 GTX
    GB RAM
    WIN Pro x64

  • Solution Manager does not get service definitions from SAP in self diagnosi

    Hi,
    In our production solution manager transaction solution_manager, self diagnosis we are getting a warning message on our development solution manager. 
    Solution Manager XXX does not get service definitions from SAP.
    The production Solution Manager is the master in SDCCN for the test Solution Manager.  In the test Solution Manager, the scheduled task REFRESH SERVICE DEFINITIONS has task System ID of O01.  It is pointed to RFC destination SDCC_OSS, not the production Solution Manager system.
    It gives the same warning if I point the task to the production Solution Manager system.
    Has anyone seen this before?  Any ideas?
    Best regards,
    Russ

    Hi,
      i guess have you activated SDCCN from your solution manager system too?
    if not please activate. since that setup helps solman retrive the service definitions used in SDCCN from SAP (SAPOSS).so this ultimately allows you to set solution manager system as Master, so all the satellite system get the service definition from solman and do not need a direct SAPOSS connection.
    and Please check this Note 1143775 - SAP service content update
    the wiki for trouble shoot ["EarlyWatch Alert is Red Flagged - how to resolve" |http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=228262728]
    please check.
    Thanks,
    Jansi

  • When I send a text message to my husbands iPhone he does not get it

    When I send a text to my husbands iPhone he does not get it.  It worked before the new update.

    Either one of you needs to uncheck the other's phone number under settings&lt;messages&lt;send &amp; receive or one of you needs to sign out of the apple ID in iMessage settings altogether by pressing the apple id on the page and choosing 'sign out'

  • My itunes does not get the names of all tracks which i import.

    When i import a cd into itunes, it does not get any track names. Why is this.
    Also, itunes does not connect to the music store. It tells me that i should check my connection etc etc. Are these problems related, and what can i do to fix it?

    Let me guess, did you just install/upgrade iTunes?
    If so, then it's surely your security software (firewall, web accelerator, privacy filters, etc) that is blocking iTunes.
    The iTunes "upgrade" is actually an uninstall, then total new install, of iTunes and QuickTime. Many security packages such as Norton, Zone Alarm, Google Web accelerator, McAfee, PCillin (...the list is long) see this new iTunes install as a malicious threat, and block out the previous settings without telling you.
    Go to your security software vendor's website and see if they have directions for allowing iTunes & QT back in the list of programs allowed to access the internet.

  • Java does not get file list from shared folder in another server.

    Hi,
    I'm using java 1.4.2.16,
    Command below does not get file list.
    import java.io.;*..
    File file = new File("\\\\10.242.22.28\\SapMII");
    File[] files = file.listFiles();
    SapMII folder is Everyone full Control permission.
    How can i solve this problem?
    Thanks.

    Could you please post replies in a more helpful way? Just informing me that it was an NPE doesn't really tell me anything. Post the stacktrace (Exception#printStackTrace()). And the listFile() methods API has this to say:
    Returns null if this abstract pathname does not denote a directory, or if an I/O error occurs.I'm able to run this sample code easily:
    import java.io.File;
    public class TestFileList {
         public static void main(String[] args) {
              File file = new File("\\\\10.40.55.33\\shared");
              File [] files = file.listFiles();
              for(File currentFile: files )
                   System.out.println(currentFile.getName());
    }

  • Lov command link does not get refreshed

    We are using Jheadstart 11.1.1.4.26 with Jdeveloper 11.1.1.4 and we think we have found a bug.
    The scenario includes two items, an inputtext (FirstName) and an LovItem (ManagerId)
    The LovItem (ManagerId) is dependent on the inputtext (FirstName) with Clear/Refresh and has a Disabled Expession #{bindings.EmployeesFirstName.inputValue==null} so that when the Firstname is null the LovItem (ManagerId) is disabled.
    This seems to work fine except from the commandLink of the LovItem which does not get refreshed. This is probably because the Id of the commandLink is not included in the componentsToRefresh item inside the EmployeesFirstNameDependsOnItem.
    Of course we could create a custom vm for the default/misc/facesConfig/dependsOnItemBean.vm and pass the id of the commandlink but we are looking for a more generic way.
    <managed-bean id="__168">
    <managed-bean-name id="__169">EmployeesFirstNameDependsOnItem</managed-bean-name>
    <managed-bean-class id="__170">oracle.jheadstart.controller.jsf.bean.DependsOnItemBean</managed-bean-class>
    <managed-bean-scope id="__171">application</managed-bean-scope>
    <managed-property id="__172">
    <property-name id="__173">itemsToClear</property-name>
    <list-entries id="__174">
    <value id="__175">EmployeesManagerId</value>
    </list-entries>
    </managed-property>
    <managed-property id="__176">
    <property-name id="__177">componentsToRefresh</property-name>
    <list-entries id="__178">
    <value id="__179">EmployeesManagerId</value>
    </list-entries>
    </managed-property>
    </managed-bean>
    I sent a testcase to '[email protected]' last friday.
    Regards
    Vasileios

    Vasileios,
    Thank, I was able to reproduce this. We will fix it in the next release.
    Here is how you can fix it using custom templates:
    - add the following macro to your custom macros file:
    #macro (ITEM_LINK_PARTIAL_TRIGGERS)
    partialTriggers = "#foreach($item in $JHS.current.item.dependsOnItems) #if (($JHS.current.pageComponent.hasOverflowRight || $JHS.current.pageComponent.hasOverflowRightWithSplitter || $JHS.current.pageComponent.hasOverflowBelow || $JHS.current.pageComponent.hasOverflowBelowWithSplitter) && $JHS.current.item.displayInTableOverflow && !$item.displayInTableOverflow)${JHS.current.group.shortName}PC:${JHS.current.group.shortName}Tab:#end${item.id}#end" #end
    - in the custom formLovItem and tableLovItem templates, add this macro to the commandLink element:
    <af:commandLink immediate="true" partialSubmit="true" #ITEM_DISABLED_IN_FORM() #ITEM_UPDATEABLE_IN_FORM() id="#NEW_ID("cl")" #ITEM_LINK_PARTIAL_TRIGGERS()
    Steven Davelaar,
    JHeadstart team.

  • SQLite encrypted Database does not get attached Using Adobe Air,Why?

    Hi,
    Any one knows the solution, am trying to attach the encrypted SQLite database adobe air-adobe flex bulder , it does not get attached using sqlconnection.attach throws error, though the given key is correct, but it gets open using sqlconnection.open with the same key, any one knows the solution, how to attach the encrypted data base, since am using two data base one is opened and another must be attached to the existing ,thanks in advance. using adobe air- flex related. i use the following code
                   databaseFile1 = File.applicationStorageDirectory.resolvePath("Sample_1.sqlite");
                   databaseFile2 = File.applicationStorageDirectory.resolvePath("Sample_2.sqlite");
    dbConnection.open(databaseFile1, SQLMode.CREATE, false, 1024, secKey);
    dbConnection.attach("db2",databaseFile2,null,secKey);
    got the following error.
    ERROR #3125 Unable to open the database file.

    And I would say more "this is the issue" !
    It should be possible as it is clearly stated in the doc :
    public function attach(name:String, reference:Object = null, responder:Responder = null, encryptionKey:ByteArray = null):void
    with 
    encryptionKey:ByteArray (default = null) — The encryption key for the database file. If the attach() call creates a database, the database is encrypted and the specified key is used as the encryption key for the database. If the call attaches an existing encrypted database, the value must match the database's encryption key or an error occurs. If the database being attached is not encrypted, or to create an unencrypted database, the value must be null (the default).
    so with a same encryptionkey, I (and this should be the same for FinalTarget) can open the encrypted db but not to attach it... quite strange.

  • Hostname verifier does not get invoked

    Hi All,
    I am new to weblogic and currently facing an issue with SSL. I checked this forum but none of the solutions really worked for me, so seeking advice starting a new thread. Kindly help.
    Problem 1
    I have a REST webservice running in one weblogic server and another weblogic server contains a client which is based on the code from the following link -
    http://wiki.open-esb.java.net/attach/RestBCEchoSSL/SslClient.java
    One way handshaking is enabled in both the weblogic and the KeyStore and Truststore are read from configurable directory in the client java code. I specify a directory which resides outside weblogic home.
    Even though there is an HostnameVerifier implemented in the code to return true always, it does not get invoked and I get a certificate exception as below -
    <Warning> <Security> <BEA-090542> <Certificate chain received from xx.yy.zz.rrr - xx.yy.zz.rrr was not trusted causing SSL handshake failure. Check the certificate chain to determine if it should be trusted or not. If it should be trusted, then update the client trusted CA configuration to trust the CA certificate that signed the peer certificate chain. If you are connecting to a WLS server that is using demo certificates (the default WLS server behavior), and you want this client to trust demo certificates, then specify -Dweblogic.security.TrustKeyStore=DemoTrust on the command line for this client.>
    But when I run the java client from Eclipse I am able to invoke the webservice methods using HTTPs.
    So is not it possible to add a default hostname verifier as in the java code when the application is deployed in weblogic?
    Problem 2
    I another attempt to solve the above issue I turned off the hostname verification from weblogic admin console in the client weblogic side. In the console for the server Configuration > SSL->Hostname Verification field is set to "None". But that did not help.
    Then I added the '-Dweblogic.security.SSL.ignoreHostnameVerification=true' flag into the <domain>/bin/startWebLogic.sh file and restarted the weblogic. No luck again.
    ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy -Dweblogic.security.SSL.ignoreHostnameVerification=true ${PROXY_SETTINGS} ${SERVER_CLASS}
    I tried recreating the certificate using the' hostname' instead of the ip address ( also added an entry into the /etc/hosts file putting the ip and hostname so that I can do ping <hostname> from the client and get response returned from the server side). Again no luck :(. I keep getting the same handshake failure as mentioned above.
    The weblogic version is 10.x.
    Thanks,
    Amrit

    I did some more research for the issue mentioned which I yet to get rid of.
    1) I wrote a REST web service which makes a call to another REST service deployed on another weblogic using HTTPs (same code as mentioned above is used). I delpoyed the war and made a http call to the first webservice, the other REST service was invoked successfully using HTTPs. So this confirmed that there is no problem with the certificates or keystore or hostname verifictaion.
    2) My actual application still throws the handshake exception as below -
    <Warning> <Security> <BEA-090542> <Certificate chain received from xx.yy.zz.rrr - xx.yy.zz.rrr was not trusted causing SSL handshake failure. Check the certificate chain to determine if it should be trusted or not. If it should be trusted, then update the client trusted CA configuration to trust the CA certificate that signed the peer certificate chain. If you are connecting to a WLS server that is using demo certificates (the default WLS server behavior), and you want this client to trust demo certificates, then specify -Dweblogic.security.TrustKeyStore=DemoTrust on the command line for this client.>
    So I think the problem is something else but weblogic is priniting the exception message wrong.
    The process hierarchy ( in UNIX ) is as shown below -
    bea 31914 31913 0 14:29 ? 00:00:00 /bin/sh <DOMAIN HOME>//bin/startWebLogic.sh
    bea 31989 31914 0 14:29 ? 00:01:25 /opt/bea/jdk160_24/bin/java <The weblogic start server process> started by startWebLogic.sh
    bea 32107 31989 0 14:29 ? 00:00:09 /opt/bea/jdk160_24/bin/java <One of custom process>
    bea 2038 32107 0 18:38 ? 00:00:15 /opt/bea/jdk160_24/bin/java <Another custom process which contains my java classes containing the REST client>
    The problem is there in both Weblogic 11 and 10.3 version.
    I will be grateful if someone gives any clue about the problem.

  • JAR file does not get uploaded to client for my SERVLET generated APPLET

    Some help please...
    I have a servlet that generates the HTML code that contains an APPLET. This APPLET needs a JAR file that is listed under its ARCHIVE property. The SERVLET is in a JAR file that is in the same directory as the other needed JAR file. If I create a static HTML with the output of the SERVLET it works fine. But if go through Weblogic the needed JAR file does not get uploaded to the client so I get a java.lang.NoClassDefFoundError:and my APPLET does not load.
    Q1: I am not sure what to put under the CODEBASE tag. I tried "." and I also tried "http://mymachine" but both did not work. I also tried without the CODEBASE tag. No luck. The SERVLET is bound to http://mymachine/servlet.
    Q2: Does anyone have any suggestions on how to do this? Is there a way to force the browser to upload a certain JAR file?
    Thanks...

    It works!!
    This is what I did:
    The jar file in question was the weblogic.jar. I tried putting it under the lib directory of my war file but I had problems because the weblogic.jar contains other war files inside so when I tried to deploy my war file it also tried to deploy the inner war files which for some reason did not work. So I tried removing the war files from the weblogic.jar and this time I had no problems deploying my war file but I still could not find the classes I needed. So I tried moving the weblogic.jar to the root dir of my war file and it worked!! Now the trick here was: I did not set the CODEBASE AND I had the ARCHIVE paramenter set in TWO places like below:
    <APPLET CODE = "marketmap.client.MarketMapApplet"
    ARCHIVE = "weblogic.jar"
    WIDTH = "657"
    HEIGHT = "382"
    ALIGN = "BOTTOM"
    ALT = "APPLET tag not recognized">
    </XMP>
    <PARAM NAME = CODE VALUE = "MyApplet" >
    <PARAM NAME = "type" VALUE="application/x-java-applet;version=1.2.2">
    <PARAM NAME = "scriptable" VALUE="false">
    <PARAM NAME = ARCHIVE VALUE="weblogic.jar">
    </APPLET>
    Actually if you do not place a parameter named ARCHIVE (at the end) it wil NOT work. I tried with multiple jar files listed and it works great too.
    Anyway I figure I'd share. Thanks for the help too.
    Lastly for people who choose not to upload the jar files to clients, you should look at the bea documentation on applets. It lists a classpath servlet that allows you to provide classes to the clients without having to force them to download the jar file.

Maybe you are looking for