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)

Similar Messages

  • How to replace Consolekit with systemd-loginctl

    Is systemd's new multiseat ready to replace consolekit?
    And if, how can I achieve that?
    My Background:
    - I use systemd as my init system
    - login into a getty
    - which create a new X session with startx through a login script
    I have had a hard time before I had the right setup to supervise everything with *ck-launch-session* and  *dbus-launch* (order matters).
    And sometimes without a reason, something breaks and I'm not allowed to mount USB drives or shutdown as a user without a reboot.
    Last edited by Mic92 (2012-06-01 13:36:59)

    I do have a session:
    ┌─[jente @ lappy ~] 21:48:14
    └─■ loginctl
    SESSION UID USER SEAT
    1 1000 jente seat0
    1 sessions listed.
    I start Udiskie through .xinitrc, like so:
    if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
    eval `dbus-launch --sh-syntax --exit-with-session`
    fi
    exec bash -c "udiskie & $HOME/.bin/dwm_start"
    With .bin/dwm_start:
    #!/bin/bash
    while true; do
    dwm >/dev/null 2>&1
    done
    EDIT: Here's udiskie's output when I plug in my external HD:
    attempting to mount device /org/freedesktop/UDisks/devices/sdb2 (ext4:[])
    failed to mount device /org/freedesktop/UDisks/devices/sdb2: org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized
    attempting to mount device /org/freedesktop/UDisks/devices/sdb1 (ntfs:[])
    failed to mount device /org/freedesktop/UDisks/devices/sdb1: org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized
    EDIT2:
    Changing my .xinitrc to the following didn't help either:
    udiskie &
    exec $HOME/.bin/dwm_start
    Also, I found out I have to enter my root password to shutdown/reboot, whereas I didn't have to before.
    Last edited by Unia (2012-09-05 19:55:23)

  • How to completely replace iPhoto with Aperture

    I would love to use Aperture for all my image-handling, but it seems iPhoto is hard-coded into the OS X workflow. For instance, when right-clicking images on the web, there's the possibility to save to iPhoto. Same thing thing when doing a slideshow in Preview, there's an option to add pictures directly to iPhoto.
    Does anyone here know how to completely replace iPhoto with Aperture?
    Thanks
    (ps: did search in the forum here, but couldn't find anything about this)

    I would love to use Aperture for all my
    image-handling, but it seems iPhoto is hard-coded
    into the OS X workflow. For instance, when
    right-clicking images on the web, there's the
    possibility to save to iPhoto. Same thing thing when
    doing a slideshow in Preview, there's an option to
    add pictures directly to iPhoto.
    Does anyone here know how to completely replace
    iPhoto with Aperture?
    Thanks
    (ps: did search in the forum here, but couldn't find
    anything about this)
    Hi, you seem to be right, although I've never used that myself, it made me go off and test it myself.
    However, you can use the 'save image to <my-downloads-folder>' feature, and then import the images into Aperture. Which is what I've been doing anyway. It's a two step process for sure, but it'll work.
    I'm very much like you, and trying to swap from iPhoto to Aperture. I have to say that I haven't actually run iPhoto since I got Aperture though.
    Cheers
    Andy
    PowerMac G5 DP 1.8   Mac OS X (10.4.8)   2.5GB RAM, Formac Gallery

  • Can't replace udev with systemd-tools (file conflict)

    Hello,
    just want to update, im getting this output:
    (26/26) Überprüfe Paket-Integrität [######################] 100%
    (26/26) Lade Paket-Dateien [######################] 100%
    (26/26) Prüfe auf Dateikonflikte [######################] 100%
    Fehler: Konnte den Vorgang nicht durchführen (In Konflikt stehende Dateien)
    systemd-tools: /usr/share/man/man5/hostname.5.gz existiert im Dateisystem
    systemd-tools: /usr/share/man/man5/locale.conf.5.gz existiert im Dateisystem
    systemd-tools: /usr/share/man/man5/vconsole.conf.5.gz existiert im Dateisystem
    Fehler sind aufgetreten, keine Pakete wurden aktualisiert.

    Check SOLVED udev/systemd-tools - can't upgrade

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

  • To completely replace an existing web page with another

    Dreamweaver CC / Windows 7 / ...nube
    So , bought a domain and w/hosting (major headache) ...  I run into this "Make your webpage ..." offer .. with all the excitement and hoopla , I decided to take the "do-it-now-modify-later" route ... Hah !!! ... do I need to continue ? .
    Ok , so , how do I completely replace the existing layout / template with the one already on the site , which basicly is just a header and a name .... ?  FTP connected ... webpage in Dw already .
    I appreciate and can use all the help I can get
    vahn

    >Though that is what I thought but would so doing , I wondered ,
    >keeps the older page still active ? , like in the back or underneath the new page ?
    Keep in mind that Unix servers are case sensitive, so index.html is not the same file as Index.html. Maybe that's part of your problem?

  • Will ORACLE 9i after few years will be completely replaced with ORACLE 10g

    Will ORACLE 9i after few years will be completely replaced with ORACLE 10g or higher versions.
    I have worked on Oracle 9i database and i have basic knowledge about Sql commands and i am planning to go for Oracle 10g Certification does it make any difference if i do not take ORACLE 9i Certification and directly go on to do my Certification.
    Kindly advise

    Will ORACLE 9i after few years will be completely replaced with ORACLE 10g or higher versions. Not sure what you mean by that. There are some systems which are running Oracle 7.x till date and the administrators have not even bothered to upgrade to Oracle 8i, let alone 10g/11g.
    does it make any difference if i do not take ORACLE 9i Certification and directly go on to do my Certification.It does not make any difference unless you want to get certified on every version of Oracle.

  • Replace libsystemd with testing/systemd?...

    pacman -Syu
    :: Synchronizing package databases...
    testing 30.2 KiB 71.0K/s 00:00 100%
    core is up to date
    extra is up to date
    community 1766.4 KiB 103K/s 00:17 100%
    archlinuxfr is up to date
    mate is up to date
    :: Starting full system upgrade...
    :: Replace libsystemd with testing/systemd? [Y/n] n
    :: Replace systemd-tools with testing/systemd? [Y/n] n
    how to act?
    tia!

    1archgamenon2 wrote:
    pacman -Syu
    :: Synchronizing package databases...
    testing 30.2 KiB 71.0K/s 00:00 100%
    core is up to date
    extra is up to date
    community 1766.4 KiB 103K/s 00:17 100%
    archlinuxfr is up to date
    mate is up to date
    :: Starting full system upgrade...
    :: Replace libsystemd with testing/systemd? [Y/n] n
    :: Replace systemd-tools with testing/systemd? [Y/n] n
    how to act?
    tia!
    seems new systemd "testing" has libsystemd and systemd-tools inside it, just like systemd-git on AUR

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

  • Help with systemd problems/reply to closed thread

    @Everyone; as the previopus topic was closed, I am opening a new one here, partly to reply to some things that was said to me in the previous thread/topic (and I do not like to leave people hanging), but mainly to try and get some help with my systemd config (that I was not able to find help with in the wiki or manpages).
    @czubek; eww, that sounds rather similiar to some other operating systems I've heard of (not just, but obviously including, windows)... For me, subjectively, that is not very attractive, as being able to have a single application do a single thing, and then mixing and matching as I personally see fit is a great thing.
    @tomegun: I can indeed see your point, but if I made direct quotes on all the things I reply too, my posts would reach biblical proportions.
    Mmm-hmm, I do indeed know of "the Arch Way"; however, the system that you expose can be of varying complexity as well, and I found that the system that was presented to me by way of Sysvinit/initscripts was a way simpler system than that presented to me by systemd.
    Indeed, and I do like that; I enjoy knowing how my system works and learning more about it; however, the truth is that reading manpages and the wiki isn't always enough. And I use the numbers instead of letters in certain places as a jest, please, do not get offended by that; if you have to, get offended by my opinions.
    Ah, I have now scanned the wiki, the manpages, and have already faced problems. While part of me is saddened by this fact (as I was hoping for a smooth transition to systemd), part of me is glad that I can at least prove that everything isn't quite as simple as some people would make it out to be. More on this later in this post, as I do need help with the problems I have faced.
    And I wouldn't say that the new and old way are equally trivial, as I immediatley faced problems with "the new way". More on this later.
    Ok, I find that if the debate is polarized, then there is nothing wrong with describing it as such. I spell what I see.
    Oh my... Ignored as a matter of principle? I would say that that is an excellent way to stagnate; by that logic, moviemakers, gamemakers etcetera should ignore any and all criticism they recieve, as the critics are not contributing.... Wouldn't that lead to a complete halt in development? Isn't criticism (so long as it is constructive, obviously) a key component of (media/software) evolution?
    Ah, I see, then I  misunderstood the current state of the install media
    "Some adjustements"... Well, I guess we'll have to see how that goes, then. Hopefully it'll be smooth.
    @Everyone; Awebb possesses stunning accuracy as far as his observations go.
    @zb3; My point exactly.
    @tomegun; I believe you to be wrong; complaining (but not whining) is the first step towards improvement, as I think that I and zb3 has shown.
    Further, your last point (where you talk about "deep understanding of Y" and whatnot) is basically saying that only devs and programmers can contribute, so zb3's observation would be correct.
    Also, making suggestions is part of constructive criticism; you can do that even if you can't code, e.g. by saying "X works badly because it makes Y crash; couldn't we replace X with something akin to Z?". This is a valid point even if you have no intricate understanding of X, Y or Z, and if it is impossible to replace X for one reason or the other, it's not hard to reply with "Replacing X is impossible because of reason Q", and then see if someone can solve reason Q etcetera.
    zb3's example is obviously helping; for one, it would allow people to know taht they can't boot with systemd in certain cases, or that installing/runing systemd can break their system. I would consider that rather important information.
    @Everyone; Now then, to see if I can (or rather, if I can get help to) shed some light on some problems I've been having.
    My transition to systemd went pretty smooth (besides the fact that I couldn't use 'systemctl' to set anything, and neither duckduckgo nor any posts in the forums could help me (the error I continously got was "Failed to issue method call: Launch helper exited with unknown return code 1") and that there are no manpages/tips on how to configure the files for "localtime" and "adjtime", which would've been good considering some syntax have changed) to about halfway through, to the point where I was supposed to start using systemd for my daemons.
    Now then, to the main problem; first, I tried running
    "systemctl enable syslog-ng.service"
    and got the following message;
    "ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/syslog.service'
    ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/multi-user.target.wants/syslog-ng.service'"
    Since it doesn't exclusively say that something went wrong (at least as far as I can understand), I pondered the message a bit, but moved on to try and start dbus by issuing
    "systemctl enable dbus.service",
    to which I got the reply
    "The unit files have no [Install] section. They are not meant to be enabled using systemctl."
    This I can only assume is an error message of some sort, especially seeing as it says "not meant to be enabled using systemctl", but the wiki rather explicitly states that that is what I am supposed to do.
    I dare not move on (or attempt to start other daemons) without further advice, as I fear I might break my system. Any ideas as to how to solve this would be greatly appreciated.

    tcmdvm wrote:
    The message;
    "ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/syslog.service'
    ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/multi-user.target.wants/syslog-ng.service'"
    indicates that running "systemctl enable syslog.service" is now enabled.
    If you try running sytemtctl enable <whatever>.service and get
    "The unit files have no [Install] section. They are not meant to be enabled using systemctl." means there is no <whatever>.service file available to enable.
    The dbus.service as far as I know is already enabled when installing systemd and doesn't require any action.
    Ah, right, systemd is chatty (I'm of the old skool; if nothing is/goes wrong, a program should keep quiet).
    Oh ok, then I should dare more on.
    ZekeSulastin wrote:To be a bit more precise, it means the service is there but it's only used as a dependency for something else; the [Install] section of the file is what tells systemctl where to link it and such.  Also, where exactly in the wiki were you told explicitly to 'systemctl enable dbus.service'?  I can easily point you to the sections in both installation guides that tell you how to set things like /etc/localtime et. al (also `man 7 archlinux`), but not the one that said to manually enable dbus.
    Ah, I see; and well, I was told right here, going from the top, to "Enable Daemons formerly listed in rc.conf [...] For a translation of the daemons from /etc/rc.conf to systemd services, see: List of Daemons and Services.", and, using the list, dbus is mentioned there, as you can see. Since I started from the top, I did not know that you didn't need to enable that service. Perhaps it could be added to the descriptions of the relevant services in the Wiki which ones are autostarted?
    ZekeSulastin wrote:Lastly, I don't think trying to continue conversations from a closed thread is a very good idea, let alone doing it in a giant undivided wall of text that makes it quite difficult to pick out much any single topic.
    Meh, I directly refer to the relevant people, they can easily see their own old posts in the previous thread, etcetera... I think te ones who have something to say will be able to find my replies to their previous statements (or so I hope). For now, as everyone can see, I quote stuff (but man might I make some huge posts if I ever post again in the future, if I quote what I reply to).
    fsckd wrote:This is not really a technical support subforum. Moving from Arch Discussion to Newbie Corner.
    Ah ok, thanks (or perhaps a cautious thanks? Moving it to "newbie corner" might, after all, be a subtle insult...).
    tomegun wrote:It is not really possible to follow your message as you don't quote what you are replying to. Moreover, as the thread was closed I think that means we should stop the discussion ;-)
    Hmm, I think it means cop-out for lack or proper arguments/responses... But ok, I'll let it slide, for now (mainly as I can't do much else).
    tomegun wrote:You are not meant to enable dbus.service as it is enabled unconditionally. To check the enabled/disabled state of your services try "systemctl list-unit-files". "static" means that you are not supposed to enabled/disable it.
    Ah ok, thank you. Now, having abandoned all hope, I'll start configuring again and see how it goes... May the void protect me. If I die, grieve not for me, but remember me in the fight against hard-to-configure applications.
    (edit/addon)
    Actually, what am I supposed to do with "hwclock"? the List of Daemons only says that I shouldn't run that in tandem with ntpd, but I'm not running ntpd, so... How do I get hwclock with systemd?
    Edited for additional question.
    Last edited by incassum (2012-11-07 08:44:42)

  • Replacing bash with dash or zsh as default shell

    Now that initscripts are no longer default init system for Arch, it should be possible (if initscripts removed from system) to remove bash and replace it with other shell, right? On my system I have this:
    :: autoconf: requires bash
    :: automake: requires bash
    :: ca-certificates: requires bash
    :: cpupower: requires bash
    :: dcron: requires bash
    :: enca: requires bash
    :: fftw: requires bash
    :: filesystem: requires bash
    :: gpm: requires bash
    :: gsl: requires bash
    :: gzip: requires bash
    :: iptables: requires bash
    :: libksba: requires bash
    :: m4: requires bash
    :: man-db: requires bash
    :: mkinitcpio: requires bash
    :: p7zip-light: requires bash
    :: pacman: requires bash
    :: pkgstats: requires bash
    :: pm-utils: requires bash
    :: shadow: requires bash
    :: smartmontools: requires bash
    :: systemd: requires bash
    :: unzip: requires bash
    (Note: I've removed packets requiring sh.)
    Here's a complete list of packets depending on bash (110):
    abcde
    abs
    acpid
    antiword
    arch-backup
    archboot
    arch-install-scripts
    arch-wiki-lite
    audio-convert
    aurphan
    autoconf
    autojump
    automake
    bashburn
    bash-completion
    bashdb
    bashrun
    bwidget
    ca-certificates
    cl
    cpupower
    cronie
    dcron
    dhclient
    dkms
    drbd
    dvdrtools
    ecl
    enca
    fftw
    filesystem
    foomatic-db-engine
    fssos-nsvs
    geos
    gimp-gap
    gpm
    groovy
    gsl
    gzip
    hdparm (optional)
    ifplugd
    incron
    initscripts
    inputattach
    iptables
    jython
    kim4
    laptop-mode-tools
    libksba
    lksctp-tools
    lrzip
    lvm2
    lvm2 (testing)
    lxc
    m4
    man-db
    mathomatic (optional)
    mfs-chunkserver
    mfs-client
    minicom
    mkinitcpio
    multipath-tools
    nanoblogger
    noip
    ode
    oidentd
    opencv-samples
    openlierox (optional)
    openslp
    ozerocdoff
    p7zip
    pacman
    pacmatic
    pax-utils
    pkgstats
    pkgtools
    pmount
    pm-utils
    polipo
    ponysay
    preload
    quilt
    ratpoison
    rblcheck
    redis
    rkhunter
    rpcbind
    rpmextract
    sane
    sdcc
    shadow
    smartmontools
    source-highlight
    speedtouch
    systemd
    tablelist
    taglib-rcc
    ted
    tor
    translate-toolkit
    txt2man
    unzip
    uptimed
    vde2
    vnstat
    wdm
    wings3d
    wireshark-cli
    xbase
    xdm-archlinux
    Do these packages (except initscripts) really need bash? Debian uses dash as its default shell, I think Arch at least need to offer a possibility for using shells other than bash as default.
    Any thoughts?

    Demon wrote:Why not? I'm just exploring the possibilities.
    zsh is not completely backwards-compatible with bash (not that bash is "backwards" in any real way).  There's always a chance that, without the bash interpreter installed, some utilities written in bash won't work properly.  Also, sh in Arch is distributed in the bash package, so uninstalling it will pull those packages with it.
    Demon wrote:But then packages not needing bash (autoconf, automake, gzip, unzip) should list only sh as dependency, not bash. Right?
    Some of them already do:
    Arch Linux :: GLaDOS » pacman -Rp bash
    error: failed to prepare transaction (could not satisfy dependencies)
    :: autoconf: requires bash
    :: automake: requires bash
    :: bison: requires sh
    :: ca-certificates: requires bash
    :: cairo: requires sh
    :: cpupower: requires bash
    :: cronie: requires bash
    :: db: requires sh
    :: dhcpcd: requires sh
    :: dictd: requires sh
    :: diffutils: requires sh
    :: dmenu: requires sh
    :: e2fsprogs: requires sh
    :: fakeroot: requires sh
    :: filesystem: requires bash
    :: findutils: requires sh
    :: flex: requires sh
    :: freetype2: requires sh
    :: gawk: requires sh
    :: gdbm: requires sh
    :: gettext: requires sh
    :: gmp: requires sh
    :: gpm: requires bash
    :: grep: requires sh
    :: gzip: requires bash
    :: icu: requires sh
    :: iptables: requires bash
    :: keyutils: requires sh
    :: laptop-mode-tools: requires bash
    :: libgpg-error: requires sh
    :: libksba: requires bash
    :: libpng: requires sh
    :: libtool: requires sh
    :: libusb-compat: requires sh
    :: m4: requires bash
    :: make: requires sh
    :: man-db: requires bash
    :: mkinitcpio: requires bash
    :: nss: requires sh
    :: pacman: requires bash
    :: perl: requires sh
    :: sane: requires bash
    :: sed: requires sh
    :: shadow: requires bash
    :: systemd: requires bash
    :: taglib: requires sh
    :: tar: requires sh
    :: unzip: requires bash
    :: which: requires sh
    :: xorg-mkfontdir: requires sh
    :: xz: requires sh

  • [VPN] [GUIDE] Setting up nordvpn with systemd

    Since I haven't seen specific guide to setting up nordvpn for archlinux with systemd, I thought I should write them up what I have done. This might be useful for those unfamiliar with systemd. Simply connecting with provided *.ovpn file do not update the DNS correctly and the command
    sudo systemctl start [email protected] do not work.
    1. Follow nordvpn's connecting with shell instruction at https://nordvpn.com/tutorials/linux/linux-openvpn/ and make sure you can manually connect by typing:
    sudo openvpn vpn_at_nordvpn_tcp.ovpn
    2. Create unit systemd for a server
    sudo nano /etc/systemd/system/nordvpn.service
    [Unit]
    Description=OpenVPN connection to yourovpn.ovpn
    [Service]
    Type=forking
    ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/yourovpn.ovpn --daemon [email protected] --writepid /run/[email protected]
    PIDFile=/run/[email protected]
    [Install]
    WantedBy=multi-user.target
    replace yourovpn with the desired server.
    For whatever reason, the following modified /usr/lib/systemd/system/[email protected] do not work.
    [Unit]
    Description=OpenVPN connection to %i
    [Service]
    Type=forking
    #ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --writepid /run/openvpn@%i.pid
    ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.ovpn --daemon openvpn@%i --writepid /run/openvpn@%i.pid
    PIDFile=/run/openvpn@%i.pid
    [Install]
    WantedBy=multi-user.target
    3. The DNS was not updated. So use the guide from the wiki and add these to your .ovpn file
    # auto update /etc/resolv.conf
    script-security 2
    up /etc/openvpn/update-resolv-conf.sh
    down /etc/openvpn/update-resolv-conf.sh
    the shell script is found at https://raw.githubusercontent.com/maste … lv-conf.sh
    One issue I found is that you do not get that "Initialization Sequence Completed" to indicate a successful vpn connection. I had to either google my public ip address or type:
    ip addr show | grep tun0
    Any feedback or improvisations are appreciated.

    Since I haven't seen specific guide to setting up nordvpn for archlinux with systemd, I thought I should write them up what I have done. This might be useful for those unfamiliar with systemd. Simply connecting with provided *.ovpn file do not update the DNS correctly and the command
    sudo systemctl start [email protected] do not work.
    1. Follow nordvpn's connecting with shell instruction at https://nordvpn.com/tutorials/linux/linux-openvpn/ and make sure you can manually connect by typing:
    sudo openvpn vpn_at_nordvpn_tcp.ovpn
    2. Create unit systemd for a server
    sudo nano /etc/systemd/system/nordvpn.service
    [Unit]
    Description=OpenVPN connection to yourovpn.ovpn
    [Service]
    Type=forking
    ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/yourovpn.ovpn --daemon [email protected] --writepid /run/[email protected]
    PIDFile=/run/[email protected]
    [Install]
    WantedBy=multi-user.target
    replace yourovpn with the desired server.
    For whatever reason, the following modified /usr/lib/systemd/system/[email protected] do not work.
    [Unit]
    Description=OpenVPN connection to %i
    [Service]
    Type=forking
    #ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --writepid /run/openvpn@%i.pid
    ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.ovpn --daemon openvpn@%i --writepid /run/openvpn@%i.pid
    PIDFile=/run/openvpn@%i.pid
    [Install]
    WantedBy=multi-user.target
    3. The DNS was not updated. So use the guide from the wiki and add these to your .ovpn file
    # auto update /etc/resolv.conf
    script-security 2
    up /etc/openvpn/update-resolv-conf.sh
    down /etc/openvpn/update-resolv-conf.sh
    the shell script is found at https://raw.githubusercontent.com/maste … lv-conf.sh
    One issue I found is that you do not get that "Initialization Sequence Completed" to indicate a successful vpn connection. I had to either google my public ip address or type:
    ip addr show | grep tun0
    Any feedback or improvisations are appreciated.

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

  • Need some clarification on Replacement Path with Variable

    Hello Experts,
    Need some clarification on Replacement Path with Variable.
    We have 2 options with replacement path for characteristic variables i.e.
    1) Replace with query
    2) Replace with variable.
    Now, when we use  "Replace with variable" we give the variable name. Then we get a list for "Replace with" as follows:
    1) Key
    2) External Characteristic Value Key
    3)Label
    4)Attribute value.
    I need detailed explanation for the above mentioned 4 options with scenarios.
    Thanks in advance.
    Regards
    Lavanya

    Hi Lavanya,
    Please go through the below link.
    http://help.sap.com/saphelp_nw70/helpdata/EN/a4/1be541f321c717e10000000a155106/frameset.htm
    Hope this gives you complete and detailed explaination.
    Regards,
    Reddy

  • Replacing TAXINJ with TAXINN

    All SAP Gurus,
    We are having the TAXINJ at present.
    But we want to replace it with TAXINN.
    Shifting from TAXINJ to TAXINN will be planned from certain date, say 01.10.2008
    But after assigning TAXINN, we should be able to view all old documents which were in TAXINJ.
    Is it possible to replace TAXINJ with TAXINN?
    Regards,

    Hi,
    You have to complete the PO's has there may be problems occuring from the tax codes.
    At the time of Invoice verification you may get a message that the tax codes are not assigned TAXINN.
    you have to create tax codes for taxinn procedure also.
    You have to assign the procedure to country
    You have to assign the excise default condition types for TAXINN procedure
    You have to create tax codes for TAXINN procedure
    Thanks & Regards,
    Kiran

Maybe you are looking for

  • Tecra M4 - DVD drive doesn't recognize any disk under Vista

    Hi, after the installation of Vista my dvd drive doesn't recognize any disks ! No upgrade from XP! It was a clean Vista installation. I found several links about the registry entries upper and lower filter this entries doesn't exist in my registry un

  • Local Disk as Storage Resource in Oracle VM 3

    Hi We have a couple of servers which we are going to install Oracle VM 3 and two guests per server. We are not going to use any HA features so we will create server pool, each consisting of one VM server. The problem is each server only have one loca

  • Itunes in order, but ipod not

            I have an album in my itunes library with 20 songs in it. I placed them all in the order i like and selected 1 of 20, 2 of 20 and so forth! But when i sync my ipod, all the tracks are all mixed up. Is there a way to have them in the order i h

  • Importing an image crashes in one section of document, not others

    Hello, Very strange problem. I have a 16 page document written in Pages (last version as well as last version OS), stored in iCloud. There is a section break (for the end of section notes), then a page break to start clean for the second section. Whe

  • Need info bout people that use H2O Wireless.

    I need some information. Im using h2O wireless and I would like to know how many people that have blackberry use this provider and how to get their data plan and blackberry services to work. Please contact me. Chika