NetworkManager without ConsoleKit (possible?)

Hello there,
I am struggling to get NetworkManager working without consolekit since I have switched to systemd.
So far, after setting up systemd and recompiling polkit from ABS with the -systemd flag set, I "added session optional pam_systemd.so" to all relevant files in /etc/pam.d/ thus enabling systemd to divide user sessions into groups.
Once this was done, my nm-applet that didn't work at all before, now work to the extend that it is showing me all available wifi-network nearby. However, I am unable to connect to any. Once I click on a network, it tells me "Failed to activate connection" "(32) No session found for uid 1000 (Error statting file /var/run/ConsoleKit/database: No such file or directory)"
At that point I have been stuck for a while spending the past couple of days searching the internet for a (working) solution - with no luck. Does anyone of you happen to know how to solve this? I rly don't wonna install the depreciated ConsoleKit just to be able to manage wifi connections.
I'd switch to wicd but I need to be able to manage mobile broadband connections aswell and the only other option besides network manager to achieve that seems to be connman which doesn't have a working applet yet and can only be controlled by some test scripts...

I'm having the same your problem @str@ng3r.
Did you managed to solve it? How?
I already rebuilt networkmanager from abs with no luck. The applet tells me "no network devices available"...
EDIT:
** (nm-applet:388): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: Rejected send message, 2 matched rules; type="method_call", sender=":1.29" (uid=1000 pid=388 comm="nm-applet ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=378 comm="NetworkManager ")
** Message: applet now removed from the notification area
** Message: applet now embedded in the notification area
** (nm-applet:388): WARNING **: Failed to register as an agent: (32) Session not found
** Message: applet now removed from the notification area
That's the relevant part of the error when launching nm-applet .
EDIT2: i recompiled network-manager-applet too enabling systemd support (as i did with networkmanager), but it does not work, the error is the same as above.
I'm using both from testing (0.9.6).
EDIT3: nm-applet works perfectly if started from root.
This is my
cat /etc/polkit-1/localauthority/50-local.d/org.freedesktop.NetworkManager.pkla
[nm-applet]
Identity=unix-group:network
Action=org.freedesktop.NetworkManager.*
ResultAny=yes
ResultInactive=yes
ResultActive=yes
(yes i added ResultInactive=yes too, but that doesn't solved the issue...). My user is in network group...
Last edited by nierro (2012-09-05 10:07:37)

Similar Messages

  • [SOLVED] Can Openbox function without ConsoleKit ?

    I've very recently converted to a "pure" systemd Arch system & desire to be without ConsoleKit, if it is possible at this stage.
    I tried to remove ConsoleKit with pacman but was blocked with the following error:
    handy ~ $ pdelete consolekit
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: oblogout: requires consolekit
    Which brings two questions:
    Can Openbox live without ConsoleKit?
    If so, how?
    Thanks for your time.
    Last edited by handy (2012-08-14 09:20:50)

    WonderWoofy wrote:if you have a pure systemd arch, you should be able to user 'systemctl reoot" to reboot without root access as long as no other users are logged into the machine.  This should laso work with poweroff, suspend, and hibernate also used with the systemctl command.  If you still want a logout dialog, you could create a simple script with something like xmessage using those commands.
    We posted at the same time.
    I use systemctl reboot & poweroff from buttons configured for the job in Worker. I used to use a couple of simple scripts that first umounted my three NAS NFS shares (to get around the time out problem) & then shutdown or reboot. So I NEVER use oblogout anyway.
    The new systemctl commands reboot & poweroff, automatically umount my NFS shares first & then do what they are named. Fantastic, this is how it is supposed to be.

  • [SOLVED] systemd without consolekit: systemd-cgls, no /user/myname

    Hi!
    While i was facing a problem with network-manager-applet, that needs to be started as root without consolekit, otherwise the applet won't start, i probably understood where is the issue:
    systemd-cgls systemd:/user/
    systemd:/user/:
    └ root
    └ c1
    ├ 282 sudo nm-applet &
    ├ 283 nm-applet &
    ├ 336 dbus-launch --autolaunch d3503ec54b9f464baea83af9b8fcf576 --binar...
    ├ 337 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --ses...
    ├ 485 /usr/lib/xfce4/xfconf/xfconfd
    ├ 487 /usr/lib/gvfs/gvfsd
    └ 489 /usr/lib/gvfs//gvfs-fuse-daemon -f /root/.gvfs
    There is only root user.
    What i did: I removed consolekit after rebuilding polkit with systemd support. Usb automount works as expected.
    I tried to add "session optional pam_systemd.so" to all files in /etc/pam.d only to give it a try, but nothing changed.
    Here instead there is my xfce4.service that starts my xfce4 session:
    [Unit]
    Description=start xfce4
    After=systemd-user-sessions.service
    [Service]
    User=federico
    ExecStart=/usr/bin/startxfce4
    [Install]
    WantedBy=multi-user.target
    Any idea?
    Thank you.
    EDIT: only to be sure
    whoami
    federico
    EDIT2: sorry, here is another related output:
    journalctl -a | grep polkit
    Sep 05 12:39:02 arch polkitd[220]: started daemon version 0.105 using authority implementation `local' version `0.105'
    Sep 05 12:39:08 arch xinit[217]: (polkit-gnome-authentication-agent-1:285): polkit-gnome-1-WARNING **: Unable to determine the session we are in: No session for pid 285
    Last edited by nierro (2012-09-05 12:38:35)

    you can't start xfce from a service file, there will be no proper session created for your user. have a look at this: https://bbs.archlinux.org/viewtopic.php?id=147913

  • Down payment request without PO possible?

    Hello,
    Is it possible to create a down payment request without having to use a PO.
    This concerns financial postings for services.
    Thank you for sharing your experience.
    Kind regards,
    Linda

    Hi
    Check the below TCodes which does not require PO / SO
    For Vendors
    F-47 - Request
    F-48 - Down Payment
    F-54 - Clearing
    For Customers
    F-37 - Request
    F-29 - Down Payment
    F-39 - Clearing
    Cheers
    Srinivas

  • Is a dynamic codebase without JnlpDownloadServlet possible?

    Is it possible to have a dynamic codebase without deploying a servlet?
    Seems reasonable to me. The cache should always know where the original source for the jnlp file ....
    <jnlp spec="1.0+" codebase="codebase of original source this file" >
    </jnlp>
    I am attempting to minimize server side code and was thinking this was possible because of this statement made here : https://jdk6.dev.java.net/testProperty.html
    "In 6u10-b13, we introduce new Java system properties to support the usage of version download and Pack200 without any server side requirements."
    It seems to me that without some mechanism for dynamic codebase the new properties jnlp.packEnabled and jnlp.versionEnabled are kind of pointless since server side code will still be required in most situations. Statically coding the codebase attribute for every deployment is not a viable solution for me.

    Thanks for responding Andy.
    I was thinking that if the run-options of javaws would support the -codebase option (as with the import option), and the browser were to launch with that flag, then it could override the codebase in the jnlp file. Maybe too many moving parts there? ........
    I've been working with the -import and -codebase options in attempt to minimize the server side servlet requirement.
    Basically my thought is :
    Have the jnlp file on server with no codebase attribute.
    Use a signed applet to bring the jnlp file down from the server and write it to local disk (somewhere temporary) adding the codebase attribute along the way. Then launch the javaws with -codebase and -import flags to install the application.
    So far it seems to be working but it's been a bit of a struggle. Viewing the cached jnlp file I see that it has the codebase attribute correct and the application does launch.
    I am wondering if I update the jnlp file on the server, will the codebase in the cached file still be used? or will I need to force another -import?

  • Multi message to Proxy ABAP without BPM possible?

    Hi Experts,
    I am designing a scenario where my source is a flat file and the target SAP.
    According to the content of the file, we would like to group the data per company and then send the grouped data.
    The question is, is it possible to send data in a proxy per company? which means that we would have as many proxies as there are companies? without using BPM
    Thanks a lots,
    regards

    Hi Now i have the same requirement. As you said group the data by company code in the internal table and handle it, does not feasible to my requirement.
    I am doing material movements using proxies. Here for every loop i will call BAPI to do the material movements. Suppose there are 10 rows which are coming from XI and needs to do 10 material movements.
    First 5 loops successfully processed, but some functional error comes while executing the 6th loop. My proxy will throw the exception comes out of the process.
    By seeing the error record data in the exception, i have rectified the error. Now if i restart the proxy, the proxy will again try to execute from 1st row. But, first 5 th rows are already successfully processed.
    This shouldn't be the case in real time. How can i overcome this?
    If i get the proxy data row by row, then it would be more beneficial to me to handle.
    How can we the message split possible using enhanced interface determination in the Proxies.
    Could you post the solution, if anyone has?
    Thanking you,
    Regards,
    Krishnaraju.

  • Solution without BPM possible..?

    Hi,
             I have a scenario where I have to create a sales order and once it is successfull then I have to create a Purchase order.
            Is the above scenario possible without using BPM..need help in resolving it..
           Thanks in advance.

    Hi,
             The scenario in PI is that Iam using a multimapping for sales order creation and purchase order creation.
            Once the scenario is executed is it possible to create sales order and then purchase order in ECC.
            The sequence should be first Sales Order and then Purchase Order ..Is it possible without using BPM.,?
            If it possible in ECC end ..please let know how to achieve in ECC..

  • SRM MM-SUS procurement cycle without ASN possible?

    Hi, SRM guru:
    Is it possible to run MM-SUS procurement cycle without ASN? if yes, can you give something advice on how to acheive it by customizing?
    Thanks in advance
    George

    Hi George
    Please contact him for SUS supports /Queries  as mentioned in the SAP Note 700350
    Dr. Dirk Schirrmeister
    SAP Consulting Deutschland
    PU Purchasing Solutions/ SRM
    SAP Deutschland AG & Co. KG
    Hasso-Plattner-Ring 7
    69190 Walldorf
    E-mail: dirk.schirrmeister at sap.com
    SAP Note 700350 - Supplier Enablement: Deployment
    Scenarios integrating SUS
    You can use this function to create, edit, and send advanced shipping notifications (ASN) in Supplier Self-Services (SUS).
    Integration
    This function is only relevant for the Plan-Driven Procurement with Supplier Integration business scenario.
    When you create an ASN in SUS and send it to the purchaser, an inbound delivery is automatically created in Materials Management (MM).
    Features
    Create ASNs
    You can create ASNs on the basis of a purchase order.  -> here I could not see plural of Purchase order. so you may be correct but our MM system accepts in One ASN for different Purchase orders .It could be via EDI 856 ASN.
    The document control settings in the purchase order determine whether or not you can create an ASN for an item. Purchasers use these document control settings to specify which follow-on documents they expect. The SUS system copies all of the items for which a purchaser expects a confirmation from the purchase order to the ASN
    Br
    Muthu

  • Using FINSTA without IHC possible?

    Do you have any experience with using FINSTA Idoc without IHC? Is it possible to use this?
    We want to automically transfer EBS from a provider to SAP and want automatically upload and post these statements. Are there any other RFC FM which can be used?
    BR
    Ibrahim

    Hi Ibrahim,
    We are using FINSTA IDOC to post our incoming Bank Statements.
    The process Code is FINS and the inbound Function module is IDOC_INPUT_FINSTA
    Regards,
    SAPFICO

  • Bidirectional One-To-One relationship without Indirection possible?

    Is it possible to create a One-to-One Bi-directional relationship without using Indirection?
    When I have tried this, Toplink returns the same related rows from the two tables over and over again until it throws an error.
    I need to use this relationship without indirection as I want to be able to query one table and have it return data from the associated table, without having to reference fields in the associated table in my query.
    Do you have any suggestions that might help?
    Thank you again,
    Lena

    Doug, I'm not sure I follow the reason behind this completely. Say we are only loading data from our database--we "promise" never to change it. What we are seeing is that TopLink seems to get stuck in a loop when it is loading objects with a 1-1 bi-directional relationship.
    So, ObjectA loads, and has a reference to ObjectB; ObjectB loads and has a reference to ObjectA; ObjectA loads again and has a reference to ObjectB....you see the problem.
    I thought that by specifying "maintain bi-directional relationship" we were basically telling TopLink: ObjectA has an ObjectB, and ObjectB will reference ObjectA, but there's no need to reload it.
    I guess I'm just stuck on why it would be required to use indirection in this case, since we always want to load our related objects. Any thoughts?

  • Flex datagrid without webserver possible ?

    Is it possible to use flash/flex to pull data from a database
    without the use of a webserver ? I have a swf. embedded within a c#
    .net forms application using fscommand to pass events back to the
    application but now have to see if I can pull the data without the
    use of a webserer. I understand that no webserver is going to be
    installed on these local pc's. Any ideas would be great !
    Thank You,

    Mike Britton has a tutorial for querying a Microsoft Access
    database on your local computer and displaying the results in a
    DataGrid:
    Introduction
    to Basic ColdFusion / Flex 2 Remoting

  • Use custom JAAS LoginModule without UME - possible?

    Hi all,
    I want to deploy an application that internally makes use of JAAS to authenticate users. There is a LoginModule that authenticates users against some database tables containing all the user data and profile. The application was not designed to be deployed to NetWeaver. So it does not make use of UME or some other NetWeaver specific feature. Actually it handles user management and authoroization issues completely on its own. The only reason for having JAAS is to allow customers to plug in their own LoginModule to use some other kind of user store.
    When deploying the web application to a simple servlet engine like Tomcat, all I have to do is to register my LoginModule in the "jaas.conf" file that is parsed by JAAS default implementation. I also tell the JVM where my jaas.conf file is located by appending a "-Djava..." runtime parameter to the JVM startup script.
    When using other application servers like IBM WebSphere things become a bit different. Normally you use the administration GUI of that server to configure your LoginModules. WebSphere for example keeps the login configuration in an internal database rather than writing everything into a "jaas.conf" text file. But the way the application can use the LoginModule is the same as in Tomcat.
    But when it comes to Netweaver, it seems to me that it's not possible to define a LoginModule that your application can use WITHOUT having to couple it tightly to UME. Or did I get something wrong? Initially I've tried to modify the JVM's parameters (using SAP J2EE Config Tool) to include the location of my "jaas.conf" file containing the my login configuration. But that did not work. The parameter was really passed to the JVM but anyway my LoginModule was not found, I guess that NetWeaver has some own implementation of the JAAS interfaces that just ignore the plain text JAAS configuration files (like WebSphere also does).
    The documentation that I have downloaded from SDN doesn't seem to match the 6.4 sneak preview version that I just downloaded some days ago. They say you should deploy your LoginModule as a library and add a refernce to the application. I tried that out but it did not help. The login configuration that the application wants to access is still not found. Actually there seems to be no way to specify the name for a JAAS Login Configuration in NetWeaver. At least I cound not find that in the documentation.
    So basically my question is: is it possible to deploy an application that wants to use some own LoginModule (either deployed separately or together with the application, that does not matter) without making use of Netweaver specific features like UME? The application has its own user management infrastructure and just needs a way to setup a JAAS Login Configuration to access its own LoginModule.
    Thanks for any reply
    Henning

    http://help.sap.com/saphelp_nw04s/helpdata/en/3f/1be040e136742ae10000000a155106/content.htm

  • Stream music from iPhone to AirPort Express without network possible?

    For an event I want to send music directly to my Aiport Express with AirTunes which of course is plugged into an amplifier/mixer connected to the speakers.
    This way I can roam and control the music.  Is this possible without a network created by a router?  Can one effectively make a direct connection from an iOS device to the Aiport Express; and ad-hoc connection perhaps?

    Thanks for the update - I am only familiar with networks and this is actually an iPhone/iTunes question so I would suggest that you re-word your question and re-submit it on the appropriate forum - that being said, if you can do what you want to do with an Express attached to the internet then you can do it this way - however keep in mind that the only audio output on Express is for a regular audio cable or an optical cable - I hope this helps.
    Charlie

  • Abiword without gnome possible?

    Is it possible to run abiword without any gnome depends?
    Filed a bug earlier about libglade and abiword, the new buld of abiword does not work for me.

    Yeah, I've noticed that it wasn't updated long time ago in GIT.
    I'm giving myself a break - GNOME panel is so buggy and unstable... whenever I add or remove an applet, it hangs or quit. Now I even cannot launch panel - terminal says nothing, but panel doesn't appear.
    It's not worth it.
    EDIT: Thanks for your help.
    Last edited by weakhead (2010-04-18 12:01:08)

  • How can I get my email address by my iCloud accountant with the name is now an own icloud account without the possibility to get iCloud storage

    I have a email address . It is not possible to buy icloud storage for it or to add to my first account where i have plenty of icloud storage available.
    <Email Edited by Host>

    It's a really bad idea to post your email address - it's an invitation to spam - and I've asked the Hosts to remove it.
    If you have a (name)@me.com address which actually works then you have a (name)@icloud.com address as well, and and iCloud account. There should be no problem adding storage to it as long as you are signed into it as the primary account in System Preferences>iCloud on a Lion/Mountain Lion Mac, and iOS5/6 device or Windows 7/8 with the iCloud Control Panel.
    If this is an ex_MobileMe address which you never migrated to iCloud you cannot reactivate it, so the question is have you checked it actually receives messages?
    You cannot move such addresses from one account to another.

Maybe you are looking for

  • How do I back-up my iTunes library?

    I really don't know, but I'd like to. iTunes suggests it since I buy songs and stuff and well yea I have over 1,500 songs and I don't want to loose them. Can anyone tell me how? Thanks. Sony Vaio   Windows XP Pro   60GB iPod

  • How can I produce a title card with multiple lines of text?

    When I drag "title, multiple lines" to my timeline, the second line appears in a smaller font. When I type all my text on a single line, the title appears in a teeny-tiny font. I want to be able to produce four or five lines of text, all in a readabl

  • Why is the brightness of my iMac become 100% automatically when I turn on..

    Why is the brightness of my iMac become 100% automatically when I turn on my computer even though I set the brightness to the lowest before I shut it down. I want to set the brightness to the lowest every time I turn on the computer automatically. Is

  • Goods Issues against production order

    Can I issue quantity more than that is specified there in the production order?

  • Email Address Link Issues

    Ok, I like to think that I am able to understand the basic items in this program. That being said, there are small parts that would make me pull my hair out, if I had hair. I have a form that I have finished up. At the bottom of the form there is a l