You are not logged in.
Pages: 1
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
can you post your .xinitrc?
Offline
can you post your .xinitrc?
Sure
#!/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
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 & xcompmgri 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)
Offline
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
other thing is u need an & symbol between commands in ~/.xinitrc
for example
exec awesome & xcompmgri 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
hmmm ok ive never used that in my xinitrc
but yea i guess after reading that the & comment woudnt apply. my bad
Offline
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
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
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
Offline
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
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
okay, I installed it as root, that's what I did wrong. Thanks a lot for helping guys, my bad!
Offline
dont forget to edit the original post and mark as solved.... glad its working for ya
Offline
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
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
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? ![]()
Offline
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
Try this and post back the output:
$ rm ~/.xinitrc
$ echo exec openbox-session > ~/.xinitrc
$ startxAlso (only if everything you see above fails):
$ pacman -Qi openbox
$ uname -aLast edited by spcode (2013-10-31 17:57:10)
Offline
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
Try this and post back the output:
$ rm ~/.xinitrc $ echo exec openbox-session > ~/.xinitrc $ startxAlso (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
What specifically didn't work with the first part? Did you get an error?
Offline
What specifically didn't work with the first part? Did you get an error?
Exactly the same as described before ![]()
Offline
how do I paste the output of commands to wgetpaste?
pacman -Qi openbox > mylogfile 2>&1
uname -a >> mylogfile 2>&1Then 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
spcode wrote:how do I paste the output of commands to wgetpaste?
pacman -Qi openbox > mylogfile 2>&1 uname -a >> mylogfile 2>&1Then 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.
& thanks, I'll have to remember that ![]()
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
Pages: 1