Replacing consolkit's function with systemd

The arch wiki says that it is possible to replace consolekit's function with systemd.
https://wiki.archlinux.org/index.php/Sy … r_sessions
Has anyone already done this? I guess there are other packages which have to be recompiled? e.g. gdm and gnome-session, since they depend on consolekit.
As i'm already using systemd i'd like to give it a try, but i'd feel more comfortable with a howto
So if anyone has an idea where to find one, i'd appreciate that.
Regards,
Robert

Aside from changing the type of data you put on the Time Capsule, leave its drive as is. Its format is fixed.
(119920)

Similar Messages

  • Difficulties replacing some BC functionality with XI (refer to example)

    <b>Difficulties replacing some BC functionality with XI (refer to example)</b>
    I am transferring all interface processing from BC to XI and am having difficulties replacing some of the current BC functionality.  Please refer to my example below
    <b>Current process</b>
    <b>SAP R/3</b>
    SAP R/3 executes an abap that extracts certain data.  This data is passed via a remote function which is configured to point to Business Connector
    <b>Business Connector</b>
    Business Connector takes control and the relevant package does some internal processing then calls the remote enabled function BAPI_ACC_BILLING_POST
    <b>SAP R/3</b>
    Control is returned to SAP R/3 to post the data and on completion control is returned to Business Connector
    <b>Business Connector</b>
    Business Connector again takes control where some more processing is done to generate an xml version of the data prior to returning control back to SAP R/3
    <b>SAP R/3</b>
    Control is returned to the abap immediately following the call to the remote function and processing completes
    The initial synchronous call from SAP R/3 to Business Connector remains open whilst Business Connector executes a subsequent synchronous call to SAP R/3.
    Finally the initial synchronous call in SAP R/3 completes
    <b>Proposed Process</b>
    I am transferring all interface processing from BC to XI and am having difficulties replacing some of the current BC functionality.  In this instance I can set up the initial synchronous call via an XI Integration Process (sync/async bridge).  This allows me to perform subsequent asynchronous calls prior to closing the synchronous bridge
    I have successfully performed synchronous calls to SAP R/3 from XI for different scenarios and have set up the XI design and config in the same manner
    When I try to perform the synchronous posting back to SAP R/3 from within the SA bridge I get the message ‘Message is incomplete. No Sender found’
    Unlike BC, it appears that XI does not allow me to perform the synchronous posting back to SAP R/3 from within the SA bridge.
    <b>Refer to</b> http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm <b>for the SAP description</b> To enable the communication between a synchronously calling business system (synchronous outbound interface) and an asynchronously called business system (asynchronous inbound and outbound interface), you can define a sync/async bridge in an integration process. You can only define one sync/async bridge for each integration process.
    How can I replace the current BC functionality using XI?
    Regards,
    Mike

    Hi all,
    I cannot replicate the current BC functionality in XI
    So I will take this opportunity to simplify and improve the design for XI --> R/3
    Regards,
    Mike

  • Replace Sybase callback functions with OCI

    Has anybody replaced the Sybase error and message callback functions with the OCI callback capability? If so, I would be interested in discussing any lessons learned that you might have.

    Has anybody replaced the Sybase error and message callback functions with the OCI callback capability? If so, I would be interested in discussing any lessons learned that you might have.

  • How do I format a Time Capsule (3TB) drive for serving as an external drive while replacing its TC function with a Seagate 4TB drive yet keeping the Apple TC's wifi functionality?

    I have a hard line from my iMac to an Apple Time  3 TB Time Capsule with wifi. I wish to replace the drive potion of the Time Capsule with a new Seagate 4TB drive

    Aside from changing the type of data you put on the Time Capsule, leave its drive as is. Its format is fixed.
    (119920)

  • Completely replacing consolekit with systemd?

    I noticed on the systemd wiki it says its now possible to replace the now un-maintained consolekit's functionality with systemd, but I had some concerns before trying it, and was wondering if anyone has tried this yet.
    1. I noticed the polkit-systemd package in the aur is marked out of date since june. Should I just build it myself with the abs?
    2. GDM and Gnome-Session still seem to require consolekit to be installed, if I have a systemd enabled polkit will they still try and use consolekit, or do they just support both at runtime?

    bwat47 wrote:
    installed tomegun's polkit and removed consolekit using Rdd as suggested by Runiq. Seems to be working fine, I can mount removable drivers, smb shares etc.. in nautilus and gdm works fine. However after doing this for some strange reason the gnome-shell networkmanager applet is showing the wired connection icon (computer screen) when I am connected to wireless instead of the wireless bars (otherwise the applet is working totally fine). Not sure if removing consolekit caused it or the polkit package, not a big deal though.
    EDIT: I also can't access the advanced networking options in the gnome network settings now, its greyed out. Perhaps gnome still has some bugs with systemd only setup.
    A clarification: I just recompiled polkit with ABS (version 0.105 vs. tomegun's 0.107). At first I also recompiled gdm and gnome-session, found that everything worked, and worked my way back to a minimal working version. I eventually ended up using the recompiled gdm and gnome-session packages, though; but that was mainly to get pacman to shut up about the unresolved consolekit dependency.
    ANOKNUSA wrote:still can't mount anything.  I'm not sure where to start debugging
    How do you mount things? I'm using a custom Python script that runs udisks over dbus in the background, so I need a working udisks.service and a working dbus session bus (check for DBUS_SESSION_BUS_ADDRESS and, for good measure, see that loginctl shows an active session for your user).
    Last edited by Runiq (2012-09-01 16:23:29)

  • Getting sasc-ng to work properly with systemd service files [SOLVED]

    This thread is intended for getting the following AUR packages to work with each other with systemd service scripts:
    https://aur.archlinux.org/packages/open-sasc-ng-dkms/
    https://aur.archlinux.org/packages/open-sasc-ng/
    https://aur.archlinux.org/packages/oscam-svn/   (this is a related package as it must properly execute prior to sasc-ng)
    So my server is now on a fresh Arch install with systemd. All is well (& very fast) except I cannot get sasc-ng to function with systemd service init files. Prior to systemd the system worked fine with the rc initscripts & was very stable with the following setup:
    rc.local
    /etc/rc.d/oscam start
    sleep 15
    /etc/rc.d/sasc-ng start
    sleep 4
    /etc/rc.d/mythbackend start
    /etc/conf.d/sasc-ng.conf
    SASCNG_ARGS="-j 0:3 -j 1:4 -j 2:5" -b 16M --sid-allpid --sid-nocache --cam-budget"
    DVBLOOPBACK_ARGS="num_adapters=3"
    LOGDIR="/home/mythtv/logs/"
    CAMDIR="/etc/camdir"
    /etc/camdir/cardclient.conf
    camd35:localhost:15050:1/0000/0000:mythtv:mythtv
    I'll leave out the oscam stuff as that loads fine and doesn't appear to be a part of the problem
    I've tried this with the systemd service file that comes with the open-sasc-ng-dkms package and when it was not sucessful I tried a bunch of variants including using "Type=simple" ect. "Type=Forked" seems to be only option that actually tries to start the processes. I also "hardcoded" the service files for the 2 sasc-ng components to find a few issues with the EnvironmentFile variables. The log variable has been removed for now as this seems to cause a fatal error but the rest of the variables load fine now. I also tested spliting up the DVB loopback module from the sasc-ng binary but this also gives similar results as the following script stands now. Running them manually with systemctl start commands doesn't make a difference but that is not surprising. The service file I'm fiddling with now which I feel has the best potential become working is:
    sasc-ng.service
    [Unit]
    Description=Sasc-ng
    After=oscam.service
    [Service]
    Type=forking
    EnvironmentFile=/etc/conf.d/sasc-ng
    ExecStartPre=/sbin/modprobe dvbloopback $DVBLOOPBACK_ARGS
    TimeoutSec=2
    ExecStart=/usr/sbin/sasc-ng -D $SASCNG_ARGS --cam-dir=$CAMDIR
    TimeoutSec=4
    [Install]
    WantedBy=multi-user.target
    Mythbackend always runs fine (even without DTV via sasc-ng) with the following mythbackend.service:
    [Unit]
    Description=MythTV_backend
    After=sasc-ng.service
    [Service]
    Type=simple
    Environment=MYTHCONFDIR=/etc/conf.d/mythbackend
    Environment=HOME=/usr/share/mythtv
    User=mythtv
    ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv
    [Install]
    WantedBy=multi-user.target
    oscam.service taken mostly from AUR package also seems fine. I added the TimeoutSec=15 to give time for oscam to load the SC and client protocol before moving on or else sasc-ng fails
    Unit]
    Description=An Open Source Conditional Access Module software
    After=network.target
    [Service]
    Type=forking
    EnvironmentFile=/etc/conf.d/oscam
    ExecStart=/usr/bin/oscam $OSCAM_ARGS
    TimeoutSec=15
    [Install]
    WantedBy=multi-user.target
    Below is the output of the systemctl status commands. Despite the noise in the sasc-ng binary status, it is the loopback module that is " inactive (dead)" and there are no virtual DVB devices being created:
    [mythtv@server ~]$ sudo systemctl status oscam.service
    oscam.service - An Open Source Conditional Access Module software
    Loaded: loaded (/usr/lib/systemd/system/oscam.service; enabled)
    Active: active (running) since Tue, 2012-11-27 21:10:17 CET; 1min 7s ago
    Process: 338 ExecStart=/usr/bin/oscam $OSCAM_ARGS (code=exited, status=0/SUCCESS)
    Main PID: 377 (oscam)
    CGroup: name=systemd:/system/oscam.service
    ├ 377 /usr/bin/oscam -b -c /etc/oscam
    └ 378 /usr/bin/oscam -b -c /etc/oscam
    Nov 27 21:10:17 server systemd[1]: Started An Open Source Conditional Acces...e.
    [mythtv@server ~]$ sudo systemctl status loopback.service
    loopback.service - Sasc-ng DVB Loopback Module
    Loaded: loaded (/etc/systemd/system/loopback.service; enabled)
    Active: inactive (dead) since Tue, 2012-11-27 21:10:28 CET; 1min 27s ago
    Process: 907 ExecStart=/sbin/modprobe dvbloopback num_adapters=3 (code=exited, status=0/SUCCESS)
    CGroup: name=systemd:/system/loopback.service
    Nov 27 21:10:28 server systemd[1]: Started Sasc-ng DVB Loopback Module.
    [mythtv@server ~]$ sudo systemctl status sasc-ng.service
    sasc-ng.service - Sasc-ng
    Loaded: loaded (/etc/systemd/system/sasc-ng.service; enabled)
    Active: failed (Result: exit-code) since Tue, 2012-11-27 21:10:47 CET; 1min 45s ago
    Process: 913 ExecStart=/usr/sbin/sasc-ng -D -j 0:3 -j 1:4 -j 2:5" -b 16M --sid-allpid --sid-nocache --cam-budget --cam-dir=/etc/camdir -l /home/mythtv/logs/sasc-ng.log (code=exited, status=0/SUCCESS)
    Main PID: 921 (code=exited, status=255)
    CGroup: name=systemd:/system/sasc-ng.service
    Nov 27 21:10:39 server sasc-ng[921]: [921] [general.error] failed open /etc...ry
    Nov 27 21:10:40 server sasc-ng[921]: [921] [general.error] failed open /etc...ry
    Nov 27 21:10:40 server sasc-ng[921]: [921] [general.error] failed open /etc...ry
    Nov 27 21:10:40 server sasc-ng[921]: [921] [general.info] loading cardclien...nf
    Nov 27 21:10:42 server sasc-ng[921]: [1062] Netwatcher thread started (pid=...6)
    Nov 27 21:10:42 server sasc-ng[921]: [921] [general.error] no keys loaded f...m!
    Nov 27 21:10:46 server sasc-ng[921]: [1098] SC housekeeper thread started (...2)
    Nov 27 21:10:47 server sasc-ng[921]: [1062] Netwatcher thread ended (pid=92...6)
    Nov 27 21:10:47 server systemd[1]: sasc-ng.service: main process exited, co.../a
    Nov 27 21:10:47 server systemd[1]: Unit sasc-ng.service entered failed state
    [mythtv@server ~]$ sudo systemctl status sasc-ng.service
    sasc-ng.service - Sasc-ng
    Loaded: loaded (/etc/systemd/system/sasc-ng.service; enabled)
    Active: failed (Result: exit-code) since Tue, 2012-11-27 21:10:47 CET; 2min 9s ago
    Process: 913 ExecStart=/usr/sbin/sasc-ng -D -j 0:3 -j 1:4 -j 2:5" -b 16M --sid-allpid --sid-nocache --cam-budget --cam-dir=/etc/camdir -l /home/mythtv/logs/sasc-ng.log (code=exited, status=0/SUCCESS)
    Main PID: 921 (code=exited, status=255)
    CGroup: name=systemd:/system/sasc-ng.service
    Nov 27 21:10:39 server sasc-ng[921]: [921] [general.error] failed open /etc/camdir/smartcard.conf: No such file or directory
    Nov 27 21:10:40 server sasc-ng[921]: [921] [general.error] failed open /etc/camdir/cardslot.conf: No such file or directory
    Nov 27 21:10:40 server sasc-ng[921]: [921] [general.error] failed open /etc/camdir/SoftCam.Key: No such file or directory
    Nov 27 21:10:40 server sasc-ng[921]: [921] [general.info] loading cardclient config from /etc/camdir/cardclient.conf
    Nov 27 21:10:42 server sasc-ng[921]: [1062] Netwatcher thread started (pid=921, tid=140074379712256)
    Nov 27 21:10:42 server sasc-ng[921]: [921] [general.error] no keys loaded for softcam!
    Nov 27 21:10:46 server sasc-ng[921]: [1098] SC housekeeper thread started (pid=921, tid=140074371319552)
    Nov 27 21:10:47 server sasc-ng[921]: [1062] Netwatcher thread ended (pid=921, tid=140074379712256)
    Nov 27 21:10:47 server systemd[1]: sasc-ng.service: main process exited, code=exited, status=255/n/a
    Nov 27 21:10:47 server systemd[1]: Unit sasc-ng.service entered failed state
    [mythtv@server ~]$
    Any ideas?
    Last edited by wdirksen (2012-12-10 19:54:43)

    After some head scratching it seems to be all good now. Considering there have been no replies to this I've come to wonder if I might be the only one with this issue. I could get it working somewhat using service files but never ideal, ex. sasc-ng only using a few of the entitlements from oscam because it started too quick etc. Anyway this might help a few and I'm hoping the linux savvy who find what I'm writing here painfully newbie like or flawed will reply and educate me a bit if what's provided here needs some sharpening up:
    1) Systemd was confusing the sasc-ng binary shorthand arguments with Linux init arguments and a few were misinterpreted if they were not nested into the environment specifiers. So the -l (log) was causing problems and -b (buffer) wasn't loading. To be safe I'm using only the sasc-ng longhand specifiers from now on (two "--" and more verbose) so that they can never be confused even if safely nested in an environment parameter. That means that /etc/conf.d/sasc-ng will also need to be changed to reflect this. I also decided to simplify the LOGFILE parameter to include the whole argument syntax.
    2) Oscam.service needs to be initiated with oneshot and RemainAfterExit=yes to make sure the delay (15 seconds in my config) gets counted out before sasc-ng initiates.
    [EDIT 12/12/2012: Initially I had a second TimeoutSec=2 after ExecStart in sasc-ng.service but this had no function. Turns out that it almost always does work without this delay but not always with my setup. Adding TimeoutSec=2 to mythbackend.service prior to ExecStart command does function and makes things init more consistant]
    sasc-ng.service
    [Unit]
    Description=Sasc-ng
    After=oscam.service
    [Service]
    Type=simple
    EnvironmentFile=/etc/conf.d/sasc-ng
    ExecStartPre=/sbin/modprobe dvbloopback $DVBLOOPBACK_ARGS
    TimeoutSec=2
    ExecStart=/usr/sbin/sasc-ng $SASCNG_ARGS --cam-dir $CAMDIR --log $LOGFILE
    [Install]
    WantedBy=multi-user.target
    /etc/conf.d/sasc-ng
    SASCNG_ARGS="--join 0:3 --join 1:4 --join 2:5 --buffer 16M --sid-allpid --sid-nocache --cam-budget"
    DVBLOOPBACK_ARGS="num_adapters=3"
    LOGFILE="/home/mythtv/logs/sasc-ng.log"
    CAMDIR="/etc/camdir"
    oscam.service
    [Unit]
    Description=An Open Source Conditional Access Module software
    After=network.target
    [Service]
    Type=oneshot
    EnvironmentFile=/etc/conf.d/oscam
    ExecStart=/usr/bin/oscam $OSCAM_ARGS
    TimeoutSec=15
    RemainAfterExit=yes
    [Install]
    WantedBy=multi-user.target
    mythbackend.service
    [Unit]
    Description=MythTV_backend
    After=sasc-ng.service
    [Service]
    Type=simple
    TimeoutSec=2
    Environment=MYTHCONFDIR=/etc/conf.d/mythbackend
    Environment=HOME=/usr/share/mythtv
    User=mythtv
    ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv
    [Install]
    WantedBy=multi-user.target
    I will make the related changes to the open-sasc-ng AUR package which I currently maintain
    Last edited by wdirksen (2012-12-23 14:40:43)

  • Need help in using replace function with special characters

    I have a column in a table where the data can contain ascii code for special characters such as an apostrophe.
    The data looks like this:
    CREEK&#39;S LANE
    ie for a street named CREEK'S LANE.
    I want to replace the ascii representation with the apostrophe and have the returned data show up as: CREEK's LANE
    When I try the query below I get prompted for substitution variable value.
    I don't seem to be able to find the right syntax to make this query work.
    SELECT REPLACE (street_name, '&#39;', '''')
    FROM
    streets WHERE street_id = 1
    Does anybody know how to do this?
    Any help would be much appreciated.
    Thanks.
    George

    george91 wrote:
    I have a column in a table where the data can contain ascii code for special characters such as an apostrophe.
    The data looks like this:
    CREEK'S LANE
    ie for a street named CREEK'S LANE.
    I want to replace the ascii representation with the apostrophe and have the returned data show up as: CREEK's LANE
    When I try the query below I get prompted for substitution variable value.
    I don't seem to be able to find the right syntax to make this query work.
    SELECT REPLACE (street_name, ''', '''')
    FROM
    streets WHERE street_id = 1
    Does anybody know how to do this?
    Any help would be much appreciated.
    Thanks.
    GeorgeHa! The codes you specified rendered in the HTML, but showed properly when I listed your original posting above. I didn't understand what you meant initially because the 5-character string represenation got rendered as the quote that you said you weren't able to get - a display problem.
    You're getting prompted for the substituon variable because of the ampersand; you appear to be doing this in SQL*PLUS. The first thing I would try is to SET DEFINE OFF when using the ampersands to see if that works. If That doesn't work check the docs to delmit the ampersand (I think its a backslash before it but can't remember offhand). Another, harder option might be to use the TRANSLATE function replacing the literal character instead of using REPLACE (though replacing a quote will be a little tricky). If you're on 10g also consider using the advanced quoting
    Good luck!
    Edited by: riedelme on May 22, 2009 12:45 PM

  • How to make customize Replace function with Positions not pattern ?

    Hi
    Due to Repalce with patterns in  flex, i am facing issue.
    I  want to make cutomize replace function with  parameters
    1 Parameter - String to replace
    2 Parameter - Start Posion.
    3 Parameter - Last position
      which return string value.
    For Example
      replaceInWholeString(str:String, sPos:Number, lPos:Number ):String
    values like
    1st paramter - "asked"
    2nd Paramter - 11
    3rd Paramter -  15
    Original String :: I want to reply
    Output string : I want to asked
    Please Reply ,if someone having solution
    Thanks
    Sunil Rana

    You can use any number of the String methods to acomplish this.
    I would proabably go with something like: slice(...) + input + substr(...);

  • Systemd-cron: minimal cron replacement with systemd

    systemd-cron
    systemd-cron is a set of systemd unit files that take advantage of systemd's timer units and calendar events to execute scripts in the standard cron.hourly, cron.daily, cron.weekly, and cron.monthly directories. For simple setups where this is all you need, this allows you to not have to run a cron daemon. Of course this also means it is not a drop-in replacement for a traditional cron daemon and you will not get support for:
    crontab files
    per-user jobs
    executing missed jobs
    emailing job output
    et cetera
    To use, stop and uninstall any existing cron daemon and install the AUR package. Then as root run:
    # systemctl enable cron.target
    # systemctl start cron.target
    Please note the .target suffix.
    More details are available with:
    $ man systemd.cron
    I have been using it successfully on my servers for a week now with no troubles.

    nbvcxz wrote:Haven't tested jet but really nice idea - thumbs up. Any possibilities to make per user jobs in the future?
    That would probably be the next thing I do. As Morrad described above it should be pretty natural with systemd user sessions. After that probably crontab support using generators.

  • Creating Report using EPM Functions with Dynamic Filters

    Hi All,
    I am new to BPC, In BPC 7.5 i seen like we can generate EPM report using EVDRE function very quickly and easy too. Is the same feature is existing in BPC 10.0 ? if no how can we create EPM reports using EPM Functions with Dynamic Filters on the Members of the dimension like in BPC 7.5.
    And i searched in SDN, there is no suitable blogs or documents which are related to generation of Reports using EPM Functions. All are described just in simple syntax way. It is not going to be understand for the beginners.
    Would you please specify in detail step by step.
    Thanks in Advance.
    Siva Nagaraju

    Siva,
    These functions are not used to create reports per se but rather assist in building reports. For ex, you want to make use of certain property to derive any of the dimension members in one of your axes, you will use EPMMemberProperty. Similary, if you want to override members in any axis, you will make use of EPMDimensionOverride.
    Also, EvDRE is not replacement of EPM functions. Rather, you simply create reports using report editor (drag and drop) and then make use of EPM functions to build your report. Forget EvDRE for now.
    You can protect your report to not allow users to have that Edit Report enabled for them.
    As Vadim rightly pointed out, start building some reports and then ask specific questions.
    Hope it clears your doubts.

  • How to replace typewriter (straight) apostrophe with typographic (curly) apostrophe?

    I have a manuscript I got off the Internet that has a bunch of isn?t's and wasn?t's and the like—due, I assume, to some miscommunication between MS Word's automatic curly quotes and the ASCII limits of ISO Latin 1. I tried doing a find-and-replace to put typographic apostrophes in place of the question marks. Pages found the question marks and put typewriter apostrophes in place of them, though I'd carefully entered a typographical apostrophe ((opt-shift-]) in the Replace field. So I tried again, to replace the typewriter apostrophes with typographical apostrophes. Pages now replaced the few typographical apostrophes I'd manually entered with typewriter apostrophes. Well, at least it's consistent. So far as Pages, Apple's flagship word-processing/page-layout app is concerned, there's apparently no such thing as a typographical apostrophe—something that was understood, as I recall, by the original MacWrite 25 years ago. So do I have to go back to doing all my editing in TextEdit (which seems to be much better at text work than Pages), or can somebody tell me how to persuade Pages to take care of this trifling little task correctly?

    Copy these two paragraphs into a Pages WP document:
    When you?re sleep deprived… parental control of baby?s sleep… meet baby?s needs consistently… respond to baby?s cries…
    "Parents should recognize that having their babies cry unnecessarily harms the baby permanently," Commons said. "It changes the nervous system so they?re overly sensitive to future trauma."
    Open the Find & Replace dialog. Enter Find: ? and Replace: ’ (opt-shift-}). (I.e. replace question mark with typographical apostrophe.) Click Replace All. It should say 5 Replaced. Check any of the replacements by enlarging the type; you’ll see an ASCII apostrophe ['] rather than the requested typographical version [’].
    Then enter Find:  " (space-") and Replace:  “ (space-opt-[), and click Replace All. It will say 1 Replaced, meaning the quote mark preceding "It" in the second sentence (the only quote mark preceded by a space). Enlarge the replacement to see it clearly; it's replaced an ASCII " with another ASCII ".
    So far as I can tell, Pages’ Find-Replace function can't tell the difference between ASCII apostrophe/quote marks and the typographical versions. Maybe it will once you turn on smart quotes in preferences; I haven't tried that -- but then of course you'd get smart quotes when you don't want them, for instance for something to be posted on an Internet forum, which often doesn't understand them. (The problems above and similar, often seen on the 'Net, are due to MS Word's having smart quotes on by default, so unaware users compose material with them and send it out over teh Interwebz, where they sometimes come through correctly, sometimes don't.)
    Try the same experiment in TextEdit; you'll get the requested typographical versions. And so I did, then copied the text back to Pages. Like I said, kinda shoddy for Apple's Pride & Joy word processor. AppleWorks, by the way, does it right.

  • Gnome and kde not loading with systemd

    Hello!
    I use [testing] repo and after some updates i can't use gnome or kde with systemd anymore.
    * with sysvinit everything works
    * xfce and other wms works fine with systemd and sysv
    * 'gnome-shell --replace' also work in xfce with systemd
    * I've got some errors:
    gnome-session[2301]: WARNING: Application 'gnome-settings-daemon.desktop' failed to register before timeout
    (gnome-settings-daemon:2321): libupower-glib-WARNING **: Couldn't enumerate devices: Activation of org.freedesktop.UPower timed out
    gnome-session[2301]: WARNING: Application 'gnome-shell.desktop' failed to register before timeout
    (gnome-settings-daemon:2321): color-plugin-WARNING **: GDBus.Error:org.freedesktop.ColorManager.Failed: failed to obtain org.freedesktop.color-manager.create-profile auth
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    Object::connect: No such signal QDBusAbstractInterface::DeviceAdded(QString)
    plasma-desktop(2323): Communication problem with  "plasma-desktop" , it probably crashed.
    Error message was:  "org.freedesktop.DBus.Error.Disconnected" : " "Connection was disconnected before a reply was received" "
    I think there is some problems with dbus...

    Without a dbus socket, dbus probably isn't running. It's supposed to be started automatically when a program needs it. Check to see that it is installed and running:
    pacman -Q dbus
    pgrep -l dbus
    Dbus won't run without hal, so hal should be in:
    tail /etc/rc.conf
    Are any of your partitions full?
    df -h
    For the other error, it looks like libdrm isn't installed, but I don't think you need it if you're running the nvidia driver.
    Your xorg.conf and Xorg.0.log would also be useful. Also check dmesg for errors.
    And see if /etc/rc.d/dbus is marked executable.
    Last edited by fphillips (2009-05-12 18:27:41)

  • I no longer have access to system folders that allow me to remove old or incorrect PAGES templates. Need to find out how to do that. The only way I can do it now is to blank the template and replace the bad template with a blank.

    I no longer have access to system folders that allow me to remove old or incorrect PAGES templates. Need to find out how to do that. The only way I can do it now is to blank the template and replace the unwanted template with a blank. It was previously possible to go to MY TEMPLATES and remove the unwanted templates. I don't if this issue is before or since installation of 10.8 (a nightmare in my case, which led to significant failure issues).  And because I haven't tried to remove templates since finally managing to install 10.8 (now at 10.8.4), I don't know if this is typical of the newer OS or a problem. I've been a Mac user for more than 25 years, but I think I'm nearing the end of the road. By the way, I've never needed to do this before because the manuals always offered an answer... they don't seem to do that anymore. In any case, I don't know how this works... I'd prefer an email reply if that's possible. But that would probably be too easy, and I don't know how to get a reply.

    Thanks, I appreciate the help.  I think this is one of the problems Apple is creating by changing the OS so often. I had fomer colleagues at [a major aerospace contractor] who told me that so many original files were ultimately lost because of the deadly change in the "Save As" operation that they are now afraid of every OS update. Apple has badly damaged their support base with that very prominent company (they won't update now until they've fully examined and understand changes in the pre-conditioned nature of OS computer functions), and they are a whole lot less enthaled with Mac-related equipment/software. Can't blame them, I too used orginal files that way (as easy-to-use templates), and lost some important files before I realized what was happening (to late to revert). Companies should not have to retrain employees each time an OS gets an update, it's can be very expensive several different ways. They learned a painful lesson with that one. And because I'm now retired and don't use multiple devices, I need iCloud like I need a hole in the head... but I'm told there's no way to keep Apple out of my computer. Fortunately, because of major problems when initially installing Mountain Lion, one hold-over of the hardware/software damage I experienced was that iCloud can no longer access my computer even though everything else is working fine again. That was the only "good luck" I had as a result of that expensive nightmare.

  • HP Photosmart 8150 or 8050 fully functional with Windows 7?

    I just purchased a used 8150 Photosmart printer due to failure of feeder mechanism on another older Photosmart printer. Lost my PC, monitor and scanner to a lightning strike the following day.  A computer technician tells me my 8150 can't print photos at all from my new PC with Windows 7 as I can no longer download the necessary Photosmart Essential software from HP.  Is this correct or is it still fully functional?  
    On the other hand, would it be easier to buy a newer Photosmart printer?  Is an 8050 Photosmart fully functional with Windows 7?  It looks to have a driver download and so forth, but I want to make sure before I go out and buy yet another printer that isn't fully functional.  I loved the Photosmart Essential software that came with the 8150 and 8050, and would like to continue printing photos using similar software.

    Hi,
    It's correct in one way: Photosmart Essential software has been replaced with a new software called HP Proto creations. You can download from the following link:
       http://www.hp.com/global/us/en/consumer/digital_photography/free/software/photo-creations.html
    And Yes, no more driver support for the old 8150 from the Vista ages or at least 5 years now. Buying new printer would be the way to go if you wish to get better photo prints otherwise just waisting inks (very expensive) and papers.
    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 can't execute oracle functions with c#.  i'm using oracle 9i version.

    i have a problem trying to execute an oracle function with c#.net. The Oracle version i'm using is Oracle 9i.
    This is the function definition: (it's defined and working right because i have tryed it with SQLWorksheet)
    CREATE OR REPLACE Function NRegistros return integer is
    Numero integer(4);
    begin
    select count(*) into Numero from singles;
    return Numero;
    END NRegistros;
    But with c#.Net i can't acces it because i get an error: "this is not a procedure or is not defined". And i think the code is right. In fact in the same code you can see that i'm using an stored procedure and i have not problems. But with the function i have problems. Is it possible that "OracleClient" can't work with Oracle9i functions??. This is the code:
    OracleParameter Parametro = new OracleParameter("Name", OracleType.VarChar,10);
    OracleParameter ParametroFuncion = new OracleParameter("Retorno", OracleType.Int32, 4);
    Parametro.Direction = ParameterDirection.Output;
    ParametroFuncion.Direction = ParameterDirection.ReturnValue;
    OracleConnection Conexion = new OracleConnection("Data Source=DISCOS;User Id=SYSTEM;Password=a0000;");
    Conexion.Open();
    OracleCommand Todos = new OracleCommand();
    OracleCommand Procedimiento = new OracleCommand();
    OracleCommand Funcion = new OracleCommand();
    Todos.Connection = Conexion;
    Todos.CommandType = CommandType.Text;
    Todos.CommandText="select * from singles";
    Procedimiento.Connection = Conexion;
    Procedimiento.CommandType = CommandType.StoredProcedure;
    Procedimiento.CommandText = "Procedimiento";
    Procedimiento.Parameters.Add(Parametro);
    Funcion.Connection = Conexion;
    Funcion.CommandType = CommandType.StoredProcedure;
    Funcion.CommandText = "NRegistros";
    OracleDataReader Lector = Todos.ExecuteReader();
    BindingSource Discos = new BindingSource();
    Discos.DataSource = Lector;
    dgvSingles.DataSource = Discos;
    Procedimiento.ExecuteNonQuery();
    Funcion.ExecuteNonQuery();
    lblRegistroProcedimiento.Text = Procedimiento.Parameters["Name"].Value.ToString();
    lblNregistros.Text=Funcion.Parameters["Retorno"].Value.ToString();
    Conexion.Close();
    Edited by: user11921281 on 22-nov-2009 20:32

    thank you very much. It was a stupid error, sorry. There was one line left :
    OracleParameter Parametro = new OracleParameter("Name", OracleType.VarChar,10);
    OracleParameter ParametroFuncion = new OracleParameter("Retorno", OracleType.Int32, 4);
    Parametro.Direction = ParameterDirection.Output;
    ParametroFuncion.Direction = ParameterDirection.ReturnValue;
    OracleConnection Conexion = new OracleConnection("Data Source=DISCOS;User Id=SYSTEM;Password=a0000;");
    Conexion.Open();
    OracleCommand Todos = new OracleCommand();
    OracleCommand Procedimiento = new OracleCommand();
    OracleCommand Funcion = new OracleCommand();
    Todos.Connection = Conexion;
    Todos.CommandType = CommandType.Text;
    Todos.CommandText="select * from singles";
    Procedimiento.Connection = Conexion;
    Procedimiento.CommandType = CommandType.StoredProcedure;
    Procedimiento.CommandText = "Procedimiento";
    Procedimiento.Parameters.Add(Parametro);
    Funcion.Connection = Conexion;
    Funcion.CommandType = CommandType.StoredProcedure;
    Funcion.CommandText = "NRegistros";
    Funcion.Parameters.Add(ParametroFuncion); //<--------------------- That one !!! (yes it was a stupid error jeje)
    OracleDataReader Lector = Todos.ExecuteReader();
    BindingSource Discos = new BindingSource();
    Discos.DataSource = Lector;
    dgvSingles.DataSource = Discos;
    Procedimiento.ExecuteNonQuery();
    Funcion.ExecuteNonQuery();
    lblRegistroProcedimiento.Text = Procedimiento.Parameters["Name"].Value.ToString();
    lblNregistros.Text=Funcion.Parameters["Retorno"].Value.ToString();
    Conexion.Close();

Maybe you are looking for

  • I would like to have my bookmarks appear permantly on the left of my Firefox screen. How do I do this?

    On earlier versions of Windows and Firefox I could have my internet bookmarks listed down the left side of my Firefox window. All I seem to be able to do now is to click on the Firefox tab on the very top left of the screen and select Bookmarks/unsor

  • Sort items in Table type

    Hi All, I have an object type defined as: create or replace type test_object as object item varchar2(50) , countofitems number(8,0) And I have a table type defined on this object as: create or replace table test_object_table is table of test_object;

  • How to use admin services through RIDC ?

    I am trying to invoke admin services like GET_ADMIN_OUTPUT through http protocol. But RIDC uses PING_SERVER service internally which populates environment variable and does authentication. As PING_SERVER service is defined in Intradoc core services o

  • Forum design silliness

    When I come here to log-in and hit this and the PremPro forums, I'm always first sent to screen with a few ... like 5? ... threads, and then have to hunt to find and hit more and something else to FINALLY get to the whole forum ... which is WHY I COM

  • New iMac user alert * how do I separate RAW files from jpeg files in iPhoto?  So that I can open them in cs5?

    I installed cs5 last night, and I am trying to open just the raw files that I imported into iphoto, but cant seem to find a way to separate them.  In ps, when I go to open them up, they all appear as if they are jpegs, even though they sit in pairs (