You are not logged in.
Hello,
I hvae configured my .xinitrc to start openbox automatically as when i enter startx,
here is my ~/.xinitrc file
#!/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 xinit /usr/bin/openbox-session
Im facing two main problems here,
When i do startx, first of all it takes very long time to show desktop and
second my openbox-session is not starting, it only starts X without dm(i.e openbox)....
Also if i direclty try to start dm using
$>openbox-session
it gives
Openbox-Message: Failed to open the display from the DISPLAY environment variable.
The only case i can start my openbox is using
$>xinit /usr/bin/openbox-session...
Why it is so that i cannot start using direct command openbox-session and why no it is started from my ~/.xinitrc file...
Thnx!
Last edited by greendragons (2012-04-18 18:38:22)
Offline
Why are you using:
exec xinit /usr/bin/openbox-session
in .xinitrc?
Offline
Why are you using:
exec xinit /usr/bin/openbox-session
in .xinitrc?
Thnx!! i just changed that line to
exec openbox-session and it worked..
I figured out what was wrong.. As i cannot start openbox before X, that is why i cannot start openbox-session from console directly, using
>openbox-session
i guess that is why is said display variable not set...
Offline