Dbus issue

I installed KDE as my desktop environment but now when I login i get "Cannot open ConsoleKit session: Unable to open session: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection Refused.
Last edited by brenden1096 (2011-02-27 15:40:20)

Cows wrote:
You can also manually start it by typing:
/etc/rc.d/dbus start
dbus looks like does not work..
sudo /etc/rc.d/dbus start
:: Starting D-BUS system messagebus [BUSY]
Failed to start message bus: Error in file /etc/dbus-1/system.d/xorg-server.conf, line 1, column 0: syntax error [FAIL]
Last edited by lawliet (2011-03-03 19:36:15)

Similar Messages

  • [problem] Dbus issue

    Some time ago after update (about 4 months ago) I encountered an issue during some apps interaction.
    For instance when I want to choose a key file in TrueCrypt and when this window opens sometimes it freezes before showing its content (usually starts from home location)
    In the same time this 2 daemons utilize whole processor power, makes my fan running faster and faster.
    dbus-daemon
    devkit-disks-daemon
    Same thing is happening with other apps that use this kind of dir explorer in the same circumstances.
    I'm getting such warning from truecrypt:
    (truecrypt:3071): GVFS-RemoteVolumeMonitor-WARNING **: invoking List() failed for type GProxyVolumeMonitorGdu: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
    After this only reboot helps.
    External hard drive via USB and SD card is connected(inserted) to my laptop.

    Some time ago after update (about 4 months ago) I encountered an issue during some apps interaction.
    For instance when I want to choose a key file in TrueCrypt and when this window opens sometimes it freezes before showing its content (usually starts from home location)
    In the same time this 2 daemons utilize whole processor power, makes my fan running faster and faster.
    dbus-daemon
    devkit-disks-daemon
    Same thing is happening with other apps that use this kind of dir explorer in the same circumstances.
    I'm getting such warning from truecrypt:
    (truecrypt:3071): GVFS-RemoteVolumeMonitor-WARNING **: invoking List() failed for type GProxyVolumeMonitorGdu: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
    After this only reboot helps.
    External hard drive via USB and SD card is connected(inserted) to my laptop.

  • Chromium 19.0.1084.46 doesn't start (¿dbus issue?)

    Since today chromium is not starting, only error I'm getting is:
    [15628:15639:7664566132:ERROR:object_proxy.cc(428)] Failed to call method: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
    Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
    I've read through the forums and I've seen some similar issues on a previous chromium version, but all of them were solved by an upcoming update.
    Anyone having similar issues?
    Last edited by pablox (2012-05-19 17:24:21)

    Trilby wrote:
    It looks like you aren't running a dbus session.
    How do you start your WM?
    FYI, the title seems misleading.  There is no segfault.
    Weird, because I run xmonad throuogh .xinitrc like this, and until yesterday it was working:
    exec ck-launch-session dbus-launch xmonad
    I'll change the title thank you for noticing out.

  • Dbus issues

    dbus-monitor --session
    Failed to open connection to session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
    Sep 27 11:46:26 wootzilla login: pam_systemd(login:session): Failed to connect to system bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
    No erros on
    systemctl --fail|--all
    I've got systemd with commented (#)rc.conf and transfered daemons as foobar.service to systemd.
    sysvinit removed sysvcompat installed.
    Should I be worried?

    do you have consolekit?

  • Evolution continuously asking for passwords

    So after a recent update (I fail to do it often, becuase something breaks EVERY time i update anything), evolution has decided to freak out and not remember passwords at all. 
    Current version: 2.8.1
    I have two accounts I check, used to be three, but one I hardly use and this thing is driivng me nuts, so I disabled it.  Anyway, when I start Evolution, it asks for both the password to my IMAP account and my gmail account (via POP3).  Every time, the "save password" button is checked.  For the duration of Evolution being open, it no longer prompts me for my IMAP password, but it asks for my gmail POP3 one every 10 minutes when it checks it.  The dialog it pops up steals focus away from whatever I'm doing, and goes on top, extremely annoying.
    This may or may not be related to a dbus issue, during this same upgrade I had a lot of applications stop working properly.  As a solution, I made it so my GDM session does a dbus-launch ~/.xsession instead of just execing ~/.xsession.  This fixed issues with gnome-volume-manager and gnome-settings-daemon.  btw, I don't run gnome, just those apps with openbox.
    Any thoughts?

    Ok, thanks for the pointer.  That got me started on a solution.  I do not run GNOME as a DE, just portions of it with my openbox setup.  I added the following lines to my ~/.xsession:
    export `gnome-keyring-daemon`
    and at the bottom:
    ~/scripts/stop-gnome-keyring.sh
    which contains:
    #!/bin/sh
    if [ -n "$GNOME_KEYRING_PID" ]; then
    echo killing gnome-keyring-daemon $GNOME_KEYRING_PID
    kill $GNOME_KEYRING_PID
    fi
    The export line above sets the environment variables needed for other gnome progs to figure out where to get at the keyring daemon.  Now I only need to enter one password when starting Evolution, and its to the keyring daemon, and it only happens once per session.  Not bad, if anyone knows how to make it so I don't have to enter a password at all, that'd be fantastic, but as for this issue, it is settled.
    thanks.

  • Cdwg error [solved]

    Well, I am still trying to get Xgl / Compiz to work. I decided to use Cdwg for decorations, but I get this error when trying to run
    cdwg --replace
    error:
    cgwd: Connection Error (Unable to determine the address of the message bus (try 'man dbus-launch' and 'man dbus-daemon' for help))
    3083: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 4629.
    This is normally a bug in some application using the D-BUS library.
    3083: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 4593.
    This is normally a bug in some application using the D-BUS library.
    ** ERROR **: Not enough memory to set up DBusConnection for use with GLib
    aborting...
    Aborted
    I have dbus running so thats not an issue, this is what I get when I type dbus-launch
    DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-Hs9L6FRAH3,guid=2b692445bd341bc0aeddbe4fe98b6400';

    I am having a dbus issue as well, but it is related to using Beryl.  My problem is that I was using the dbus from the testing repo which a had a different version number than what Beryl was looking for.  Perhaps this is the same problem with cdwg.  Try using a different version of dbus if you are using the testing repo.

  • Broken kbluetooth4

    Hi all
    Before the update to KDE4.2, kbluetooth4 was working. The tray icon appeared normally and I tested it with my smartphone. Then I disabled the bluetooth module with a switch on my laptop (Dell XPS M1330) and left it disabled. Today I enabled bluetooth so I could connect a bluetooth mouse I bought. The tray icon doesn't appear, but when I run kbluetooth4 from the console, it reports that it's already running. Also, kbluetooth4-devicemanager crashes reporting dbus issues. Nevertheless, I connected the mouse following the excellent wiki about bluetooth mouses. However, the tray icon was very convenient and I hope I can have it back.
    Any help will be appreciated.

    The whole bluetooth stuff stopped working for me some months ago. Kbluetooth4 just keeps crashing on me. All because of conflicts and incompatibilities with the new bluez libs, obex stuff and kdebluetooth4 I guess. I tried to build new versions of every package but in the end it still didn't work. Someone claimed that some dbus and/or kde/solid part has to be compiled with bluetooth support. That is the point where I gave up because I've no clue about that. I'm just waiting and hoping that someone fix it.
    Last edited by Lifty (2009-02-09 15:59:05)

  • WPA with knetworkmanager hates me

    This is my first time setting up Arch after getting sick of Kubuntu.  I'm quite impressed by its speed.  I've managed to set up nearly everything correctly, except for my wi-fi card.  I have no idea how to get WPA to work with my ipw2200.  Unsecured networks work just fine, but when I try to connect to my wpa-psk secured router I get this message:
    NetworkManager: <info> Activation (eth1) started...
    NetworkManager: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) scheduled...
    NetworkManager: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) started...
    NetworkManager: <info> Activation (eth1) Stage 2 of 5 (Device Configure) scheduled...
    NetworkManager: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) complete.
    NetworkManager: <info> Activation (eth1) Stage 2 of 5 (Device Configure) starting...
    NetworkManager: <info> Activation (eth1/wireless): access point 'lol internet' is encrypted, but NO valid key exists. New key needed.
    NetworkManager: <info> Activation (eth1) New wireless user key requested for network 'lol internet'.
    NetworkManager: <info> Activation (eth1) Stage 2 of 5 (Device Configure) complete.
    NetworkManager: <WARN> nm_dbus_get_user_key_for_network_cb(): nm_dbus_get_user_key_for_network_cb(): dbus returned an error.
    (org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkManagerInfo was not provided by any .service files
    NetworkManager: <info> Activation (eth1) failure scheduled...
    NetworkManager: <info> Activation (eth1) failed for access point (lol internet)
    NetworkManager: <info> Activation (eth1) failed.
    NetworkManager: <info> Deactivating device eth1.
    Does anyone have any ideas?  Here are the relevant sections of my /etc/rc.conf:
    HOSTNAME="sagittarius"
    lo="lo 127.0.0.1"
    eth0="dhcp"
    eth1="dhcp"
    INTERFACES=(lo !eth0 !eth1)
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    DAEMONS=(syslog-ng !network netfs crond @alsa @cpufreq dbus hal dhcdbd networkmanager kdm)
    ifconfig:
    eth0 Link encap:Ethernet HWaddr 00:0D:60:FE:7E:B3
    inet addr:192.168.5.53 Bcast:192.168.5.255 Mask:255.255.255.0
    inet6 addr: fe80::20d:60ff:fefe:7eb3/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:15133 errors:0 dropped:0 overruns:0 frame:0
    TX packets:6147 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:5030412 (4.7 Mb) TX bytes:1266019 (1.2 Mb)
    Base address:0x8000 Memory:c0220000-c0240000
    eth1 Link encap:Ethernet HWaddr 00:0E:35:38:00:FD
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:246183 errors:0 dropped:0 overruns:0 frame:0
    TX packets:18906 errors:0 dropped:0 overruns:0 carrier:1
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:704 (704.0 b)
    Interrupt:11 Memory:c0214000-c0214fff
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:40 errors:0 dropped:0 overruns:0 frame:0
    TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:2000 (1.9 Kb) TX bytes:2000 (1.9 Kb)
    and iwconfig:
    lo no wireless extensions.
    eth0 no wireless extensions.
    eth1 unassociated ESSID:""
    Mode:Managed Frequency=2.437 GHz Access Point: Not-Associated
    Bit Rate:0 kb/s Tx-Power=20 dBm Sensitivity=8/0
    Retry limit:7 RTS thr:off Fragment thr:off
    Power Management:off
    Link Quality:0 Signal level:0 Noise level:0
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0
    irda0 no wireless extensions.
    Thanks!

    sykesm wrote:
    have you tried explicitly setting things using iwconfig
    sudo iwconfig eth1 essid ACTUAL_ESSID
    sudo iwconfig eth1 key ACTUAL_KEY
    sudo dhcpcd -n eth1
    ping ACTUAL_ROUTER
    It seems you don't know shit about wireless. iwconfig can only set up static keys (WEP), WPA needs to negotiate keys dynamically.
    About the actual problem: It seems to be a dbus issue:
    NetworkManager: <WARN> nm_dbus_get_user_key_for_network_cb(): nm_dbus_get_user_key_for_network_cb(): dbus returned an error. (org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkManagerInfo was not provided by any .service files
    Is knetworkmanager (or whatever that tool is called) running? Does it ask for the psk? That is what I don't like about networkmanager: you need a GUI tool to make it work.

  • WPA with knetworkmanager hates me (transferred from newbie forum)

    This is my first time setting up Arch after getting sick of Kubuntu.  I'm quite impressed by its speed.  I've managed to set up nearly everything correctly, except for my wi-fi card.  I have no idea how to get WPA to work with my ipw2200.  Unsecured networks work just fine, but when I try to connect to my wpa-psk secured router I get this:
    NetworkManager: <info> Activation (eth1) started...
    NetworkManager: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) scheduled...
    NetworkManager: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) started...
    NetworkManager: <info> Activation (eth1) Stage 2 of 5 (Device Configure) scheduled...
    NetworkManager: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) complete.
    NetworkManager: <info> Activation (eth1) Stage 2 of 5 (Device Configure) starting...
    NetworkManager: <info> Activation (eth1/wireless): access point 'lol internet' is encrypted, but NO valid key exists. New key needed.
    NetworkManager: <info> Activation (eth1) New wireless user key requested for network 'lol internet'.
    NetworkManager: <info> Activation (eth1) Stage 2 of 5 (Device Configure) complete.
    NetworkManager: <WARN> nm_dbus_get_user_key_for_network_cb(): nm_dbus_get_user_key_for_network_cb(): dbus returned an error.
    (org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkManagerInfo was not provided by any .service files
    NetworkManager: <info> Activation (eth1) failure scheduled...
    NetworkManager: <info> Activation (eth1) failed for access point (lol internet)
    NetworkManager: <info> Activation (eth1) failed.
    NetworkManager: <info> Deactivating device eth1.
    [/code/
    Does anyone have any ideas? Here are the relevant sections of my /etc/rc.conf:
    [Code]
    HOSTNAME="sagittarius"
    lo="lo 127.0.0.1"
    eth0="dhcp"
    eth1="dhcp"
    INTERFACES=(lo !eth0 !eth1)
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    DAEMONS=(syslog-ng !network netfs crond @alsa @cpufreq dbus hal dhcdbd networkmanager kdm)
    ifconfig:
    eth0 Link encap:Ethernet HWaddr 00:0D:60:FE:7E:B3
    inet addr:192.168.5.53 Bcast:192.168.5.255 Mask:255.255.255.0
    inet6 addr: fe80::20d:60ff:fefe:7eb3/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:15133 errors:0 dropped:0 overruns:0 frame:0
    TX packets:6147 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:5030412 (4.7 Mb) TX bytes:1266019 (1.2 Mb)
    Base address:0x8000 Memory:c0220000-c0240000
    eth1 Link encap:Ethernet HWaddr 00:0E:35:38:00:FD
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:246183 errors:0 dropped:0 overruns:0 frame:0
    TX packets:18906 errors:0 dropped:0 overruns:0 carrier:1
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:704 (704.0 b)
    Interrupt:11 Memory:c0214000-c0214fff
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:40 errors:0 dropped:0 overruns:0 frame:0
    TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:2000 (1.9 Kb) TX bytes:2000 (1.9 Kb)
    and iwconfig:
    lo no wireless extensions.
    eth0 no wireless extensions.
    eth1 unassociated ESSID:""
    Mode:Managed Frequency=2.437 GHz Access Point: Not-Associated
    Bit Rate:0 kb/s Tx-Power=20 dBm Sensitivity=8/0
    Retry limit:7 RTS thr:off Fragment thr:off
    Power Management:off
    Link Quality:0 Signal level:0 Noise level:0
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0
    irda0 no wireless extensions.
    Thanks!

    sykesm wrote:
    have you tried explicitly setting things using iwconfig
    sudo iwconfig eth1 essid ACTUAL_ESSID
    sudo iwconfig eth1 key ACTUAL_KEY
    sudo dhcpcd -n eth1
    ping ACTUAL_ROUTER
    It seems you don't know shit about wireless. iwconfig can only set up static keys (WEP), WPA needs to negotiate keys dynamically.
    About the actual problem: It seems to be a dbus issue:
    NetworkManager: <WARN> nm_dbus_get_user_key_for_network_cb(): nm_dbus_get_user_key_for_network_cb(): dbus returned an error. (org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkManagerInfo was not provided by any .service files
    Is knetworkmanager (or whatever that tool is called) running? Does it ask for the psk? That is what I don't like about networkmanager: you need a GUI tool to make it work.

  • NetworkManager dbus + wireless issue

    I still seem to intermittently get this issue with networkmanager and it seems to be related to dbus.  I have no idea why it began working for a couple of days and then stopped working after a restart, but if I edit /etc/dbus-1/system.d/NetworkManager I can get it mostly-working (with knetworkmanager-svn).
    I am using: networkmanager-0.6.5-1, dbus 1.0.2-4, wireless_tools-29pre21-1, knetworkmanager-svn-632905-1, and a broadcom BCM4318 wireless card + ndiswrapper.  This issue seems to occur with the gnome applet as well, but it is less verbose.
    Here is the section of NetworkManager we're interested in (I think):
    <policy group="network">
    <allow own="org.freedesktop.NetworkManagerInfo"/>
    <allow send_destination="org.freedesktop.NetworkManager"/>
    <allow send_interface="org.freedesktop.NetworkManager"/>
    Notice how I've added the <allow own=""/> line.  If I do not add this, it gives me an error similar to this: 'Connection ":1.19" is not allowed to own the service "org.freedesktop.NetworkManagerInfo" due to security policies in the configuration file'.  If I restart the important services (dbus, dhcdbd, networkmanager) after changing the file, I no longer get this message, although I do get some possibly disconcerting others like:
    knetworkmanager: Encryption::isValid failed, bad inputs
    knetworkmanager: Error: Could not serialize security information.
    That security information error above occurs on the first attempt to connect (which fails).  If I wait about ten seconds more and try again, the error disappears and I can connect just fine.
    It also seems that others have this problem:
    I am primarily annoyed by this issue because 1) my fix doesn't work and I don't know enough about it or its prevalence to warrant filling out a bug report yet and 2) it seems to come and go and I can't for the life of me tell what's making it act like that.
    Any help is greatly appreciated!
    Nick B

    *bump*.   For  a little while it would have this strange behavior wherein I couldn't connect the first time (it'd flash the 'working' screen), the second time it would connect and then disconnect in a couple of seconds, and the third time stuck.  After uninstalling and reinstalling, the earlier issue is back - possibly a restart would return me to the earlier behavior, but it is still non-ideal.  I'm hoping someone has a fix or can corroborate by voting for/commenting on this bug: http://bugs.archlinux.org/task/7266.  Thanks!

  • [SOLVED] X-Autostart, Auto-log-in and DBus : a non-pulseaudio issue

    Hello,
    besides the not-so-clear title, I've been investigating for what first looked like a pulseaudio problem for a while, and I'm now sharing what I found with you :
    Pre-existing conditions
    An Arch system with systemd, auto-loggin on a TTY and auto-start of X
    Symptoms
    Pulseaudio wouldn't start anymore at boot, but everything worked fine if it was started a while after, provided one would have sudo killall -9 pulseaudio before, and there was no major upgrade that could be related to this change.
    Journalctl showed dbus related messages, saying that pulse wasn't able to find it, and a general failure in main.c start.
    Solution
    Actually, a part of the boot process was the following :
                |-----> lots of things, and at a point dbus
    Init --> |
                |-----> auto-logging service (getty stuff) -----> .xinitrc ------> pulseaudio
    and there was no guarantee that dbus was already started when pulse audio was.
    To add this guarantee, edit your autologging service and add the following
    [Unit]
    ... your stuff ...
    #lines to add :
    Requires=dbus.Service #I'm not sure this one is needed, if anyone here can confirm it
    After=dbus.Service
    ..rest of the file..
    reboot, and enjoy
    Last edited by NougatRillettes (2012-12-30 16:05:02)

    I know this is an older post, but I'm hoping by bumping it someone will be able to help me with this issue even though the thread is marked as [SOLVED], so that I won't have to create a new post.
    I'm trying to set up a host to autologin a user, then automatically startx to enter a desktop environment.  I am using these guides:
    https://wiki.archlinux.org/index.php/au … al_console
    https://wiki.archlinux.org/index.php/Start_X_at_Login
    I haven't yet set up the startx at login, but I've done that before, so I don't expect any issues or problems.
    I successfully set up autologin using the first link and everything seemed fine.  However, on the startx at login wiki, it states:
    Tips
    This method can be combined with automatic login to virtual console. When doing this you have to set correct dependencies for the autologin systemd service to ensure that dbus is started before ~/.xinitrc is read and hence pulseaudio started (see: BBS#155416)
    I don't have pulseaudio issues to worry about, but I do have an exec line to start lxde.  So, I followed that link to this thread and created the lines NougatRillettes suggested.  Here's the complete file:
    /etc/systemd/system/[email protected]/autologin.conf
    [Unit]
    Requires=dbus.Service
    After=dbus.Service
    [Service]
    ExecStart=
    ExecStart=-/usr/bin/agetty --autologin <username> --noclear %I 38400 linux
    Then, when I reboot the kernel spits this out:
    Nov 06 14:39:23 [Host] systemd[1]: Set hostname to <[Host]>.
    Nov 06 14:39:23 [Host] systemd[1]: [/etc/systemd/system/[email protected]/autologin.conf:2] Failed to add dependency on dbus.Service, ignoring: Invalid argument
    Nov 06 14:39:23 [Host] systemd[1]: [/etc/systemd/system/[email protected]/autologin.conf:3] Failed to add dependency on dbus.Service, ignoring: Invalid argument
    Nov 06 14:39:23 [Host] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
    I rechecked the wikis and noticed:
    Tips & Tricks
    Avoiding unnecessary dmesg errors
    To avoid errors related to display-manager.service in dmesg, you should set the default target to multi-user instead of graphical:
    # systemctl enable multi-user.target
    So I went ahead and enabled multi-user.target and rebooted, thinking that would solve the problem, but it didn't...the error messages were the same.
    I'm hoping someone can help...and maybe update those two wikis if there's any information missing.  I'm also wondering if I should reverse the last step I described by disabling multi-user.target.

  • Pulseaudio and systemd --user: DBus scope issues?

    Hi,
    I have a multi-seat setup, so I need user-wide pulseaudio and whatnot. I'm trying to setup my boot through systemd --user.
    Testing audio working apps are firefox, mpv, and mpd. The problem is:
    - If I start pulseaudio and mpd manually everything is fine (no use of systemd)
    - If I start pulseaudio through systemd no application has sound.
    - If I start pulseaudio and mpd through systemd only mpd has sound.
    raimundoyamtech~$ cat .config/systemd/user/pulseaudio.service
    [Unit]
    Description=PulseAudio Sound System
    After=sound.target
    [Service]
    ExecStart=/usr/bin/pulseaudio
    [Install]
    WantedBy=multi-user.target
    raimundoyamtech~$ cat .config/systemd/user/mpd.service
    [Unit]
    Description=Music Player Daemon
    After=network.target sound.target
    [Service]
    ExecStart=/usr/bin/mpd %h/.config/mpd/mpd.conf --no-daemon
    ExecStop=/usr/bin/mpd %h/.config/mpd/mpd.conf --kill
    Restart=always
    [Install]
    WantedBy=multi-user.target
    If I add BusName=org.pulseaudio.Server to the pulseaudio.service nothing changes.
    Using pulseaudio's autospawn=yes leads to what seems to be same behaviour: mpd by systemd starts pulseaudio and is the only app with sound.
    ./config/pulse/client.conf only contains default-sink. Everything else is default.
    Using alsa alone is not an option because of firefox.
    Any thoughts?
    EDIT:
    raimundoyamtech~$ systemctl --version
    systemd 208
    +PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ
    raimundoyamtech~$ pulseaudio --version
    pulseaudio 4.0
    Last edited by Raimundo (2013-10-23 10:08:13)

    ewaller wrote:
    Please do not bump.   I understand the frustration; really, I do.  But, these are very active forums with some very good technical people lurking about.  I guarantee your post had been read.  I read it.  I did not have an answer, as I have never seen that behavior afore.   I am certain that was true for many other regulars.
    In the future, you can bring focus to a thread by providing more information..  Tell us what you have tried, what you have read since the last post, etc.  At least it gives the impression that you are working the problem rather than merely waiting for a response.
    I don't know almost anything about systemd, especially because it changes so rapidly and documention is so scarce and outdated that either I read the whole documentantion for my version in hopes of finding my problem (something for which I do not have time) or post a topic.
    I posted everything I touched regarding systemd since the installation of my system, that's all the relevant information I know I can give, so at this point I had no more info to give.
    Actually posting a topic is really my last resort, it usually means that I have already tried everything I knew and I'm hopeless already.
    raimundoyamtech~$ loginctl list-sessions
    SESSION UID USER SEAT
    2 1002 carla seat0
    1 1000 raimundo seat0
    2 sessions listed.
    raimundoyamtech~$ loginctl show-session 1
    Id=1
    Timestamp=Tue 2013-10-29 12:33:47 WET
    TimestampMonotonic=6670234
    VTNr=1
    TTY=tty1
    Remote=no
    Service=login
    Scope=session-1.scope
    Leader=1456
    Audit=1
    Type=tty
    Class=user
    Active=no <----- Is this what you are talking about?
    State=online
    IdleHint=yes
    IdleSinceHint=1383050072367636
    IdleSinceHintMonotonic=0
    Name=raimundo
    raimundoyamtech~$ loginctl show-session 2
    Id=2
    Timestamp=Tue 2013-10-29 12:33:47 WET
    TimestampMonotonic=6667439
    VTNr=2
    TTY=tty2
    Remote=no
    Service=login
    Scope=session-2.scope
    Leader=1453
    Audit=2
    Type=tty
    Class=user
    Active=no <----- Is this what you are talking about?
    State=online
    IdleHint=yes
    IdleSinceHint=1383050025387636
    IdleSinceHintMonotonic=0
    Name=carla
    raimundoyamtech~$ loginctl show-session 3
    Failed to issue method call: No such file or directory
    What is an active session? Oo Never heard of it
    I could start things. Pulseaudio started, so did mpd. I also have a /usr/lib/systemd/systemd --user process started for each user. I assumed this would be it since this
    raimundoyamtech~$ systemctl --user
    Failed to issue method call: Process /bin/false exited with status 1
    always happens and I've read that systemctl --user is no longer required.
    [EDIT]
    Fixed it. Don't remember where I read that it wasn't required, just that it was in the same place I found someone else complaining about getting this error.
    For anyone else encountering this: sed -i s/system-auth/system-login/g /etc/pam.d/systemd-user
    and systemctl --user will work. Insults fly out to the one who wrote it wasn't required!
    Still am not able to get an active session though
    [/EDIT]
    Why would there be a need for anything else? I'm gonna check on that. Thanks!
    See, the bump worked ^^ but ok I'll try to refrain from doing that next time. Sorry.
    Last edited by Raimundo (2013-10-29 16:27:55)

  • Issues with Hal and Xorg

    Hello!
    I re-install my Arch Linux with install for FTP and it is 100% update!
    The prolems are:
    1- The HAL not work with normal user, I add the use in hal.conf but not functional.
    OBS: My user is "Alexandre"
    <!DOCTYPE busconfig PUBLIC
    "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
    "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
    <busconfig>
    <!-- This configuration file specifies the required security policies
    for the HAL to work. -->
    <!-- Only root, user hal and user alexandre can own the HAL service -->
    <policy user="hal">
    <allow own="org.freedesktop.Hal"/>
    </policy>
    <policy user="root">
    <allow own="org.freedesktop.Hal"/>
    </policy>
    <policy user="alexandre">
    <allow own="org.freedesktop.Hal"/>
    </policy>
    <!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
    <policy context="default">
    <allow send_interface="org.freedesktop.Hal.Manager"/>
    <allow send_interface="org.freedesktop.Hal.Device"/>
    <allow receive_interface="org.freedesktop.Hal.Manager"
    receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device"
    receive_sender="org.freedesktop.Hal"/>
    <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
    <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
    <allow receive_interface="org.freedesktop.Hal.Device.SystemPowerManagement"
    receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.LaptopPanel"
    receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.Volume"
    receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.Volume.Crypto"
    receive_sender="org.freedesktop.Hal"/>
    </policy>
    <!-- Default policy for the exported interfaces; if PolicyKit is not used
    for access control you will need to modify this -->
    <policy context="default">
    <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
    <allow send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/>
    <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
    </policy>
    </busconfig>
    2- The Xorg
    While start second session (startx -- :1) I`m NOT CAT SEE tty1 tty2 tty3... AND THE FIRST SESSION OF XORG (startx -- :0)
    It is bug?
    Other issue is my trackpoint of IBM Thinkpad X60s, the scroll not work.
    I have add
    Option "ZAxisMapping" "4 5 6 7"
    Option "EmulateWheel" "on"
    Option "EmulateWheelButton" "2"
    but not work.
    Thanks.

    Not unranked,
    i'm no got the message "permission denid", it not auto mount.
    While I mount in shell (mount /dev/sdb1 /mnt/pen) it is mount correct.
    while I active the daemon GDM on boot and make login with normal user, the hal work correct, but when I'm not use GDM and make login in shell (init 3) the HAL not work.
    thanks

  • Issues with Arch 2009.02 in VMware Workstation [SOLVED]

    I installed Arch Linux 2009.02 i686 as a guest in VMware Workstation 6.5.1, my host is Vista x64. The installation of Arch itself and Xorg wasn't a problem although from this point I've had several issues.
    I was unable to 'startx' or 'xinit' without getting crashes, however adding hal to the daemons fixed that problem - some wiki entries state to add dbus, but dbus is already started. A lot of content on the wiki is outdated, telling users to use hwd; I did install hwd separately (from sourceforge) although it gave me hundreds? of errors related to PCI and eventually failure to parse some x configuration binary in /usr/bin.
    Multimedia Issues
    I then installed xfce4 and gstreamer-plugins. All video and audio play back too quickly, i.e. it seems to play the streams as fast as they can decode. This also happens with flash content such as youtube after I'd installed the appropriate programs. Thinking this may be a timing issue, I editted the vmware config file on my Windows host although it did not help; the timing in the VM seemed to be correct anyway.
    Display Issues
    When I run 'startxfce4' from a terminal, Xfce will start as 800x600 - if I go to change this resolution all options show 0Hz as the refresh rate and many options my monitor cannot display are shown even though I have VMware set to allow a maximum size of 1680x1050. I was unable to generate a 'good' xorg.conf file using 'X -configure' and as mentioned earlier, hwd would not work for me. I installed xf86-video-vmware and xf86-video-vesa as well as both open-vm-tools and normal vmware-tools (not at the same time or together) but can't seem to sort this issue. vmware-tools was able to generate a valid xorg.conf file but it only included a handful of 4:3 resolutions and some of these still showed 0hz. For some strange reason 'startx' and 'xinit' now do not work having failed to find /dev/fb0.
    VMware Tools
    When I did try to install vmware-tools, it had many difficulties trying to build the modules - mostly regarding to not recognising __FREEBSD__, I cannot remember the complete error. I also tried to build open-vm-tools but that gave an error about not being able to find libproc even though I had procps installed. Stopping open-vm-tools on shutdown also always fails and occurs twice.
    I'm going to try reinstalling now that I know a little more about what I did to get things working but if anyone could give me a hand it'd be much appreciated.
    Last edited by andyxl987 (2009-08-04 00:17:29)

    After a lot of experimentation I've got a satisfactory installation although a few minor problems remain:
    Adjustments required to correctly run Alsa+Xorg in Arch Linux 2009.02 using VMware Workstation
    The current kernel does not play nicely with alsa, downgrade to kernel26-2.6.29.4-1:
    wget http://www.schlunix.org/archlinux/core/ … pkg.tar.gz
    pacman -U kernel26-2.6.29.4-1-i686.pkg.tar.gz
    Install/Upgrade dbus:
    pacman -Sy dbus
    Add hal (if it's not installed then make sure to do so) to your daemons located in /etc/rc.conf, e.g.
    DAEMONS=(syslog-ng network netfs crond hal)
    The current open-vm-tools-modules is not compatible with the older kernel, instead use open-vm-tools-modules-2009.04.23-1:
    wget http://www.schlunix.org/archlinux/commu … pkg.tar.gz
    pacman -U open-vm-tools-modules-2009.04.23-1
    The installation will prompt you with an error that /etc/modprobe.conf could not be found (as does the current version), add the following to /etc/modprobe.d/modprobe.conf:
    install pcnet32 /sbin/modprobe -q --ignore-install vmxnet; /sbin/modprobe -q --ignore-install pcnet 32 ; /bin/true;
    You can now install open-vm-tools:
    pacman -S open-vm-tools
    To autoload open-vm-tools on start up you need to add it to your daemons located in /etc/rc.conf, e.g.
    DAEMONS=(syslog-ng network netfs crond hal open-vm-tools)
    Add vmware-user to your /etc/X11/xinit/xinitrc file if you desire (for seamless mouse and display switching), e.g. my xinitrc with xfce4 ends with:
    vmware-user &
    exec startxfce4
    Install the following components: xf86-video-vmware xf86-video-vesa xf86-input-vmmouse xf86-input-mouse:
    (You will not be able to start x if you have installed xf86-video-fbdev and do not have a valid xorg.conf file, this is addressed later)
    pacman -S xf86-video-vmware xf86-video-vesa xf86-input-vmmouse xf86-input-mouse
    Lastly we need to edit/create the /etc/X11/xorg.conf file to use our vmware drivers, this will enable automatic resolution switching and seamless mouse functionality:
    (All of the following is necessary otherwise X will ignore our vmware drivers)
    Section "ServerFlags"
        Option "AllowEmptyInput" "false"
    EndSection
    Section "InputDevice"
        Identifier  "VMware Mouse"
        Driver      "vmmouse"
        Option "Protocol"         "ps/2"
        Option "Device"           "/dev/input/mice"
        Option "ZAxisMapping"     "4 5"
        Option "Emulate3Buttons"  "true"
    EndSection
    Section "Device"
        Identifier  "VMware SVGA"
        Driver      "vmware"
    EndSection
    Section "ServerLayout"
        Identifier  "VMware Config"
        InputDevice "VMware Mouse" "CorePointer"
    EndSection
    Issues
    * open-vm-tools fails to stop during a shutdown or /etc/rc.d/open-vm-tools stop/restart
    * most screen resolutions show 0Hz (although everything works correctly) and adding VertRefresh to xorg.conf produces a major error
    * playback of flash video produces a sound artefact when starting - although I think this may be to do with the decoder rather than system
    I've marked this as solved although I welcome any suggestions regarding these minor issues. The open-vm-tools one I can probably sort out but it's too late now to look into tonight
    Last edited by andyxl987 (2009-08-04 00:21:03)

  • [SOLVED]Cannot mount partitions with PCMANFM --no longer an issue

    Hi,
    I have searched and searched and pulling my hair out on this issue. I am using PCMANFM .9.10 on an LXDE install using the Arch x86 iso.  My HD contains several linux partitions and a FAT32 partition.
    I am not able to mount these partitions in PCMANFM.  I am able to mount my usb flash drive
    When trying to mount a partition in PCMANFM I get a "not authorized to perform operation" error message.
    Today, June 11 I partially rewrote this due to the lack of response I am getting on this problem.
    1. did a reinstall of Arch & LXDE today.  I've done two or three installs. dbus is in daemons in /etc/rc.conf
    2. initially the partition icons did not show up
    3. then, I installed gvfs and added 55-my-conf.pkla in /etc/polkit-1/localauthority/50-local.d/
    4. With that the partition icons show up in PCMANFM
    5. But I still get the "not authorized to perform operation" message
    The 55-my-conf.pkla has this content:
    [Storage Permissions]
    Identity=unix-group:storage
    Action=org.freedesktop.udisks.filesystem-mount;org.freedesktop.udisks.drive-eject;org.freedesktop.udisks.drive-detach;org.freedesktop.udisks.luks-unlock;org.freedesktop.udisks.inhibit-polling;org.freedesktop.udisks.drive-set-spindown;org.freedesktop.udisks.filesystem-mount-system-internal
    ResultAny=yes
    ResultActive=yes
    ResultInactive=no
    contents of .xinitrc
    #!/bin/sh
    # ~/.xinitrc
    # Executed by startx (run your window manager from here)
    if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
    done
    unset f
    fi
    # exec gnome-session
    # exec startkde
    #exec startxfce4
    exec startlxde
    # ...or the Window Manager of your choice
    At /usr/share/polkit-1/actions/org.freedesktop.udisks.policy
    I changed <action id="org.freedesktop.udisks.filesystem-mount-system-internal">
    mount a system-internal disk at <allow_active> from "auth_admin_keep" to "yes".
    Still didn't work!
    Either this is a bug or I have a permission problem somewhere.
    Can you please advise how to do this or point me to a recent tutorial to be able to  auto mount other partitions not using /etc/fstab?  Some of the older posts refer to hal or other package that have been deprecated. 
    Thanks
    Edit: latest. It seems that I must mount the desired partition from the terminal. example: $sudo mount /dev/sda5 /mnt
    then can edit it from PCMANFM by going to / and then /mnt. Apparently I do not have to manually unmount.
    Last edited by linuxloverjerry1 (2012-06-13 04:25:37)

    Hi,
    I have searched and searched and pulling my hair out on this issue. I am using PCMANFM .9.10 on an LXDE install using the Arch x86 iso.  My HD contains several linux partitions and a FAT32 partition.
    I am not able to mount these partitions in PCMANFM.  I am able to mount my usb flash drive
    When trying to mount a partition in PCMANFM I get a "not authorized to perform operation" error message.
    Today, June 11 I partially rewrote this due to the lack of response I am getting on this problem.
    1. did a reinstall of Arch & LXDE today.  I've done two or three installs. dbus is in daemons in /etc/rc.conf
    2. initially the partition icons did not show up
    3. then, I installed gvfs and added 55-my-conf.pkla in /etc/polkit-1/localauthority/50-local.d/
    4. With that the partition icons show up in PCMANFM
    5. But I still get the "not authorized to perform operation" message
    The 55-my-conf.pkla has this content:
    [Storage Permissions]
    Identity=unix-group:storage
    Action=org.freedesktop.udisks.filesystem-mount;org.freedesktop.udisks.drive-eject;org.freedesktop.udisks.drive-detach;org.freedesktop.udisks.luks-unlock;org.freedesktop.udisks.inhibit-polling;org.freedesktop.udisks.drive-set-spindown;org.freedesktop.udisks.filesystem-mount-system-internal
    ResultAny=yes
    ResultActive=yes
    ResultInactive=no
    contents of .xinitrc
    #!/bin/sh
    # ~/.xinitrc
    # Executed by startx (run your window manager from here)
    if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
    done
    unset f
    fi
    # exec gnome-session
    # exec startkde
    #exec startxfce4
    exec startlxde
    # ...or the Window Manager of your choice
    At /usr/share/polkit-1/actions/org.freedesktop.udisks.policy
    I changed <action id="org.freedesktop.udisks.filesystem-mount-system-internal">
    mount a system-internal disk at <allow_active> from "auth_admin_keep" to "yes".
    Still didn't work!
    Either this is a bug or I have a permission problem somewhere.
    Can you please advise how to do this or point me to a recent tutorial to be able to  auto mount other partitions not using /etc/fstab?  Some of the older posts refer to hal or other package that have been deprecated. 
    Thanks
    Edit: latest. It seems that I must mount the desired partition from the terminal. example: $sudo mount /dev/sda5 /mnt
    then can edit it from PCMANFM by going to / and then /mnt. Apparently I do not have to manually unmount.
    Last edited by linuxloverjerry1 (2012-06-13 04:25:37)

Maybe you are looking for

  • "=" at the end of composed message

    hey there, a friend of mine told me, that my emails composed in Mail contain a "=" at the end of the text (e.g. "Best wishes="), leading (at least in some cases) to a spam suspicion of my messages. I can only see this character if I choose to view in

  • Problem in iTunes with Sync on a new Mac

    Hey guys, need help, I just got a new Mac and wanna sync it with the iphone, So I authorised the computer and then tried to transfer purchased apps, but there always pops up some window with som problem and there is written that I have to authorise P

  • How does one clear duplicate posts of the same item that show at an RSS link?

    I subscribed to an RSS link and get duplicate, two identical in content posts for each entry. Is it possible to clear, delete all items or history of the entries/posts that show up at the RSS folder? Thanks.

  • SQL Server 2008 Installation Error

    I found this error when i am try to Install SQL Server 2008 on Windows 8 TITLE: Microsoft SQL Server 2008 Setup The following error has occurred: Error getting file attributes for 1392. Please make sure that the drive is formatted and accessible. For

  • Changing stereo to mono pair in ITEM PROPERTIES

    I know that you can unlink stereo pairs in the timeline, but I would like to unlink the stereo pair of the master clip in the browser so that I can change the levels for the entire clip for each channel separately before I begin editing (one is a boo