SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-10-06 20:03:33

4foxii
New Member
Registered: 2012-10-06
Posts: 6

Openbox failed to execute child process

2.6.32 Linux kernel and X.org 7.5 CrunchBang Linux 10

Curiosity got the better of me while using the terminator terminal and I clicked on the un/Decorate button to see what it did as it looked easily reversible. It removed the borders and generated a new replacement border with little coloured squares in the top left corner and options like 'New group' and 'Broadcast group'. My curiosity satisfied I clicked un/Decorate again to return to the default apperance...and nothing happened. Closing all terminals, restarting x, rebooting, none of which helped in getting this un/Decorate button to function. So I 'apt-get purge terminator' and then install it again via synaptic and success! The borders are back! The replacement border with the little square is still there so I now have two borders hmm. And purging terminator caused some problems with the paths to some commands.

If I right click the desktop and select exit I get the error 'Failed to execute child process "cb-exit' (No such file or directory)'. I have similar problems if I try to lock the screen via the same method 'Failed to execute child process "cb-lock" (No such file or directory)'.

I looked in the openbox settings to edit the menu.xml and the entries for lock screen and exit look like this:

item label="Lock Screen">
            <action name="Execute">
                <execute>
                    cb-lock
                </execute>
            </action>
        </item>
        <item label="Exit">
            <action name="Execute">
                <execute>
                    cb-exit
                </execute>
            </action>
        </item>
    </menu>
</openbox_menu>

I tried to remove the extra border that was created when I un/Decorated terminator by digging around in the preferences menu but could not find a setting to remove it. I also had a look in .config/terminator/config to try and find some kind of hidden boolean option to turn it off but, no such luck.

So my question is:- how can I repair the cb-exit/lock commands, and is it possible to remove this extra terminator border?

Also, I am new here so, hello! smile

Last edited by 4foxii (2012-10-06 20:15:56)

Offline

Be excellent to each other!

#2 2012-10-06 21:43:58

porkpiehat
#! Die Hard
Registered: 2012-10-02
Posts: 701

Re: Openbox failed to execute child process

I can't help you with your Terminator problem (I don't use it) but I think I can tell you why cb-exit is broken. Did you happen to look at the list of packages apt was going to remove when you removed Terminator? It's a good idea to look at this list -- you probably would have seen that the crunchbang-bin-scripts package was going to be removed. This is the package that contains cb-exit and cb-lock, and removing Terminator also removes this package (don't ask me why). Try this in a terminal:

sudo apt-get install crunchbang-bin-scripts

(edit) it is an especially good idea to look at the list of packages to be removed when you use "purge" instead of "remove" -- you can easily break all kinds of things with an unexamined purge.

Last edited by porkpiehat (2012-10-06 21:50:45)


Sarcasm is often an appropriate response to stupidity.

Offline

#3 2012-10-06 22:51:50

4foxii
New Member
Registered: 2012-10-06
Posts: 6

Re: Openbox failed to execute child process

Ah..I did not look at the packages that were being removed as I'm usually unsure of which packages do what. I entered 'sudo apt-get install crunchbang-bin-scripts' but it seems as though I do not have access to that package as it returns the error 'Unable to locate package crunchbang-bin-scripts'. Do I need to add an extra repository to gain access to it?

I have the default stable repository list for crunchbang 10.

Offline

#4 2012-10-06 23:00:15

porkpiehat
#! Die Hard
Registered: 2012-10-02
Posts: 701

Re: Openbox failed to execute child process

Sorry, I thought you were using Waldorf (I should have seen that this was in the "stable" forum, and where you mentioned in your first post you were using version 10, my mistake).

Try this:

sudo apt-get install cb-bin-scripts

I think the package name was changed between versions 10 and 11.

Last edited by porkpiehat (2012-10-06 23:02:29)


Sarcasm is often an appropriate response to stupidity.

Offline

#5 2012-10-07 00:29:18

4foxii
New Member
Registered: 2012-10-06
Posts: 6

Re: Openbox failed to execute child process

That command is also not recognized. 'E: Unable to locate package cb-bin-scripts'. I reinstalled terminator which then prompted me to install the required packages, so even though I purged it shouldn't all the neccessary packages have been reinstalled too?

Offline

#6 2012-10-07 01:08:41

porkpiehat
#! Die Hard
Registered: 2012-10-02
Posts: 701

Re: Openbox failed to execute child process

4foxii wrote:

That command is also not recognized. 'E: Unable to locate package cb-bin-scripts'. I reinstalled terminator which then prompted me to install the required packages, so even though I purged it shouldn't all the neccessary packages have been reinstalled too?

No. Unfortunately Debian doesn't work like that. You can purge things that then do not get reinstalled when you reinstall just one of the purged packages (another reason why it's not always a good idea to use purge).

I don't have #! installed, so I can't search for the package directly, but this list seems to indicate that crunchbang-bin-scripts is the name of the package in version 10. What does this command give you:

apt-cache policy crunchbang-bin-scripts

If that doesn't work you will have to wait for someone with more direct knowledge of crunchbang and its repos. Sorry. If you need to shutdown or reboot you can always use one of these commands in a terminal:

sudo shutdown -h now
sudo shutdown -r now

-h means "halt" (shutdown) and -r means "reboot" -- this is how I always shutdown or reboot my system. The commands always work and don't rely on Hal or dbus.

Last edited by porkpiehat (2012-10-07 01:12:56)


Sarcasm is often an appropriate response to stupidity.

Offline

#7 2012-10-07 08:44:08

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: Openbox failed to execute child process

Here is how to 'undo' the undecorate action:
Use Alt+Space to bring up the window menu, then press 'd'
hth

Offline

#8 2012-10-07 22:21:41

4foxii
New Member
Registered: 2012-10-06
Posts: 6

Re: Openbox failed to execute child process

porkpiehat wrote:

-h means "halt" (shutdown) and -r means "reboot" -- this is how I always shutdown or reboot my system. The commands always work and don't rely on Hal or dbus.

I shall join you in using these methods. It does not bother me too much losing some GUI functionality, I was mainly curious as to how I broke it. I looked at the list you linked and I can see the commands you mentioned but I cannot access them through terminal. I only have access to 'crunchbang-extra-themes  crunchbang-wallpapers'.

Using Alt+Space and 'd' uses the un/Decorate command which removes the outer window border but not the inner one. I am puzzled as to how to remove the inner window border. Hopefully this picture will make it a little clearer which one I am talking about. http://imageshack.us/photo/my-images/81 … 03702.jpg/

Offline

#9 2012-10-07 22:58:09

GAKO
New Member
Registered: 2012-10-06
Posts: 1

Re: Openbox failed to execute child process

Couldn't you just

apt-get install cb-exit cb-lock

?

alternatively cb-metapackage might be what you're after. not sure though


Uhh.. KEROTAN!

Offline

#10 2012-10-08 06:38:40

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: Openbox failed to execute child process

Edit ~/.config/terminator/config, set     

show_titlebar = False

Offline

#11 2012-10-08 11:44:28

4foxii
New Member
Registered: 2012-10-06
Posts: 6

Re: Openbox failed to execute child process

xaos52 wrote:

Edit ~/.config/terminator/config, set     

show_titlebar = False

That was my train of thought to begin with too. But setting that option to either True/False/0/1 doesn't produce any effect.

When I enter 'apt-get install cb-exit cb-lock' or 'apt-get install cb-metapackage' I get the unable to locate errors:

E: Unable to locate package cb-lock
E: Unable to locate package cb-exit
E: Unable to locate package cb-metapackage

Do I need extra repositories to access these packages? Currently I have:
ftp://ftp.uk.debian.org/debian/ contrib non-free
ftp://ftp.uk.debian.org/debian/ contrib non-free source code
http://security.debian.org/ main

Offline

#12 2012-10-08 12:21:40

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: Openbox failed to execute child process

Of course, you need the scripts installed before it can work. You need the #! repo enabled.
Post your apt sources file please,  think it is

/etc/apt/sources.list

for the stable version.

Last edited by xaos52 (2012-10-08 12:22:03)

Offline

#13 2012-10-08 14:08:07

Erinsfan
#! CrunchBanger
From: At a terminal
Registered: 2011-01-28
Posts: 148

Re: Openbox failed to execute child process

The Crunchbang repo is missing from your list. That contains the !# scripts you are missing.


Enjoying a good !#

Offline

#14 2012-10-09 12:58:47

4foxii
New Member
Registered: 2012-10-06
Posts: 6

Re: Openbox failed to execute child process

Ah. That is peculiar. I would assume that the #! repo is enabled on a default installation? I've only been using #! for a week or so and I don't recall removing any repo's other than switching from U.S servers to U.K.

# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20120207-13:41]/ squeeze main

# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20120207-13:41]/ squeeze main

deb http://security.debian.org/ squeeze/updates main non-free
deb http://http.us.debian.org/debian/ squeeze contrib non-free main
deb http://backports.debian.org/debian-backports squeeze-backports main
deb http://mozilla.debian.net/ squeeze-backports iceweasel-release
#deb-src http://http.us.debian.org/debian/ squeeze contrib main

Offline

#15 2013-02-21 19:40:01

zoah
New Member
Registered: 2013-02-19
Posts: 3

Re: Openbox failed to execute child process

I'm having the same error. I too tried to reinstall terminator. Apparently I'm missing repos also, because apt-get returns unable to locate package cb-bin-scripts. Am I missing any repos?

## CRUNCHBANG
## Compatible with Debian Squeeze, but use at your own risk.
deb http://packages.crunchbang.org/statler statler main
#deb-src http://packages.crunchbang.org/statler statler main

## SPOTIFY
deb http://repository.spotify.com stable non-free

## CRUNCHBANG MULTIMEDIA
## Debian Multimedia Mirror
#deb http://packages.crunchbang.org/statler-mm squeeze main non-free
#deb-src http://packages.crunchbang.org/statler-mm squeeze main non-free

## CRUNCHBANG MOZILLA
## Debian Mozilla Mirror
deb http://packages.crunchbang.org/statler-mozilla squeeze-backports iceweasel-release
#deb-src http://packages.crunchbang.org/statler-mozilla squeeze-backports iceweasel-release

## DEBIAN
deb http://ftp.debian.org/debian/ squeeze main contrib non-free
deb http://ftp.depian-ports.org/debian sid main
#deb-src http://ftp.debian.org/debian/ squeeze main contrib non-free

## DEBIAN SECURITY
deb http://security.debian.org/ squeeze/updates main
#deb-src http://security.debian.org/ squeeze/updates main

## DEBIAN BACKPORTS
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
#deb-src http://backports.debian.org/debian-backports squeeze-backports main contrib non-free

Offline

#16 2013-03-16 08:21:35

jonasbdotcom
New Member
From: Copenhagen, Denmark
Registered: 2013-03-15
Posts: 9
Website

Re: Openbox failed to execute child process

GAKO wrote:

Couldn't you just

apt-get install cb-exit cb-lock

?

alternatively cb-metapackage might be what you're after. not sure though

Worked for me... Thanks  big_smile


If @CrunchBang #Linux was a hand - I'd high-five it.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo