[Openbox] How launch gnome daemon ?

Hi men,
I'm testing OpenBox.
But I want launch gnome daemon for my GTK windows.
I have an error...
[root@NicoElro nicolas]# /opt/gnome/libexec/gnome-settings-daemon
(gnome-settings-daemon:3725): GSwitchIt-WARNING **: Unable to connect to dbus: Unable to determine the address of the message bus (try 'man dbus-launch' and 'man dbus-daemon' for help)
** (gnome-settings-daemon:3725): CRITICAL **: dbus_g_connection_register_g_object: assertion `connection != NULL' failed
** (gnome-settings-daemon:3725): CRITICAL **: dbus_g_proxy_new_for_name: assertion `connection != NULL' failed
** (gnome-settings-daemon:3725): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed
Whereas I launched dbus...
Why this error ?
I list my packages....
[root@NicoElro nicolas]# pacman -Q | grep dbus
dbus 0.93-1
dbus-glib 0.71-1
dbus-qt3 0.62-1
Thanks !
Nicolas

how do you launch openbox? if you use startx, then try running "dbus-launch startx" instead. If you use gdm or whatever, edit the appropriate file to say "dbus-launch openbox" instead of just "openbox".

Similar Messages

  • How does gnome work without acpid?

    Hi,
    I have set up gnome3 with laptop-mode-tools, but without acpid on my laptop. The power-management stuff works, but seems incomplete. For example, gnome is able to detect when I remove the AC plug, or close the lid, or press the sleep button. But it does not seem to detect when power is critically low, and does not sleep/hibernate, like it's configured to do. There's also a problem I think to do this when laptop is already sleeping. I left it once over night in sleep mode, with little battery power remaining, to test it. The expectation was to resume from sleep when battery was critically low and go hibernate. Instead it just crashed.
    The wiki's suggest that acpid daemon is required to deliver acpi events, but then I wonder: how does gnome (and possibly also laptop-mode-tools) detect these events without acpid?
    Razvan

    Acpid just listens on acpi events but not creates them.
    You can always listen to acpi events using the command 'acpi_listen'
    Regards

  • Gnome 3.12 cannot launch gnome-terminal with sudo

    I am suffering from a problem that seems similar to the thread https://bbs.archlinux.org/viewtopic.php?id=180103 and https://bbs.archlinux.org/viewtopic.php?pid=1402702 but since they are marked solved I am opening my own.
    My real problem is I use this encrypted USB stick called an ironkey. Without going into too much detail, in order to unlock the encrypted partition on it I need to run an executable on it, typically like this:
    sudo /run/media/ccooper/IronKey/linux/ironkey
    I am getting the error
    Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 1
    The ironkey launcher for some reason spawns a new terminal to ask for my passphrase, which is the problem.
    I have narrowed it down to just being unable to launch gnome-terminal with sudo or as root.
    So in summary, i can launch a gnome-terminal as my normal user, but not with sudo. I also cannot sudo -i and launch a gnome-terminal either.
    I have run the localectl and localegen commands, as described as the "fix" but they do not help me.
    # localectl
    System Locale: LANG=en_US.UTF-8
    VC Keymap: n/a
    X11 Layout: n/a

    Thanks for the reply OOO, I'm just about to open bug for gnome (did a break for lunch )
    Are you still suffering from the issue?
    can you please provide some details, for example your gnome version and if you have gnome-screensaver and or xscreensaver installed and or activated?
    are you using GDM or lightDM?
    I noticed from: https://wiki.archlinux.org/index.php/GNOME that the display manager has role in the locking/screesaver mechanism:
    Note: Native support for screenlocking in GNOME is provided by GDM. If you choose to not use GDM you will need to use a different screen locking program such as XScreenSaver.
    about your say for Antergos,
    I would like to direct you to: distrowatch
    Antergos using standart arch and AUR packages (managed by packman), I would say that Antergos is arch, just with graphical installer..
    If you think that it's not arch, we can continue and argue about this fact, but I would like to concentrate on trying to understand and resolve the "blank screen" issue (that I believe is actually a gnome issue )
    opened: https://bugzilla.gnome.org/show_bug.cgi?id=737256
    please add your info there as well.
    Thanks,
    Elia.

  • Cannot launch Gnome on Wayland

    When selecting Gnome on Wayland, all I am getting is a screen flicker and a return back to GDM. What do I need to do in order to launch Gnome on Wayland?
    I am using a fully updated Arch installation (Xorg 1.16.0, linux 3.15.8, nouveau-dri 10.2.4.)
    Any ideas?

    brittyazel wrote:Did you read the wiki page? You have to build a special mutter-wayland package and reboot
    I did and I'm pretty sure I read on the wiki, or on this forum, that this hack would no longer be necessary with xorg 1.16. Apparently it still is, too bad.
    ooo wrote:If you try launching it via command line with 'gnome-session --session=gnome-wayland' you will probably see more detailed errors than with gdm, or check if gdm happened to output the errors to journal.
    Will try that, thanks.

  • How to change daemon (service) start order by systemd?

    how to change daemon (service) start order by systemd? I want getty start after all other service have been started.

    hoanglan87 wrote:If you do that, you'll not see services messages when booting.
    That's the whole point. Once your system's working fine, you don't need to slow your boot down with those messages. You can always get them back by hitting the "e" key (with Grub) and editing the kernel boot line. Unless you've set your time-out to 0, which is probably not a good idea for most of us. Those service messages don't seem to be logged anywhere (although, there's lots of other logging you can enable). Anyway, we're thread-drifting here, sorry.

  • How to write daemons (more explicit)

    I have to make a java program to backup and restore encrypted files over a network.
    The daemon should :
    1 . The daemon has to be able to send messages to all other comps in the network that a user on some machine wants to backup or restore a file.
    2. It also needs to be able to find all the files backed up of others as well as my own files on my PC.
    3. I will maintain files placed on each PC using hash tables for efficient searching.When this is done the daemon will figure out from a heap of free disk space how many comps are to be involved.I then use a TCPserver or TCPclient class to open connections to them and send or receive encrypted files.
    4. Daemon will send messages across the network if any system change(disk space +/-) occurs.The problem is the DAEMON- I have never written a daemon before;I dunno even the libraries u have to import.Could anyone help me out ?Can anyone give me some documentation and links on the same?
    Yeah,one more thing how will that daemon calculate free disk space on my computer -any methods would be appeciated -This willl determine what computers to select for back up.
    Please help me out
    Thanks in advance.

    public class Hello {
        public static void main(String[] args) {
            System.out.println("Hello world");
    java Hello & The above program will run as a deamon. You don't need to fork to run as a daemon. If you want Java's equivalent of fork/exec, the closest thing (though not an exact match) is Runtime.exec. Read the API docs for details on how to use it.
    Why are you so reluctant to ask your instructor for clarification?

  • How to disable daemon in overrides.plist in single user mode?

    I can't boot my mac mini server so I tried booting verbose to see where the problem is. The error message that I get is:
    (com.apple.mDNSResponder[31]):posix_spawn("b/usr/sbin/mDNSResponderb",...): No such file or directory.
    I know that the characters b at the beginning and end don't belong there but it's difficult to see where they come from. I know there is an overrides.plist file in /private/var/db/launch.db where I can try to disable mDNSResponder which probably let me boot normally but I can't seem to get write access to the file.
    I tried /sbin/mount -uw / to mount the root read/write access. Also /sbin/fsck -fy to check the harddrive. fsck -fy makes note that he can't find any problems. Even if I try to make a file in the root directory after doing /sbin/mount -uw / I don't get write permissions with vi.
    How can I temporary disable mDNSResponder or better yet fix the problem of directing to the right path?

    After a reboot I used /sbin/mount -uw / to get write permissions. I went to the location of the mDNSResponder.plist to convert the binary plist into an xml one. With vi I noticed that there were some control characters included in mDNSResponder.plist which I only could see when converting the file into xml format. I removed the unnecessary control characters in the file. Saved the file and did a reboot.

  • How to remove daemons left by an uninstalled app?

    Hi folks, Can anyone advise how to remove this process that runs every 10 seconds on my Mac?
    05/12/2010 22:00:53 com.apple.launchd.peruser.501[190] (de.novamedia.NML2NDeviceObserver) Throttling respawn: Will start in 10 seconds
    05/12/2010 22:01:03 com.apple.launchd.peruser.501[190] (de.novamedia.NML2NDeviceObserver[647]) posix_spawn("/Applications/launch2net/launch2net.app/Contents/MacOS/NML2NDevice Observer.app/Contents/MacOS/NML2NDeviceObserver", ...): No such file or directory
    05/12/2010 22:01:03 com.apple.launchd.peruser.501[190] (de.novamedia.NML2NDeviceObserver[647]) Exited with exit code: 1
    Thanks,
    Keith..

    Since it's being (re)launched by launchd there should be a launchd configuration file that tells launchd what to load.
    Once you identify that you could either unload the file to stop launchctl running it, or just remove the file and reboot.
    The file is likely called de.novamedia.NML2NDeviceObserver.plist in either /Library/LaunchDaemons/ or /System/Library/LaunchDaemons/

  • How to use daemon

    Hi all,
    I have to automatically schedule DTP right after loading to PSA.Can anybody suggest me how to use this daemon ?
    Regards
       KK

    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/f6/787e403566c65de10000000a155106/content.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/f6/787e403566c65de10000000a155106/content.htm</a>
    In the monitor for real-time data acquisition, the system displays the InfoPackage in the Unassigned Nodes area, under the DataSource for which the InfoPackage was created. You can assign the InfoPackage to a daemon by choosing <b>Assign Daemon</b> in the <b>context menu</b> for the <b>DataSource</b>. The daemon can now use the InfoPackage for data extraction.
    Hope it Helps
    Chetan
    @CP..

  • [SOLVED] How does "gnome sound center" assign streams to new sink?

    I recently bought a usb amp/dac, and I would like to easily switch between using my default speakers (onboard audio) and the usb amp/dac.
    I'm using PulseAudio and found out that I can switch between sinks and move audio streams with the utility "pactl". However, I cannot move audio streams that are not playing (e.g. a paused YouTube clip), which results in that some applications use my onboard audio and some the usb amp/dac. Very annoying.
    The odd thing is that when I tried changing the active soundcard in gnome control center, every application uses the new settings - regardless if the audio stream was active or not! What does the sound settings of gnome control center do to achieve this?
    This is what I'm currently doing:
    #!/bin/bash
    [...parsing and stuff...]
    pactl set-default-sink "$selected_sink_value"
    [...some controls and volume adjustments...]
    pactl list short sink-inputs | while read stream; do
    stream_id=$(echo $stream | cut '-d ' -f1)
    echo "Moving stream id $stream_id"
    pactl move-sink-input "$stream_id" "$selected_sink_value"
    done
    Last edited by Grima (2013-11-17 19:12:07)

    Finally found a solution to this problem a few days ago (by accident too!).
    The reason why the sound settings of gnome-control-panel works is that it modifies PulseAudio's "stream-restore database". I don't know how one would do that by hand, but it sounds complex. Instead, I edited /etc/pulse/default.pa and added "restore_device=false" to the line loading "module-stream-restore". Now every single audio stream plays via the default sink, even if I use pactl.
    Thought I might as well post a solution since there seems to be many people asking the same thing. Maybe this'll help someone?

  • How launch wifi on a new Satellite L350 computer?

    Hello.
    I've just bought a new Toshiba L350 this morning, but I don't know how to launch the wifi system?
    Thanks for your answers.

    Hi
    Usually you have to switch the WLan switch to ON and have to use the key combination FN+F8.
    This should enable the WLan.
    But just one question: why you dont read the user manual? My notebook has had preinstalled user manual if PDF file format
    Was easy to find all details and inof

  • Openbox not launching shell scripts

    So I have some shell scripts, more specifically scripts that launch some games [AtomZombieSmasher, VVVVVV, the humble indie bundles basically]. They just don't launch. They work via terminal launch, but they don't work when I add to them to the Openbox menu. I've even tried adding "xterm -e /path/to/game/AtomZombieSmasher" and an xterm window just flashes on screen. VVVVVV just flashes on screen regardless of the changes I make.
    I'm not sure what the cause of this is, and googling hasn't helped much either. So, any ideas?

    It doesn't do anything, I don't even see my CPU usage rise when I click on the menu item. It just launches right away when I launch the "AtomZombieSmasher" file via terminal with './AtomZombieSmasher'
    Here's the script for Atom Zombie Smasher:
    #!/bin/bash
    # enter the game directory.
    cd ./data
    # execute the game.
    ./atomzombiesmasher "$@"
    AtomZombieSmasher directory:
    -rwxr-xr-x 1 squid users 99 Aug 23 23:45 AtomZombieSmasher
    drwxr-xr-x 3 squid users 4096 Aug 23 23:45 data
    -rw-r--r-- 1 squid users 0 Aug 24 16:54 directory
    -rwxr-xr-x 1 squid users 29169 Aug 23 23:45 readme.htm
    Other games like VVVVVV and World of Goo do the same. World of Goo even changes my resolution and then quits. VVVVVV just flashes in a window on screen and promptly quits.
    VVVVVV:
    #!/bin/sh
    # Change to game directory
    CANONPATH=`readlink -f "$0"`
    cd "`dirname "$CANONPATH"`"
    # Check resource folders exist
    if [ ! -e data ]
    then
    echo "You are missing games resources `pwd`"
    echo "Your installation is incomplete!"
    echo 1
    fi
    MACHINE=`uname -m`
    if [ "$MACHINE" = x86_64 ]
    then
    LIBS=./LIB64
    BIN=./VVVVVV_64
    else
    LIBS=./LIB32
    BIN=./VVVVVV_32
    fi
    # Run the game:
    export LD_LIBRARY_PATH=$LIBS:"$LD_LIBRARY_PATH"
    $BIN $@
    VVVVVV Directory:
    drwxr-xr-x 6 squid users 4096 Aug 23 23:45 data
    -rw-r--r-- 1 squid users 0 Aug 24 16:52 directory
    drwxr-xr-x 2 squid users 4096 Aug 23 23:45 LIB32
    drwxr-xr-x 2 squid users 4096 Aug 23 23:45 LIB64
    -rwxr-xr-x 1 squid users 445 Aug 23 23:45 VVVVVV
    -rwxr-xr-x 1 squid users 4499732 Aug 23 23:45 VVVVVV_32
    -rwxr-xr-x 1 squid users 4370080 Aug 23 23:45 VVVVVV_64
    NOTE: I've been editing the menu with Obmenu, I find it easier to use that than to go in and manually edit the menu.xml
    I can also ls -lR the directories if you'd like
    Last edited by Squiddles (2011-08-24 20:56:08)

  • How is GNOME in Arch?

    I now definitely prefer GNOME, so I've been sticking with GNOME distros (Foresight wouldn't install, so Ubuntu) but I really enjoy using Arch. Most of my problems in the past were just KDE-related frustrations and had little to do with GNOME itself.
    Now I've always been under the impression that Arch favors KDE to GNOME, but am I wrong about this? Is GNOME well-supported, well-maintained, and in general a smooth experience in Arch?

    ArchPad wrote:I now definitely prefer GNOME, so I've been sticking with GNOME distros (Foresight wouldn't install, so Ubuntu) but I really enjoy using Arch. Most of my problems in the past were just KDE-related frustrations and had little to do with GNOME itself.
    Did you not think to try another window manager?
    ArchPad wrote:Now I've always been under the impression that Arch favors KDE to GNOME, but am I wrong about this? Is GNOME well-supported, well-maintained, and in general a smooth experience in Arch?
    Gnome in arch is "vanilla", its un patched with themes and artwork, whereas in ubuntu/foresight gnome is modified/themed by the maintainers, in arch you get "pure" gnome.
    ArchPad wrote:What about gstreamer support? Adding non-free codecs is a cinch with xine, but not so with gstreamer. Do the gstreamer packages follow the same naming conventions as in Ubuntu? Is it possibly easier to get the required codecs up and running?
    Easily all installed via..
    pacman -Sy gstreamer0.10-plugins
    That will install them all, then just need totem-xine.
    As far as arch users desktop choices go, allot of people in the Arch community like Openbox / dwm / E17

  • [SOLVED] How does GNOME's emacs keybinding sceme work?

    In GNOME, I have the option of setting the keybinding scheme for the whole system into "Emacs mode." I find this to be very very convenient! I'm typing this text without a desktop environment, and I keep instinctively trying to navigate with C-f, M-f, C-b, M-f, C-a, C-e, etc, only to have my hopes dashed! The ability to do this with GNOME is pretty much the only thing I like about the DE.
    Basically, I want to know if there's a way I can enable alternate keybinding schemes on my system when I'm using awesome, openbox, or anything else I ever feel like trying out. I know it's possible, since GNOME does it, but is there a way any of you know of to accomplish this which is independent of the environment you're using?
    It would make my day if you did!
    Last edited by Kebertx (2013-06-06 23:45:47)

    Thanks, Thaodan. Sorry, forgot to come back and mark this as solved, but that does the trick!
    xgdgsc: Reading the Emacs keybinding theme, it seems that your problem should be easy enough to solve. Just add:
    bind "<alt>w" { "copy-clipboard" () }
    to the gtkrc file. I don't know about C-x h, since GTK applications won't interpret C-x as sending a command, but you can just find some other keybinding that makes since for select all, and add it in the same way.
    EDIT: I found this: https://developer.gnome.org/gtk3/3.4/Gt … select-all
    Which says the default keybinding to send a select-all signal is either Ctrl-a or Ctrl-/. The Emacs keys overwrite Ctrl-a, but Ctrl-/ still works just fine. And you can also edit the Emacs gtkrc and put
    bind "<alt>h" { "select-all" () }
    in the "gtk-emacs-text-view" section.
    Last edited by Kebertx (2013-06-07 01:23:54)

  • Normal user unable to launch folding at home daemon

    Hello everyone,
    I recently tried to install folding at home on my arch linux system. I followed the wiki guide and everything went smoothly except from one thing. I edited the /etc/conf.d/foldingathome file to be able to launch the daemon as a normal user and not as root. However when I start folding at home I get this
    andrew ~ $ /etc/rc.d/foldingathome start
    :: Starting Folding@Home [BUSY] standard in must be a tty
    /bin/touch: cannot touch `/var/run/daemons/foldingathome': Permission denied
    [DONE]
    As root I'm able to run it with no problems. Any ideas on how to solve this?
    Thanks in advance.

    you should change permissions to /var/run/daemons/foldingathome.
    like this:
    sudo chown -R yourusername:yourusergroup /var/run/daemons/foldingathome
    or change this dir in config files somewhere at home dir.

Maybe you are looking for

  • Scenario proxy to soap synchronous with external definitions

    Hi all, I have a problem with my scenario. In development environment all is working fine, but when I have transported to preproduction environment and we have executed my scenario I have the following error: <SAP:AdditionalText>com.sap.engine.interf

  • Two problems with custom kernel

    I get two problems with my custom kernel that is not using initrd and otherwise working fine: 1) initscripts does not print anything, i.e., I see the kernel messages and after a short while the login prompt. It seems to start the daemons, however, si

  • Screen Saver Built in Pictures are Low Res

    I just purchased this 30" Cinema Display. Really like it a lot. I wanted to use the Beach or Forest screen saver. All the pictures are low res. Is there a way to get HD picts to replace those for a great looking screen saver. The originals are very g

  • Want an alv program that contains events

    **Hello experts** **I am new to abap  practicing alv i can write simle alv proram using  reuse_alv_grid_display ,but i have doubt in events** **i.e how to use it .If possible please send some program using slis_t_event and slis_alv_event.**          

  • Long time waiting , delivery message by jdbc receiver adapter

    this is a test case. There are two large messages for two outbound interfaces, both about 50 000 lines txt files. Both receiver is database. There is a queue about 10 minute to wait. Is it OK? How can I supposed to do? Does it makes any difference if