You are not logged in.
I have installed xorg-server, xorg-xinit, xterm, and openbox.
I copied the template .xinitrc file: cp /etc/X11/xinit/xinitrc ~/.xinitrc
When I run startx, it seems to run openbox just fine. However, when I exit openbox, I see the following errors in the terminal:
/home/username/.xinitrc: line 51: twm: command not found
ERROR: openbox-xdg-autostart requires PyXDG to be installed
xinit: connection to X server lost
So my question is about the errors for "twm: command not found" and "openbox-xdg-autostart requires PyXDG to be installed".
Is something wrong with my setup, and how do I fix it?
Thank you.
Last edited by rogerthat (2017-04-03 11:23:31)
Offline
You delete the unwanted lines from your .xinitrc; just like the error says.
Moving to NC...
Offline
Commenting out the following line in ~/.xinitrc fixed the twm error:
#twm &
The PyXDG error persists however:
ERROR: openbox-xdg-autostart requires PyXDG to be installed
Offline
Note: In addition to running ~/.config/openbox/autostart, Openbox will also launch programs with .desktop files present in /etc/xdg/autostart. This is the global autostart directory, which is automatically sourced by XDG-compliant desktop environments (e.g. GNOME, KDE). Openbox will source this directory as well, provided that the package python2-xdg is installed, and Openbox is launched as openbox-session (rather than simply openbox, as noted earlier). Duplication between ~/.config/openbox/autostart and /etc/xdg/autostart is a common cause of programs launching twice at startup (e.g. two network manager tray icons).
Offline
Thanks. So there is one such file there:
/etc/xdg/autostart/at-spi-dbus-bus.desktop
I found it is apparently an accessibility program (https://gnomeshell.wordpress.com/2011/0 … lications/).
Can I just delete it? Or what should I do to remove it?
Offline
Openbox will source this directory as well, provided that the package python2-xdg is installed, and Openbox is launched as openbox-session (rather than simply openbox, as noted earlier).
Given the error message
ERROR: openbox-xdg-autostart requires PyXDG to be installedYou have chosen not to install PyXDG but are launching Openbox as openbox-session.
$ pacman -Si openbox
Repository : community
Name : openbox
Version : 3.6.1-3
Description : Highly configurable and lightweight X11 window manager
Architecture : x86_64
URL : http://openbox.org
Licenses : GPL
Groups : lxde lxde-gtk3 lxqt
Provides : libobrender.so=32-64
Depends On : startup-notification libxml2 libxinerama libxrandr libxcursor pango imlib2 librsvg libsm
Optional Deps : plasma-workspace: for the KDE/Openbox xsession
python2-xdg: for the openbox-xdg-autostart script
Conflicts With : None
Replaces : None
Download Size : 329.70 KiB
Installed Size : 1216.00 KiB
Packager : Balló György <ballogyor+arch@gmail.com>
Build Date : Sat 20 Feb 2016 16:35:09 GMT
Validated By : MD5 Sum SHA-256 Sum SignatureNote the optional depends.
Offline
Right, so there is this one autostart program used for "accessibility" that I don't need:
/etc/xdg/autostart/at-spi-dbus-bus.desktop
I didn't explicitly install it. It seems to have come with the default setup as I followed the wiki setup instructions.
How best to delete the program and get rid of the error? "ERROR: openbox-xdg-autostart requires PyXDG to be installed"
Offline
How best to delete the program and get rid of the error? "ERROR: openbox-xdg-autostart requires PyXDG to be installed"
Even if there were no programs to autostart that would not prevent the error message please reread my previous post.
Offline
Cool. So changing ~/.xinitrc from:
exec openbox-session
to:
exec openbox
fixed it.
Offline
I notice one more error in the log still:
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
Offline
Cool. So changing ~/.xinitrc from:
exec openbox-session
to:
exec openbox
fixed it.
As already mentioned, installing the optional dependency python2-xdg would have solved it, too.
edit: if you want to use openbox-session ...
Last edited by mis (2017-04-03 09:42:48)
Offline
rogerthat, please stop using this thread for unrelated questions. Create new threads for separate questions. In ths case of the "xf86EnableIOPorts" message, it is not an error. It's not even a warning. What made you pick that out of all the many many lines in the Xorg log to ask about? And is there actually a problem?
If there is a problem, please mark this thread as solved and open a new thread to describe the action problem you are currently having.
If there is no problem, also please mark this thread as solved.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
OK. So, solved! ![]()
Offline
rogerthat please edit your first post and prepend [SOLVED] to the title.
To know or not to know ...
... the questions remain forever.
Offline