[LXDE] (solved) wicd-client is autostarted, but from where ?

Hi,
I have a strange problem (not really a problem, but this is strange).
Every time I start my computer, wicd-client starts too (which is what I want), but I don't remember where I decided to autostart wicd-client.
I have no display manager, but X starts automatically from /etc/inittab (with startx), and I use the desktop manager LXDE.
I have looked in ~/.xinitrc, ~/.config/autostart, ~/.config/lxsession and ~/.config/openbox, and found nothing.
Do you know of another place where I could have asked wicd-client to start ?
Thank you
Fractal
Last edited by Fractal (2010-04-03 10:12:38)

[ disregard what was previously here, I can't read ]
pacman -Ql wicd | grep desktop
shows that wicd installs /etc/xdg/autostart/wicd-tray.desktop and /usr/share/applications/wicd.desktop .
Last edited by Zoole (2010-04-03 00:34:56)

Similar Messages

  • {SOLVED} Wicd works in KDE but not in Enlightenment

    Greetings all,
    I searched the Wiki as well as Google for this issue and though I have found a few random forum questions pop up, none of them reflected the issue that I am having.
    I have both KDE and Enlightenment installed.  Easy to switch between the two of them but I like Enlightenment more and want to use it.  Problem I have is, when I first ran Enlightenment, it prompts you with a selection of various programs to install.  Amongst others, I chose Wicd because that is what I having up and running great in my KDE desktop.
    When I click on Wicd in Enlightenment, I automatically get an error stating that Wicd error cannot connect to dbus.  When I run ifconfig wlan0 up, my wireless light came on and I know that it is working but I still get the same error.  It also states that no error was put in the log so there is nothing for me to look at and investigate.  When I go back in and log in with KDE, Wicd comes up, asks me for my password and alas I have a good connection to my router.
    Any and all suggestions will be most appreciated.
    All the best,
    Ian
    Last edited by ichase (2011-02-17 12:56:23)

    Greetings FarmerF,
    I start by selecting wicd in my "internet" list of programs.  In other words, I select the icon.  In KDE wicd automatically comes up and prompts me for my password.  Would like to get that happening in E17 as well
    I don't have wicd in my DAEMONS list in my /etc/rc.conf file because it autostarts in KDE.  But it might be a good idea to add it. 
    I have "exec ck-launch-session start_enlightenment" in my .xinitrc file.  I just uncomment it and comment my KDE then in my DAEMONS of my rc.conf I blacklist KDE so it does not attempt to start.
    I have both dbus and hal installed and both are listed in my DAEMONS
    It only occurs once I manually start wicd.  As previously mentioned, when I type ifconfig wlan0 up the wifi light comes on.  Strange. 
    Ian

  • The CG$ASK_COMMIT alert is being generated from designer but from where??

    I am generating oracle forms from designer and the generated form contains an ALERT called CG$ASK_COMMIT. My question is, which generator property, specifies this ALERT?? I have looked everywhere? I am trying to change the alert type, style, wording without modifying the form after generation.
    Any help would be great.
    Thanks in advance,
    Terry

    I don't know if there is preference for it. What we do is put this in the when-new-form-instance:
         l_alert_id := FIND_ALERT('CG$ASK_COMMIT');
         IF NOT ID_NULL(l_alert_id) THEN
            SET_ALERT_PROPERTY(l_alert_id,ALERT_MESSAGE_TEXT,'<your message>');
            SET_ALERT_BUTTON_PROPERTY(l_alert_id, ALERT_BUTTON1, LABEL, '<your label>');
            SET_ALERT_BUTTON_PROPERTY(l_alert_id, ALERT_BUTTON2, LABEL, '<your label>');
            SET_ALERT_BUTTON_PROPERTY(l_alert_id, ALERT_BUTTON3, LABEL, '<your label>');
         END IF;

  • [SOLVED] on last reboot, two wicd-clients running + two tray icons?

    Hi,
    I've been using wicd forever and for the first time, I had two tray icons showing this morning. I used to use xfce but switched to openbox about a month ago and have been using an autostart.sh like so:
    $ cat .config/openbox/autostart.sh |tail
    #bg
    eval `cat ~/.fehbg` &
    #post-start operations
    (tint2) &
    (conky -c /etc/conky/conky.conf) &
    (conky -c /etc/conky/conky-top.conf) &
    (wicd-client) &
    This has been working fine, at least as far as I knew. Suddenly this morning when I started up X, I had two wireless icons in my tray. I found that two wicd-clients were running:
    $ ps ax |grep wicd
    3492 ? S 0:00 /usr/bin/python2 -O /usr/share/wicd/daemon/wicd-daemon.py
    3500 ? S 0:00 /usr/bin/python2 -O /usr/share/wicd/daemon/monitor.py
    3573 tty1 S 0:00 /usr/bin/python2 -O /usr/share/wicd/gtk/wicd-client.py
    3578 tty1 S 0:00 /usr/bin/python2 -O /usr/share/wicd/gtk/wicd-client.py
    3641 ? Ss 0:00 wpa_supplicant -B -i wlan0 -c /var/lib/wicd/configurations/001b5311e850 -D wext
    This has never happened and I'm not sure why it would start all of the sudden like this. If I remove it from ~/.config/openbox/autostart.sh, I only get one wicd-client. If I put it back, I get two. But I never used to get two even when it was in autostart.sh before (like as of any time before this morning), which is why this is so puzzling.
    I thought it might have been an upgrade, but I just reinstalled Arch completely on Saturday to do encryption and pacman.log shows that this is the only version of wicd that's been installed.
    I wondered if having wicd in /etc/rc.conf daemons was enough to start the client upon startx, but the Arch wiki on wicd implies that you should have wicd-client in autostart.sh or equivalent.
    Can anyone assist in diagnosing the problem? I guess I'd be looking for:
    1) validation that wicd in DAEMONS of /etc/rc.conf is sufficient to start the client
    2) some way to find out where both wicd-clients are being started from (if that's even possible); for example, autostart.sh-started apps might potentially be tied to my username, whereas if something's being started from the system side, perhaps the process is owned by root and we could reveal that somehow
    3) any other suggestions or comments
    Thanks.
    Last edited by jwhendy (2011-03-10 03:00:56)

    @skunktrader: Whoops... but won't that be redundant? I already know where one instance was coming from: autostart.sh. I want to know why the other one is starting, since no one seemed to think that wicd automatically launched wicd-client. Anyway, several reboots later, here's the full scoop:
    | wicd in /etc/rc.conf deamons: no
    | wicd-client in ~/.config/openbox/autostart.sh: no
    `---
    Note: In previous reboots, I get asked by gksu to allow wicd to access my network cards. This past time, I got a message from gksu saying that wicd had been granted access to my network cards.
    | before starting openbox (nothing):
    `---
    $ ps ax -o user,pid,ppid,command |grep wicd
    | after starting openbox:
    `---
    $ ps ax -o user,pid,ppid,command |grep wicd
    jwhendy 3569 1 /usr/bin/python2 -O /usr/share/wicd/gtk/wicd-client.py
    root 3617 1 /usr/bin/python2 -O /usr/share/wicd/daemon/wicd-daemon.py
    root 3619 3617 /usr/bin/python2 -O /usr/share/wicd/daemon/monitor.py
    root 3669 1 wpa_supplicant -B -i wlan0 -c /var/lib/wicd/configurations/001b5311e850 -D wext
    =====================
    | wicd in /etc/rc.conf deamons: yes
    | wicd-client in ~/.config/openbox/autostart.sh: no
    `---
    | before starting openbox:
    `---
    $ ps ax -o user,pid,ppid,command|grep wicd
    root 3445 1 /usr/bin/python2 -O /usr/share/wicd/daemon/wicd-daemon.py
    root 3447 3445 /usr/bin/python2 -O /usr/share/wicd/daemon/monitor.py
    root 3566 1 wpa_supplicant -B -i wlan0 -c /var/lib/wicd/configurations/001b5311e850 -D wext
    | after starting openbox:
    `---
    $ ps ax -o user,pid,ppid,command|grep wicd
    root 3445 1 /usr/bin/python2 -O /usr/share/wicd/daemon/wicd-daemon.py
    root 3447 3445 /usr/bin/python2 -O /usr/share/wicd/daemon/monitor.py
    root 3566 1 wpa_supplicant -B -i wlan0 -c /var/lib/wicd/configurations/001b5311e850 -D wext
    jwhendy 3666 1 /usr/bin/python2 -O /usr/share/wicd/gtk/wicd-client.py
    =====================
    | wicd in /etc/rc.conf deamons: yes
    | wicd-client in ~/.config/openbox/autostart.sh: yes
    `---
    | before starting openbox:
    `---
    $ ps ax -o user,pid,ppid,command|grep wicd
    root 3420 1 /usr/bin/python2 -O /usr/share/wicd/daemon/wicd-daemon.py
    root 3422 3420 /usr/bin/python2 -O /usr/share/wicd/daemon/monitor.py
    root 3543 1 wpa_supplicant -B -i wlan0 -c /var/lib/wicd/configurations/001b5311e850 -D wext
    | after starting openbox:
    `---
    $ ps ax -o user,pid,ppid,command|grep wicd
    root 3420 1 /usr/bin/python2 -O /usr/share/wicd/daemon/wicd-daemon.py
    root 3422 3420 /usr/bin/python2 -O /usr/share/wicd/daemon/monitor.py
    root 3543 1 wpa_supplicant -B -i wlan0 -c /var/lib/wicd/configurations/001b5311e850 -D wext
    jwhendy 3657 1 /usr/bin/python2 -O /usr/share/wicd/gtk/wicd-client.py
    jwhendy 3662 3641 /usr/bin/python2 -O /usr/share/wicd/gtk/wicd-client.py
    =====================
    So, this is why I said that the test is a bit redundant. The real question still remains: why with no wicd in rc.conf and it commented in autostart.sh is wicd related stuff starting at all? I already know one instance is definitely occurring from autostart.sh, because when I commented it out, I only had one left. But if autostart.sh is supposed to be mandatory, where is the other one coming from? More so... without it in the daemons line, the behavior with gksu indicates that something, somewhere is trying to get wicd up and running. That is what I really don't get at all.

  • From where to listen the recorded messages?

    Hi,
    We have a network which consists of CUCM, UCCX, AQM, CUC. During after hours, if someone calls, the IVR will ask to press * to record a message. But from where shall we listen to these recorded messages?
    Thanks in advance

    That wouldn't be enough information to answer your question.
    Are you an administrator of the phone system or a supervisor?
    All of those products are capable of recording a phone call, but since you mentioned the IVR, it's like narrowed down to UCCX and/or AQM.
    UCCX is playing the IVR for sure, and cannot record the call in the IVR, only once it lands on the Agent, which really just leaves AQM.  But I'm guessing here, based on limited information.
    If you also agree that it's AQM that is doing the recordings, which I'm not even positive it can record a call at the IVR level, then you would need to access the web interface for AQM to listen to the recordings.
    If you post your IVR script from UCCX, we could see what is happening after the user presses *.  Such as sending an HTTP POST to AQM or the like.

  • From where to read the SAP note

    Hi,
    Many times it advise from some ref. to read SAP Note xxxxxxxx, but from where to read this note if we know the note number.
    regards,
    zafar

    Dear,
    You have to create Suser ID to view the SAP notes.
    Ask your company to provide Suser ID..
    You can see the same in the website https://websmp106.sap-ag.de/support
    Regards
    Utsav

  • IF erasing HD what is most important to save and from where?

    I may have to erase my HD which is a good thing but from where would I get my applications and mail and web info from to make sure I save the important information stuff. From the HD icon or user (home) icon. What would the folders and files look like?

    Hello Jan:
    Out of curiosity, why erase your HD?
    If OS X has severe problems, I would not erase and install. I would use the archive and install feature which installs a fresh copy of OS X while, at the same time, saving your files, programs, and settings:
    http://docs.info.apple.com/article.html?artnum=107120
    As an aside, backing up is always a good procedure before any software changes.
    Barry
    Barry

  • Flex client can SEND but not RECEIVE messages from BlazeDS

    Hi there,
    I built a sample chat application that should be able to send/receive messages from a JMS topic. However, I am only able to SEND messages, I am not able to receive them. Any advice/suggestions would be GREATLY appreciated as I am seriously stuck.
    My setup:
    - BlazeDS Turnkey
    - FioranoMQ JMS provider on remote machine
    What I know:
    - My MXML code is good. I am able to use the exact same code and get both subscribing and publishing working when I use 'ActiveMQ' instead of 'FioranoMQ' as my JMS provider
    - FioranoMQ JMS provider is working fine, my test Java clients can both subscribe and publish to the same JMS topic that the Flex app uses
    - Publishing from my Flex app is working because my Java client is able to receive messages from the same topic whenever Flex messages are sent to FioranoMQ
    - My Flex app is supposedly 'subscribed' to and 'connected' to the correct (streaming-amf) channel. I know this because the MXML 'Consumer' object's "subscribed" and "connected" properties are true and no fault events appear whenever I issue "consumer.subscribe()" in my Flex app.
    Sample debug console log:
    (I tried sending 8 JMS messages from my Java client code to the 'mytopic' topic that my Flex app is using. The end of the log shows that SOMETHING is happening after sending these messages, but notice the actual 'message' is never streamed even in the log!)
    [BlazeDS] 01/27/2009 FlexSession created with id '72D3E6EED1364AD328F342F1AF59FF
    69' for an Http-based client connection.
    [BlazeDS] 01/27/2009 Channel endpoint flextest-streaming-amf received request.
    [BlazeDS] 01/27/2009 Deserializing AMF/HTTP request
    Version: 3
    (Message #0 targetURI=null, responseURI=/1)
    (Array #0)
    [0] = (Typed Object #0 'flex.messaging.messages.CommandMessage')
    operation = 5
    correlationId = ""
    clientId = null
    timestamp = 0
    body = (Object #1)
    headers = (Object #2)
    DSMessagingVersion = 1
    DSId = "nil"
    timeToLive = 0
    destination = ""
    messageId = "AECE3D84-789C-29B7-3413-197C7A48A7D2"
    [BlazeDS] 01/27/2009 Serializing AMF/HTTP response
    Version: 3
    (Message #0 targetURI=/1/onResult, responseURI=)
    (Externalizable Object #0 'DSK')
    (Object #1)
    DSMessagingVersion = 1.0
    DSId = "ED38E721-2609-CF34-62A2-28D918C4BB8F"
    1.233083202182E12
    (Byte Array #2, Length 16)
    (Byte Array #3, Length 16)
    (Byte Array #4, Length 16)
    [BlazeDS] 01/27/2009 Channel endpoint flextest-streaming-amf received request.
    [BlazeDS] 01/27/2009 Endpoint with id 'flextest-streaming-amf' is streaming mess
    age: Flex Message (flex.messaging.messages.AcknowledgeMessage)
    clientId = null
    correlationId = open
    destination = null
    messageId = ED38E793-E519-95BB-3E4C-1A7E8D716951
    timestamp = 1233083202229
    timeToLive = 0
    body = ED38E793-E50A-2500-E2F5-7525401FD8CE
    [BlazeDS] 01/27/2009 Number of streaming clients for FlexSession with id '72D3E6
    EED1364AD328F342F1AF59FF69' is 1.
    [BlazeDS] 01/27/2009 Number of streaming clients for endpoint with id 'flextest-
    streaming-amf' is 1.
    [BlazeDS] 01/27/2009 Channel endpoint flextest-streaming-amf received request.
    [BlazeDS] 01/27/2009 Deserializing AMF/HTTP request
    Version: 3
    (Message #0 targetURI=null, responseURI=/2)
    (Array #0)
    [0] = (Typed Object #0 'flex.messaging.messages.CommandMessage')
    operation = 0
    correlationId = ""
    clientId = null
    timestamp = 0
    body = (Object #1)
    headers = (Object #2)
    DSEndpoint = "flextest-streaming-amf"
    DSId = "ED38E721-2609-CF34-62A2-28D918C4BB8F"
    timeToLive = 0
    destination = "flextest-message-destination"
    messageId = "5ED8AAA4-BDA8-C8E4-D85B-197C7AC5E83A"
    [BlazeDS] 01/27/2009 JMS consumer for JMS destination 'mytopic' is starting.
    [BlazeDS] 01/27/2009 JMS consumer for JMS destination 'mytopic' is

    Hi Alex, thanks for your advice. I tried reading the client-side logs, but it just physically shows what I was saying earlier - that the consumer is connected and subscribed, but no messages are coming through to it.
    I've attached the output of the 'flashlog.txt' file. For the particular session shown, the flex application was sent 8 JMS messages, but as you can see nothing got through. I put a 'trace' message in the message handler function (for my consumer object), but it never gets called.
    'E2513351-75DA-0837-7263-3807B91D9630' consumer set destination to 'flextest-message-destination'.
    '7D784A40-DBBB-71F1-4029-3807B91D45E3' producer set destination to 'flextest-message-destination'.
    'consumer' consumer subscribe.
    'flextest-streaming-amf' channel endpoint set to http://localhost:8400/FLEXTEST/msgbroker/streaming-amf
    'flextest-streaming-amf' channel settings are:
    'flextest-streaming-amf' pinging endpoint.
    'flextest-streaming-amf' channel is connected.
    'flextest-streaming-amf' channel sending message:
    (mx.messaging.messages::CommandMessage)
      body=(Object)#0
      clientId=(null)
      correlationId=""
      destination="flextest-message-destination"
      headers=(Object)#0
      messageId="8A592005-3C8A-4C6C-B074-380857710C00"
      operation="subscribe"
      timeToLive=0
      timestamp=0
    'consumer' consumer connected.
    'consumer' consumer acknowledge for subscribe. Client id '37CC5DED-A019-7110-3C89-A9926835103E' new timestamp 1233595684954
    'consumer' consumer acknowledge of '8A592005-3C8A-4C6C-B074-380857710C00'.
    Seems to me there can only be two explanations: either my BlazeDS configuration is incorrect (which is unlikely given that everything works if I use a ActiveMQ as my JMS provider with only trivial changes to my configuration), or there is some bug within BlazeDS that is preventing it from working properly with FioranoMQ. What do you think?

  • [Solved] wicd-curses and -client: access denied???

    >> Reboot fixed it, problem resolved.
    ==================================
    after last wicd upgrade, getting these errors trying to start the respective wicd clients:
    09:39 PM:~ $ wicd-curses
    ERROR:dbus.proxies:Introspect error on :1.7:/org/wicd/daemon: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.136" (uid=1000 pid=24457 comm="python) interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination=":1.7" (uid=0 pid=2945 comm="python))
    ERROR: wicd-curses was denied access to the wicd daemon: please check that your user is in the "users" group.
    09:39 PM:~ $ wicd-client
    Importing pynotify failed, notifications disabled.
    Has notifications support False
    Loading...
    Connecting to daemon...
    Connected.
    ERROR:dbus.proxies:Introspect error on :1.7:/org/wicd/daemon: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.137" (uid=1000 pid=24467 comm="python) interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination=":1.7" (uid=0 pid=2945 comm="python))
    ERROR:dbus.proxies:Introspect error on :1.7:/org/wicd/daemon/wireless: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.137" (uid=1000 pid=24467 comm="python) interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination=":1.7" (uid=0 pid=2945 comm="python))
    ERROR:dbus.proxies:Introspect error on :1.7:/org/wicd/daemon/wired: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.137" (uid=1000 pid=24467 comm="python) interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination=":1.7" (uid=0 pid=2945 comm="python))
    warning: ignoring exception org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.137" (uid=1000 pid=24467 comm="python) interface="org.wicd.daemon" member="GetConnectionStatus" error name="(unset)" requested_reply=0 destination=":1.7" (uid=0 pid=2945 comm="python))
    my user is in the user group. wicd seems to be working fine, I just can't manage my connections. Any ideas?
    Last edited by userlander (2009-09-18 22:38:06)

    I did not, but I installed it and wicd-curses is now working. Thank you!
    dbus-glib was not listed as a dependency for wicd. I will file a bug report.

  • [SOLVED] can't start wicd-client. python errors

    when i run wicd-client it gives the following errors, but i can browse internet and such, because is like wicd works right, it seems that only the gui is broken...
    [aleyscha@aleyscha 1 ~ 00:25]$ wicd-client
    Xlib: extension "Generic Event Extension" missing on display ":0.0".
    Xlib: extension "Generic Event Extension" missing on display ":0.0".
    Xlib: extension "Generic Event Extension" missing on display ":0.0".
    Xlib: extension "Generic Event Extension" missing on display ":0.0".
    Xlib: extension "Generic Event Extension" missing on display ":0.0".
    Xlib: extension "Generic Event Extension" missing on display ":0.0".
    Traceback (most recent call last):
    File "/usr/lib/wicd/wicd-client.py", line 50, in <module>
    import wicd.gui as gui
    File "/usr/lib/python2.6/site-packages/wicd/gui.py", line 2006, in <module>
    setup_dbus()
    File "/usr/lib/python2.6/site-packages/wicd/gui.py", line 174, in setup_dbus
    proxy_obj = bus.get_object("org.wicd.daemon", '/org/wicd/daemon')
    File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
    File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
    File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
    File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
    File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 622, in call_blocking
    message, timeout)
    dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.wicd.daemon was not provided by any .service files
    Last edited by leo2501 (2009-02-25 22:21:40)

    Yep, seems like lots of us are getting this.
    I thought it was actually stopping scrot though the screen shot does occur. The message looks like it's fatal though.
    i would have thought that scrot didn't start 'till i found screenshots.
    wicd working here on fresh 2009.02.
    I guess it'll be one of those that jst resolves itself soon.
    Pretty certain you've seen all most all of these though put 'em here anyways:
    http://lists.freedesktop.org/archives/x … 39132.html
    http://lists.freedesktop.org/archives/x … 39131.html
    http://bugs.archlinux.org/task/13223
    http://bbs.archlinux.org/post.php?tid=66199
    http://bbs.archlinux.org/viewtopic.php?id=65403
    Last edited by yvonney (2009-02-25 20:09:33)

  • Skype is not working on my mac book pro. Initially it was working fine but from a week ago it is not opening. It always shows error when I perform reopen it does not do any thing. I am using apple express for wifi.

    Hi,
    I recently bought mac book pro. I installed skype application on it and initially it was working fine but from few days it is not opening the application, showing some error.... Can you please help me to solve this problem.
    bye
    Harminder Singh

    harminder@apple  -  any luck?    Try this,  open Finder and  press command-shift-G and copy and paste: 
    ~/Library/Application Support/Skype
    In this Skype folder: delete the file shared.xml  and restart Skype.
    See if this helps.

  • How to make Client instantly recieve msg from Server

    Hello! I'm trying to make a multiplayer game via Bluetooth (RFCOMM protocol) in J2ME. I already managed to detect devices both as a client and as a server. I also managed to send real-time message from client(s) to server in the following way:
    // Pauses thread until Transmission occurs
    StreamConnection conn = notifier.acceptAndOpen();
    read_msg(conn); //this is the function which reads the date received from client
    But when I try the above as a client I got some exception, but never mind actually.
    Here is the actual problem:
    I want to be able to send a message from server to client whenever I press a key so that the client instantly receives that message.
    Now the only thing that comes to my mind is to periodically check (i.e. every 50 ms) StreamConnection and watch for some changes like this.
    while(true) {
    InputStream input = conn.openInputStream(); // conn is of type StreamConnection
    //now I check if the messege received is the new one OR have I actually received a message
    // here I pause the Thread for i.e. 60 ms
    But that would be extremely CPU heavy and foolish, wouldn't it?
    So is there a smart way to register when client gets a message from server?
    Please give me some example for client side.
    Edited by: leden on Sep 27, 2007 3:07 PM

    One more question.
    I have a server and many clients. Let's say I had already received the first message from every client with this piece of code:
    for(int current_client = 0; current_client < MAX_CLIENTS; ++current_client) {
    //notifier is of type StreamConnectionNotifier
    StreamConnection conn = notifier.acceptAndOpen(); //wait for transmission to occur
    String response = read_msg(conn); //read_msg actually reads the message
    Now, at some other moment I want to send a message to one of the clients .
    How could I do that?
    Do I have to add this command in the for loop above, perhaps?:
    conn_client[current_client] = conn;
    then simply reply by doing:
    OutputStream output = conn_list[who_I_want_to_send_msg_to].openOutputStream();
    and then the code like in my first post
    OR this whole procedure is totally wrong?
    Please explaim me what does openOutputStream() actually do?
    Edited by: leden on Sep 30, 2007 8:51 AM

  • Why can't sign in in the apple store using my apple id? but from the itunes application in my computer which i downloaded, i can use my apple id to sign in...and while opening my apple store it appears blank..i don't know what happened?

    why can't i sign in in the apple store using my apple id? but from the itunes application in my computer which i downloaded, i can use my apple id to sign in...and while opening my apple store in my phone it appears blank..i don't know what happened?

    It's a straightforward port-forwarding issue.
    You need to forward ports to the internal ip address of your apple tv as follows:
    TCP 123
    TCP 3689
    UDP 5353
    TCP 80
    TCP 4343
    TCP 53
    This may also solve other problems you may have with homesharing...

  • 1. In the past most visited worked bad. 2. But from a week is totally dissapeared and I cannot restorere with

    1. In the past ''most visited'' worked badly, frequently dissapearing but I can restore with View, Toolbar, Customize, Restore implicit set.
    2. But from a week ''Most visited'' toally dissapeared an it is imposibble to restore.

    Should be in Bookmarks Toolbar items (Bookmarks > Show All Bookmarks, in the Library window, click on Bookmarks Toolbar and look for the blue folder/magnifier folders).
    See:
    *https://support.mozilla.org/en-US/kb/Smart%20Bookmarks%20folders#w_pre-installed-smart-folders
    *https://support.mozilla.org/en-US/kb/Restore%20the%20default%20Smart%20Bookmarks%20Folders
    How to create your own --> https://developer.mozilla.org/en/Places_query_uris
    New Tab Page in Firefox 13 will show your 9 most frequently visited pages. This is a new feature and may not have all the "bells and whistles" that everyone wants. It will be similar to --> http://www.omgubuntu.co.uk/2012/02/how-to-try-firefoxs-new-speed-dial-page-in-ubuntu/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • [SOLVED]Wicd not working

    Hi, for the client i get
    $ wicd-client
    (process:8315): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
    Importing pynotify failed, notifications disabled.
    Has notifications support False
    Loading...
    Connecting to daemon...
    Can't connect to the daemon, trying to start it automatically...
    Then a gui ask's for root, after hitting it in I get this:
    Could not connect to wicd's D-Bus interface.  Check the wicd log for error messages.
    Before that I did this:
    bash-3.2# /etc/rc.d/network stop
    :: Stopping Network [DONE]
    bash-3.2# nano /etc/rc.conf
    bash-3.2# /etc/rc.d/dbus restart
    :: Stopping D-BUS system messagebus [DONE]
    :: Starting D-BUS system messagebus [DONE]
    bash-3.2# /etc/rc.d/wicd restart
    :: Stopping wicd Daemon [DONE]
    :: Starting wicd Daemon [DONE]
    bash-3.2#
    Last edited by jerik (2009-06-27 20:55:08)

    This is my rc.conf file:
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="nb_NO.utf8"
    HARDWARECLOCK="UTC"
    USEDIRECTISA="no"
    TIMEZONE="Europe/Oslo"
    KEYMAP="no-latin1"
    CONSOLEFONT="lat1-12"
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(!soundcore)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="myhost"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # DHCP: Set your interface to "dhcp" (eth0="dhcp")
    # Wireless: See network profiles below
    eth0="dhcp"
    INTERFACES=(!eth0 !wlan0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng hal netfs crond wicd oss)

Maybe you are looking for

  • Messages application crashes on launch

    *** Terminating app due to uncaught exception 'NSObjectInaccessibleException', reason: 'CoreData could not fulfill a fault for '0x6d00004b <x-coredata://DAA5DDFB-3506-4BC8-8A28-44DAA42DB61E/ABCDContact/p436>'' terminating with uncaught exception of t

  • Nord electro as evb3 controller

    Hi: I'm trying to improve my EVB3 tracks and at the same time buy an organ clone to gig with. I'm attracted to the nord electro because of its size and versatility. Does anyone use one of these to trigger the evb3? How well do the drawbars (?) and ot

  • XML onLoad execution context

    i am loading data from an XML file using the XML object. the XML handling is being done in a class i have defined. the basic class definition is below (with extraneous code removed). the issue is that when that "trace" fires, it displays the contents

  • Can't update the system due to unresolved dependencies-nvidia-bumblebe

    resolving dependencies... looking for inter-conflicts... error: failed to prepare transaction (could not satisfy dependencies) :: nvidia-bumblebee: requires linux<3.8 Desktop: KDE 4.10.1 Kernel: 3.7.10-1-ARCH x86_64 (64 bit) nvidia-bumblebee: 313.18-

  • ACR 5.4 Mac, Adjustments not faithful on save

    I've just started using ACR and CS4 on a Mac and have not seen this issue in Windows. The problem is: I open a Canon CR2 from Bridge into ACR Make adjustments to exposure Save Image to JPG or Open Image to Photoshop CS4 Ext Compare JPG (in Preview or