You are not logged in.
I always used gnome but after seen some cool openbox's wallpapers I decided to install openbox.
I followed the guide in the wiki (installed openbox, themes, pypanel, obconf) and put "exec openbox-session" in my /home/*username*/.xinitrc.
However, every time I try do run a openxbox-only session I got a lot of errors. I tried to find the log but with no success, but some of the errors are about kde and permissions, which is kind of strange since I don't have KDE or any KDE related program installed. However, I can run gnome-openbox sessions, and if I run a "terminal seassion" and type "openbox" it runs without any problem.
Any tips?
(sorry my English)
Offline
If you use GDM to login, try selecting "openbox" from the sessions menu.
Offline
does it work any better if you add this to ~/.xinitrc
dbus-launch --exit-with-session openbox &
Offline
If you use GDM to login, try selecting "openbox" from the sessions menu.
That's what I allways do =/
---
I'm gonna try put that in my .xinirtcr
EDIT:
No success.
Most of the errors say "cannot creat /home/*user/.kde***
Last edited by Nomearod (2008-05-30 13:09:41)
Offline
edit ~/.config/openbox/autostart.sh and comment out all the kde related stuff to see i it helps:
# Preload stuff for KDE apps
#if which start_kdeinit >/dev/null; then
# LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
#fi
Offline
edit ~/.config/openbox/autostart.sh and comment out all the kde related stuff to see i it helps:
# Preload stuff for KDE apps #if which start_kdeinit >/dev/null; then # LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup & #fi
I don't have that file in my /home/*user/.conf/openbox
I only have menu.xml and rc.xml.
However, this is how my aurostar.sh in /etc/xdg/openbox/ looks like:
# This shell script is run before Openbox launches.
# Environment variables set here are passed to the Openbox session.# Set a background color
BG=""
if which hsetroot >/dev/null; then
BG=hsetroot
else
if which esetroot >/dev/null; then
BG=esetroot
else
if which xsetroot >/dev/null; then
BG=xsetroot
fi
fi
fi
test -z $BG || $BG -solid "#303030"# D-bus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi# Make GTK apps look and behave how they were set up in the gnome config tools
if test -x /usr/libexec/gnome-settings-daemon >/dev/null; then
/usr/libexec/gnome-settings-daemon &
elif which gnome-settings-daemon >/dev/null; then
gnome-settings-daemon &
# Make GTK apps look and behave how they were set up in the XFCE config tools
elif which xfce-mcs-manager >/dev/null; then
xfce-mcs-manager n &
fi# Preload stuff for KDE apps
if which start_kdeinit >/dev/null; then
LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
fi# Run XDG autostart things. By default don't run anything desktop-specific
# See xdg-autostart --help more info
DESKTOP_ENV=""
if which /usr/lib/openbox/xdg-autostart >/dev/null; then
/usr/lib/openbox/xdg-autostart $DESKTOP_ENV
fi
Last edited by Nomearod (2008-05-30 13:27:48)
Offline
bangkok_manouel wrote:edit ~/.config/openbox/autostart.sh and comment out all the kde related stuff to see i it helps:
# Preload stuff for KDE apps #if which start_kdeinit >/dev/null; then # LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup & #fi
I don't have that file in my /home/*user/.conf/openbox
I only have menu.xml and rc.xml.
However, this is how my aurostar.sh in /etc/xdg/openbox/ looks like:
# This shell script is run before Openbox launches.
# Environment variables set here are passed to the Openbox session.# Set a background color
BG=""
if which hsetroot >/dev/null; then
BG=hsetroot
else
if which esetroot >/dev/null; then
BG=esetroot
else
if which xsetroot >/dev/null; then
BG=xsetroot
fi
fi
fi
test -z $BG || $BG -solid "#303030"# D-bus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi# Make GTK apps look and behave how they were set up in the gnome config tools
if test -x /usr/libexec/gnome-settings-daemon >/dev/null; then
/usr/libexec/gnome-settings-daemon &
elif which gnome-settings-daemon >/dev/null; then
gnome-settings-daemon &
# Make GTK apps look and behave how they were set up in the XFCE config tools
elif which xfce-mcs-manager >/dev/null; then
xfce-mcs-manager n &
fi# Preload stuff for KDE apps
if which start_kdeinit >/dev/null; then
LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
fi# Run XDG autostart things. By default don't run anything desktop-specific
# See xdg-autostart --help more info
DESKTOP_ENV=""
if which /usr/lib/openbox/xdg-autostart >/dev/null; then
/usr/lib/openbox/xdg-autostart $DESKTOP_ENV
fi
well this file is used system wide. you can copy it to your .config/openbox dir or modify it directly from here.
Offline
I just use "exec openbox" in my .xinitrc instead of "exec openbox-session".
~/.xinitrc
pypanel &
exec openbox
edit:
I don't have any autostart.sh script in my ~/.config/openbox folder.
Last edited by SiD (2008-05-30 13:41:44)
Offline
I just use "exec openbox" in my .xinitrc instead of "exec openbox-session".
~/.xinitrc
pypanel & exec openbox
edit:
I don't have any autostart.sh script in my ~/.config/openbox folder.
from http://icculus.org/openbox/index.php/Help:Autostart
The autostart script is located at ~/.config/openbox/autostart.sh. If that file does not exist, then the system-wide default script, located at /etc/xdg/openbox/autostart.sh, is run instead.
Offline
Here's what I did:
1- Copied autostart.sh to my ~/config/openbox
2- Put "#" at KDE -> KDE errors disappeared
3- Put "#" at d-bus -> More errors disappeared
Now is still doens't start but the log doens't show any errors messages, but instead it stops at "searching for installed applications".
Anyone with a functional autstar.sh could coopy it to here so I could replace mine to see what happens?
Last edited by Nomearod (2008-05-30 13:51:00)
Offline
From same page.
When you run the openbox command on its own, the autostart scripts will not run. They are run by openbox-session or when you log in graphically with the "Openbox" session type.
I just use "openbox" to start, and no login manager.
edit:
Sometimes I use SLiM, but there are no problems. I think, because SLiM just uses the ~/.xinitrc file.
edit:
@Nomearod
Do you use a Login-Manager?
Last edited by SiD (2008-05-30 13:55:11)
Offline
Here's what I did:
1- Copied autostart.sh to my ~/config/openbox
2- Put "#" at KDE -> KDE errors disappeared
3- Put "#" at d-bus -> More errors disappearedNow is still doens't start but the log doens't show any errors messages, but instead it stops at "searching for installed applications".
Anyone with a functional autstar.sh could coopy it to here so I could replace mine to see what happens?
do not comment out the dbus stuff... only kde and that should be enough
edit: what are the errors BTW ?
Last edited by bangkok_manouel (2008-05-30 13:57:34)
Offline
Don't know why, but I tried the "#" thing again with KDE and it worked.
I can now use openbox without any problems, but after what I saw, I'll have a long way customizing it.
Offline