You are not logged in.

#1 2013-10-31 13:23:35

UKWolfy
Member
From: Newcastle
Registered: 2013-10-08
Posts: 14

openbox not starting "Recieved signal 5"

Trying to use openbox as my default WM, however, I cannot even start it
following the guide on "https://wiki.archlinux.org/index.php/Openbox"

I have edited .xinitrc

the startx command is fine until it gets to
"Loading extension GLX"
then it prints

"waiting for X server to shut down....Closing log file.entemen? All your base are belong to us. (Recieved signal 5)xinit: co

it looks like it continues to actually tell me the problem, but it cuts off there.

I also had a look at /etc/X11/xorg.conf.d

where it loads the config, which doesn't seem to exist

google has yielded no results, all I can find are people who get a similar error message, but when they are already running openbox

>ALSO: How do I attatch a log file if I can only use the TTY on my laptop?

Last edited by UKWolfy (2013-10-31 16:06:32)

Offline

#2 2013-10-31 13:36:03

VanillaFunk
Member
From: MA. USA
Registered: 2013-06-10
Posts: 396
Website

Re: openbox not starting "Recieved signal 5"

can you post your .xinitrc?


archx86_64 : awesomewm
https://github.com/dreemsoul

Remeber to feed the squirrels

Offline

#3 2013-10-31 13:52:25

UKWolfy
Member
From: Newcastle
Registered: 2013-10-08
Posts: 14

Re: openbox not starting "Recieved signal 5"

VanillaFunk wrote:

can you post your .xinitrc?

Sure

.xinitrc wrote:

#!/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
# ...or the Window Manager of your choice
exec openbox-session

Offline

#4 2013-10-31 13:59:32

VanillaFunk
Member
From: MA. USA
Registered: 2013-06-10
Posts: 396
Website

Re: openbox not starting "Recieved signal 5"

UKWolfy wrote:

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d@; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

im not sure what this is... but it may be the source of your issues... try commenting it out and restarting x

-- edit --

other thing is u need an & symbol between commands in ~/.xinitrc

for example

exec awesome & xcompmgr

i didnt see one between the if statement and the exec command.
so though im not sure why u have the if command but in case it is needed u still need an & after it

Last edited by VanillaFunk (2013-10-31 14:04:32)


archx86_64 : awesomewm
https://github.com/dreemsoul

Remeber to feed the squirrels

Offline

#5 2013-10-31 14:06:16

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: openbox not starting "Recieved signal 5"

That's a standard part of xinitrc. There is a typo in it though, "for f in /etc/X11/xinit/xinitrc.d@; do" should be "for f in /etc/X11/xinit/xinitrc.d/*; do".

UKWolfy: You can use something like wgetpaste: https://wiki.archlinux.org/index.php/Be … leshooting


VanillaFunk wrote:

other thing is u need an & symbol between commands in ~/.xinitrc

for example

exec awesome & xcompmgr

i didnt see one between the if statement and the exec command.
so though im not sure why u have the if command but in case it is needed u still need an & after it

No. Please go and read the wiki.

Last edited by WorMzy (2013-10-31 14:10:17)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2013-10-31 14:12:55

VanillaFunk
Member
From: MA. USA
Registered: 2013-06-10
Posts: 396
Website

Re: openbox not starting "Recieved signal 5"

hmmm ok ive never used that in my xinitrc
but yea i guess after reading that the & comment woudnt apply. my bad


archx86_64 : awesomewm
https://github.com/dreemsoul

Remeber to feed the squirrels

Offline

#7 2013-10-31 14:34:55

UKWolfy
Member
From: Newcastle
Registered: 2013-10-08
Posts: 14

Re: openbox not starting "Recieved signal 5"

WorMzy wrote:

That's a standard part of xinitrc. There is a typo in it though, "for f in /etc/X11/xinit/xinitrc.d@; do" should be "for f in /etc/X11/xinit/xinitrc.d/*; do".

UKWolfy: You can use something like wgetpaste: https://wiki.archlinux.org/index.php/Be … leshooting

That was a typo in the post, it's fine in xinitrc

I'll install wgetpaste now smile

EDIT: got it, used it:
xinitrc: http://bpaste.net/show/145497

Any other feedback regarding my problem?

Thanks for trying VanillaFunk

Last edited by UKWolfy (2013-10-31 14:41:40)

Offline

#8 2013-10-31 14:47:40

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: openbox not starting "Recieved signal 5"

The .xinitrc is fine, if you could upload your X log, that'd help.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#9 2013-10-31 14:49:11

UKWolfy
Member
From: Newcastle
Registered: 2013-10-08
Posts: 14

Re: openbox not starting "Recieved signal 5"

Offline

#10 2013-10-31 15:05:16

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: openbox not starting "Recieved signal 5"

That log file says there were no problems, it just doesn't seem to be doing anything. Is that the log file from your earlier attempt to run startx (which ended in "Recieved signal 5"), or a subsequent attempt to run X while you were debugging?

As a sanity check, your .xinitrc file is definitely at /home/username/.xinitrc, right? Is it owned by you, and do you have read permissions on it? Also, do you actually have openbox installed?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#11 2013-10-31 15:09:13

UKWolfy
Member
From: Newcastle
Registered: 2013-10-08
Posts: 14

Re: openbox not starting "Recieved signal 5"

WorMzy wrote:

That log file says there were no problems, it just doesn't seem to be doing anything. Is that the log file from your earlier attempt to run startx (which ended in "Recieved signal 5"), or a subsequent attempt to run X while you were debugging?

As a sanity check, your .xinitrc file is definitely at /home/username/.xinitrc, right? Is it owned by you, and do you have read permissions on it? Also, do you actually have openbox installed?

.xinitrc is in ~/.xinitrc, that could be the problem?
and Yes I do have openbox installed

Offline

#12 2013-10-31 15:20:53

UKWolfy
Member
From: Newcastle
Registered: 2013-10-08
Posts: 14

Re: openbox not starting "Recieved signal 5"

okay, I installed it as root, that's what I did wrong. Thanks a lot for helping guys, my bad!

Offline

#13 2013-10-31 15:31:45

VanillaFunk
Member
From: MA. USA
Registered: 2013-06-10
Posts: 396
Website

Re: openbox not starting "Recieved signal 5"

dont forget to edit the original post and mark as solved.... glad its working for ya


archx86_64 : awesomewm
https://github.com/dreemsoul

Remeber to feed the squirrels

Offline

#14 2013-10-31 16:07:02

UKWolfy
Member
From: Newcastle
Registered: 2013-10-08
Posts: 14

Re: openbox not starting "Recieved signal 5"

VanillaFunk wrote:

dont forget to edit the original post and mark as solved.... glad its working for ya

scratch that, reinstalled as my user, still the same problem
Log:
http://bpaste.net/show/145528

Last edited by UKWolfy (2013-10-31 16:19:12)

Offline

#15 2013-10-31 16:24:45

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: openbox not starting "Recieved signal 5"

What do you mean by installing? You can't install packages as a normal user, so I'm assuming you're talking about something else.

To make sure that we're on the same page here, could you follow the beginners' guide on setting up X: https://wiki.archlinux.org/index.php/Be … #Install_X including the Test X part. Remember that anything with a hash (#) is meant to be run as root, anything with a dollar ($) is meant to be run as your normal user.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#16 2013-10-31 16:36:19

UKWolfy
Member
From: Newcastle
Registered: 2013-10-08
Posts: 14

Re: openbox not starting "Recieved signal 5"

WorMzy wrote:

What do you mean by installing? You can't install packages as a normal user, so I'm assuming you're talking about something else.

To make sure that we're on the same page here, could you follow the beginners' guide on setting up X: https://wiki.archlinux.org/index.php/Be … #Install_X including the Test X part. Remember that anything with a hash (#) is meant to be run as root, anything with a dollar ($) is meant to be run as your normal user.

Okay, I removed the xinitrc to get back to the defaults to follow that, checked through skipping bits I know I did as root, nothing else to be done as normal user besides startx, which works fine

Same page now? smile

Offline

#17 2013-10-31 17:34:44

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: openbox not starting "Recieved signal 5"

So without an .xinitrc, the xclock and xterms all appeared in the minimal environment? Recreating the .xinitrc with 'exec openbox-session' at the end results in the same behaviour as before -- nothing ever shows up and you get dumped back to a terminal, with the logs saying it was successful?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#18 2013-10-31 17:55:39

spcode
Member
Registered: 2013-10-26
Posts: 27

Re: openbox not starting "Recieved signal 5"

Try this and post back the output:

$ rm ~/.xinitrc
$ echo exec openbox-session > ~/.xinitrc
$ startx

Also (only if everything you see above fails):

$ pacman -Qi openbox
$ uname -a

Last edited by spcode (2013-10-31 17:57:10)

Offline

#19 2013-10-31 22:38:25

UKWolfy
Member
From: Newcastle
Registered: 2013-10-08
Posts: 14

Re: openbox not starting "Recieved signal 5"

WorMzy wrote:

So without an .xinitrc, the xclock and xterms all appeared in the minimal environment? Recreating the .xinitrc with 'exec openbox-session' at the end results in the same behaviour as before -- nothing ever shows up and you get dumped back to a terminal, with the logs saying it was successful?

correct

Offline

#20 2013-10-31 22:39:12

UKWolfy
Member
From: Newcastle
Registered: 2013-10-08
Posts: 14

Re: openbox not starting "Recieved signal 5"

spcode wrote:

Try this and post back the output:

$ rm ~/.xinitrc
$ echo exec openbox-session > ~/.xinitrc
$ startx

Also (only if everything you see above fails):

$ pacman -Qi openbox
$ uname -a

first part didn't work, 2nd part, how do I paste the output of commands to wgetpaste? or something similar, if I type it out there will surely be mistakes

Offline

#21 2013-11-01 00:54:53

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: openbox not starting "Recieved signal 5"

What specifically didn't work with the first part?  Did you get an error?

Offline

#22 2013-11-01 10:49:56

UKWolfy
Member
From: Newcastle
Registered: 2013-10-08
Posts: 14

Re: openbox not starting "Recieved signal 5"

circleface wrote:

What specifically didn't work with the first part?  Did you get an error?

Exactly the same as described before hmm

Offline

#23 2013-11-01 11:09:07

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: openbox not starting "Recieved signal 5"

UKWolfy wrote:

how do I paste the output of commands to wgetpaste?

pacman -Qi openbox > mylogfile 2>&1
uname -a >> mylogfile 2>&1

Then use wgetpaste to post the file "mylogfile".  The single > character redirects output to the file named after the >.  The double >> appends the output to the named file.  The 2>&1 also redirects error messages to wherever the output is going.


(edit: fixed quote source.  I got turned around from quoting a quote of a quote...)

Last edited by Trilby (2013-11-01 11:20:22)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#24 2013-11-01 11:14:55

UKWolfy
Member
From: Newcastle
Registered: 2013-10-08
Posts: 14

Re: openbox not starting "Recieved signal 5"

Trilby wrote:
spcode wrote:

how do I paste the output of commands to wgetpaste?

pacman -Qi openbox > mylogfile 2>&1
uname -a >> mylogfile 2>&1

Then use wgetpaste to post the file "mylogfile".  The single > character redirects output to the file named after the >.  The double >> appends the output to the named file.  The 2>&1 also redirects error messages to wherever the output is going.

http://bpaste.net/show/145759

& thanks, I'll have to remember that smile
I just went through and made sure i had all the packages it depended on, they were all installed

Last edited by UKWolfy (2013-11-01 11:18:15)

Offline

Board footer

Powered by FluxBB