[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.

Similar Messages

  • After upgrading to osx 10.9.3, my external hard drive was not able to mount, but it can be mounted without issue in osx 10.6, how do I solve it? it was formatted by disk utility.

    Hi
    After upgrading to osx 10.9.3, my external hard drive was not able to mount, but it can be mounted without issue in osx 10.6, how do I solve it? it was formatted by disk utility.
    Thanks
    PT

    From the menu bar, select
     ▹ System Preferences ▹ Energy Saver ▹ Power Adapter  
    and uncheck the box labeled Put the hard disk(s) to sleep when possible, if it's checked.
    If the drive has more than one interface (USB, FireWire, Thunderbolt, eSATA), try one of the other interfaces.
    Check that the data cable is securely inserted at both ends.
    Try a different cable.
    If you're connecting the drive through a hub, connect it directly to a built-in port on the Mac.
    If you're connecting it directly, try a different port.
    Disconnect all other devices on the bus, or as many as possible.
    Test the drive with another Mac. Test another drive with this Mac.
    If the drive is bus-powered, but has an AC adapter, connect the adapter.
    Start up in Recovery mode and launch Disk Utility. Is the drive recognized?
    Start up in Safe Mode and test.
    Reset the NVRAM.
    Reset the System Management Controller.
    If the drive doesn't work under any of the above conditions, and if another drive does work with the same Mac, then the drive has failed. You may be able to salvage the mechanism by removing it from the enclosure and installing it in another one, or in a drive dock.

  • HT201401 I had restored my iPhone 4 but after restore my camera can't function well after take picture from the camera it's didn't display in the Photo Gallery even can't take a video record,how to solve this?and i had tried to restore again,still the sam

    I had restored my iPhone 4 but after restore my camera can't function well after take picture from the camera it's didn't display in the Photo Gallery even can't take a video record,how to solve this?and i had tried to restore again,still the same
    kindly reply and fix this for me
    reply to my email,tq

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • Can I use OLAP kind of functionality  without installing OLAP ( using materialized views etc)

    Hi,
    Can OLAP cube be implemented without having ORACLE OLAP installed? As per my understanding, cubes are something which keeps aggregate data. So can I just use materialized view functionality ( which is already there in Oracle)?
    Which other Oracle object can I use without  installing ORACLE OLAP ( Dimension etc?)
    Thanks a lot.
    Nitin

    If you mean by implementing an OLAP cube, you mean setting up reports for various summary level data analysis, it is possible to query materialized views to get the same data in some cases.   A position paper that describes the advantages of the OLAP Cube v. among other things standard materialized views may be found at this URL: http://www.oracle.com/technetwork/database/options/olap/olap-wp-12c-1896136.pdf?ssSourceSiteId=ocomen
    I also would recommend posting this question on the general database forum (General Database Discussions) as well.
    Hope this helps,
    Ken Chin

  • [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

  • [Solved ?] Arch on Alienware 14, can't boot without nomodeset

    Hello everybody,
    I just got a new Alienware 14, installed Lubuntu and Ubuntu with which I had various problems, including not being able to boot without the "nomodeset" option.
    So I decided to migrate to Arch, followed the beginners guide word for word and everything worked fine, including uefi boot with gummiboot but
    even here (obviously maybe) I can't boot without the nomodeset option.
    What happens is that the screen goes black just after gummiboot has finished its work, and (obviously) if I use "nomodeset" I can't start X.
    The computer in question has an intel i7 4700M and nvidia gt 750M.
       ~ lspci | grep VGA
       00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
       01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [Geforce GT 750M] (rev a1)
    I followed the Intel graphics installation guide https://wiki.archlinux.org/index.php/Intel and tried the suggestions on "Troubleshooting blank screen during boot, when "loading modules" but nothing.
    So I tried installing bumblebee and the proprietary nvidia drivers https://wiki.archlinux.org/index.php/Bumblebee but again, same problem...
    Im I doing something stupid?
    Any log/command output you may need to help me?
    Thanks in advance
    jack
    Last edited by jacopo-canton (2013-10-12 12:45:24)

    so, it appears that, as @Dheart told me, this is a bug in 3.11 kernel which prevents
    the brightness settings to be correctly handled when KMS kicks in.
    for me simply adding       acpi_backlight=vendor
    to the kernel command line solved the problem.

  • 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)

  • How can I print without color?

    How can I print without my color cartridge in my printer, I have a HP Deskjet 3510. I cant find only print in black in white in the setting on my printer.

    Hi,
    Actually we call it as Grayscale. But Grayscale is a mixture of all colors. If you only wish to print Black & White only, you need to set "Black Ink only" as default. Please try:
    The setup may vary from printer to printer but basically (for Windows):
    (a) Double click printer icon on desktop,
    (b) Click Set Preferences,
    (c) Click Advanced,
    (d) Select "Black Ink only" for Print in Grayscale
    (e) Click Ok/Apply ...
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • I have a Macbook pro 2009 with Snow Leopard.  Which system can I install without running into complicated problems which I will not be able to solveby myself? (Mountain Lion, Mavericks, Yosemite?)

    I have a Macbook pro 2009 with Snow Leopard.  Which system can I install without running into complicated problems which I will not be able to solve by myself- a person with limited problem solving abilities. (Mountain Lion, Mavericks, Yosemite?)

    It will make it easier to help you w/ your problem to know the  size and RAM installed.
    "Yesterday I couldn't update the maps on my Garmin because it said the OS I had wouldn't work"
    What OS will your Garmin work with? Funny there was someone else that did that and upgraded to Yosemite and regretted it.
    I'd say Lion if your Garmin is compatible.
    Both Lion and Mountain Lion are downloadable from the Apple Store:
    http://store.apple.com/us/product/D6106Z/A/os-x-lion
    http://store.apple.com/us/product/D6377Z/A/os-x-mountain-lion
    The OSs will get more resource hungry the higher you go.

  • Some apps do not function without WiFi

    Hello.....I ordered roaming for 30 days outside US for 2 mobile phones. But my whataspp in one of my phones do not function without WiFi. It's that ok. I would like to know if I can use it as we are in US, (Puerto Rico). Please contact me. Thanks....Franklin Avilés-Santa.

    Puerto Rico is considered local. You can use your phone there just like at home.

  • Nested group function without group xmlagg

    I am getting nested group function without group by xmlagg when using the xmlagg function inside another xmlagg function. Find the table structure and sample data here,
    CREATE TABLE "TEST_TABLE"
       ("KEY" NUMBER(20,0),
        "NAME" VARCHAR2(50 ),
        "DESCRIPTION" VARCHAR2(100 )
       Insert into TEST_TABLE (KEY,NAME,DESCRIPTION) values (1,'sam','desc1');
       Insert into TEST_TABLE (KEY,NAME,DESCRIPTION) values (2,'max','desc2');
       Insert into TEST_TABLE (KEY,NAME,DESCRIPTION) values (3,'peter',null);
       Insert into TEST_TABLE (KEY,NAME,DESCRIPTION) values (4,'andrew',null);
    select
            XMLSerialize(document
            xmlelement("root",
             xmlagg(
               xmlelement("emp"          
               , xmlforest(Key as "ID")          
               , xmlforest(name as "ename")
               , xmlelement("Descriptions", 
               xmlagg(
                  xmlforest(description as "Desc")
           ) as clob indent
           ) as t   
          from test_table;Then i removed the xmlagg function from the above select query and used xmlelement instead
      select
            XMLSerialize(document
            xmlelement("root",
             xmlagg(
               xmlelement("emp"          
               , xmlforest(Key as "ID")          
               , xmlforest(name as "ename")
               , xmlelement("Descriptions",            
                  xmlforest(description as "Desc")
           ) as clob indent
           ) as t   
          from test_table;This is working fine, but xml created with empty elements for Descriptions element for key 3 and 4 which has null values. I need don't need Descriptions element in the xml when it has null value. Please help me to resolve this.

    You can do it with a correlated subquery :
    SQL> select xmlserialize(document
      2           xmlelement("root",
      3             xmlagg(
      4               xmlelement("emp"
      5               , xmlforest(
      6                   t.key as "ID"
      7                 , t.name as "ename"
      8                 , (
      9                     select xmlagg(
    10                              xmlelement("Desc", d.description)
    11                              order by d.description -- if necessary
    12                            )
    13                     from test_desc d
    14                     where d.key = t.key
    15                   ) as "Descriptions"
    16                 )
    17               )
    18             )
    19           ) as clob indent
    20         )
    21  from test_table t;
    XMLSERIALIZE(DOCUMENTXMLELEMEN
    <root>
      <emp>
        <ID>1</ID>
        <ename>sam</ename>
        <Descriptions>
          <Desc>desc1_1</Desc>
          <Desc>desc1_2</Desc>
          <Desc>desc1_3</Desc>
        </Descriptions>
      </emp>
      <emp>
        <ID>2</ID>
        <ename>max</ename>
        <Descriptions>
          <Desc>desc2_1</Desc>
          <Desc>desc2_2</Desc>
          <Desc>desc2_3</Desc>
        </Descriptions>
      </emp>
      <emp>
        <ID>3</ID>
        <ename>peter</ename>
      </emp>
      <emp>
        <ID>4</ID>
        <ename>andrew</ename>
      </emp>
    </root>
    Or an OUTER JOIN + GROUP-BY :
    select xmlserialize(document
             xmlelement("root",
               xmlagg(
                 xmlelement("emp"          
                 , xmlforest(
                     t.key as "ID"
                   , t.name as "ename"
                   , xmlagg(
                       xmlforest(d.description as "Desc")
                       order by d.description -- if necessary
                     ) as "Descriptions"
             ) as clob indent
    from test_table t
         left outer join test_desc d on d.key = t.key
    group by t.key
           , t.name
    ;Edited by: odie_63 on 11 juil. 2012 14:54 - added 2nd option

  • I need Numbers 3.0 to open icloud docs; how can I download without losing Numbers 2.3?

    I need Numbers 3.0 to open icloud docs; how can I download without losing Numbers 2.3?

    VR,
    Your Numbers 2 app will still be functional if you download the new Numbers 3 app. If you purchased Numbers 2 prior to the Mac App Store, your iWork '09 apps are in Applications > iWork. If you purchased your Numbers 2 app from the Mac App Store, Numbers 2 will be in Applications, no sub folder. But, if you "Upgrade" to Numbers 3, Numbers 2 will be moved into an iWork subfolder within Applications. You will be able to manually choose which one you want to use, but Numbers 3 will be the default.
    Jerry

  • How am I to be able a user to grant access only to see a procedure / function without execute,compile,edit and drop?

    how am I to be able a user to grant access only to see a procedure / function without execute,compile,edit and drop?

    Sorry GregV but thank you, are you sure you can only be done by setting a PC? Can not by giving them certain privileges of a PC?
    PL \ SQL that we use a portable version.
    So actually like this, user A is only used by the X, user A wants to provide read-only access to user B is only used by Y (another PC) to the procedures / functions held user A. How do you?

  • Nested Group Function without Group By Problem

    Hey everyone,
    I have 3 tables as below:
    TABLES
    ITEM (Item_no, Item_price, desc)
    DeliveryItem (delivery_no, item_no, quantity)
    Delivery (delivery_no, delivery_date)
    SELECT desc, MAX(SUM(quantity)) FROM DeliveryItem, Item, Delivery WHERE Item.item_no = DeliveryItem.item_no AND Delivery.delivery_no = deliveryitem.delivery_no;
    And I'm trying to output description of most delivered item but I got an error like SQL Error: ORA-00978: nested group function without GROUP BY. Could you help me to fix my code?
    Thanx

    Hi,
    DESC is not a good column name; you could get errors if the parser thinks it means DESCending. I used DESCRIPTION instead, below.
    I think the best way is to do the SUM in a sub-query, lkike this:
    WITH     got_r_num     AS
         SELECT       item_no
         ,       SUM (quantity)     AS total_quantity
         ,       RANK () OVER (ORDER BY  SUM (quantity) DESC)     AS r_num
         FROM       deliveryitem
         GROUP BY  item_no
    SELECT     i.description
    ,     r.total_quantity
    FROM     got_r_num     r
    JOIN     item          i     ON     r.item_no     = i.item_no
    WHERE     r.r_num     = 1
    ;If you want to do it without a sub-query:
    SELECT       MIN (i.description) KEEP (DENSE_RANK LAST ORDER BY SUM (di.quantity)
                        AS description
    ,       MAX (SUM (quantity))     AS total_quantity
    FROM       deliveryitem     di
    JOIN       item          i     ON     d1.item_no     = i.tiem_no
    GROUP BY  i.description
    ;If you do nested aggegate functions, then every column in the SELECT clause must be an aggregate applied to either
    (a) another aggregate, or
    (b) one of the GROUP BY expressions.
    That's why you got the ORA-00937 error.
    This second approach will only display one row of output, so If there is a tie for the item with the greatest total_quantity, only one description will be shown. The RANK method will show all items that had the highest total_quantity.
    It looks like the delivery table plays no role in this problem, but it there's some reason for including it, you can join it tpo either query above.
    Of course, unless you post test copies of your tables (CREATE TABLE and INSERT statements) I cn't test anything.
    Edited by: Frank Kulash on Nov 6, 2010 10:57 AM

  • Can generic function module extractions possible with CRM data sources.

    Hi Friends,
    can generic function module extractions possible with CRM data sources.
    90% extractions are generic function module extractions.
    How is it possible without BW adapters..
    It's very urgent ...Please.
    Thanks,
    Basava Raju

    Hi Madhu,
       Just curious ... if you already have a generic FM extractor then just go into it and find out where it is reading the data from. If its reading data from the CRM system then thre is no need for any BW adapter ... just in case you need any ABAP help ... post here ... I may be of use to you.
    Best regards,
    Kazmi

Maybe you are looking for

  • Issue with row/column text lengths in report painter

    Hi Gurus, I have created a report painter report with formatting of the row/column length text as medium, but for one FS item/GL Account the report when executed still picks up only the short text length. I am not sure how this can be resolved. Any i

  • Encounted an issue attempting to install Adobe Application Manager after purchasing monthly sub.

    Just signed up to adobe cloud two days ago, but wasn't able to start installing the Application manager till today. The application downloads to my desktop fine, but when I try to open EXE file, I get this has an error message: WE'VE ENCOUNTERED THE

  • Using iMac screen with Wii

    Is it possible to attach the iMac with some sort of adapter or even a program so that I can use the iMac screen to work with my nintendo Wii? Adapter...software...anything? Adapter to Adapter? any thoughts would be appreciated

  • New exchange rate type instead of M

    Hi, I want to assign a new exchange rate type instead of M to my co code. Where I can assign it to company code so that at the time of posting any document rate should be pickedup from new exchange rate type and not from M. Thanks for reply

  • How to install dvd/cd player in iMac all in one computer

    Purchased the dvd/cd player for my iMac.  How do I install on computer.  Put into usb port but will not download