You are not logged in.
Hi!! All ![]()
I am again in this noob situation, i am trying to run openbox but unable to do so, please help!!!
~/.bashrc_profile
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx(not working)upon start up it just throw me to the login screen. ![]()
*as also my openbox does not start with
startxbut when i do:
startx /usr/bin/openbox-sessionthen it works.Why?? please tell..
my Xorg.0.log is not showing any error
Though kde is working fine but when i looked into .xsession-errors i find this:
startkde: Starting up...
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.* somebody please tell what i am doing wrong or at least give me some pointer.
Last edited by arcon (2013-06-05 13:49:27)
The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer ![]()
Offline
I'd recommend reading man startx, but in the meantime, what's in your .xinitrc file?
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
#!/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 dbus-launch openbox-session&The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer ![]()
Offline
I'm not sure about the dbus-launch, but try removing the "&" from the end of the openbox-session line.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
One point to skanky. And I think you don't need dbus-launch anymore. At least, I don't see it here anymore: https://wiki.archlinux.org/index.php/Openbox
By the way, are you sure your above file is called "~/.bashrc_profile" ?
“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson
Offline
One point to skanky. And I think you don't need dbus-launch anymore. At least, I don't see it here anymore: https://wiki.archlinux.org/index.php/Openbox
By the way, are you sure your above file is called "~/.bashrc_profile" ?
My recollection was that it's not needed any more, but I know how unreliable that is.
Good catch on the file name. Funny how you read what you expect to read sometimes.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
I'm not sure about the dbus-launch, but try removing the "&" from the end of the openbox-session line.
Thanks a lot skanky it worked.
One point to skanky. And I think you don't need dbus-launch anymore. At least, I don't see it here anymore: https://wiki.archlinux.org/index.php/Openbox
By the way, are you sure your above file is called "~/.bashrc_profile" ?
that file is my .xinitrc(third post) and i used dbus-lanuch, i don't know why?? but i think because i am getting this error in my xession-errors:
startkde: Starting up...
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.though it is kde's.
Last edited by arcon (2013-06-05 13:46:13)
The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer ![]()
Offline
By .bashrc_profile I meant the first file you posted. It should be called ~/.bash_profile.
So, your startx is working now?
“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson
Offline
my mistake i make a hybrid of .xinitrc and .bash_profile(typo). yup it's working now thanks for replying. ![]()
Last edited by arcon (2013-06-05 14:43:00)
The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer ![]()
Offline
Just to clarify: a dbus session instance is needed, but it is started in the /etc/X11/xinit/xinitrc.d/30-dbus script by the loop at the beginning of .xinitrc;
So it is not necessary to repeat the dbus-launch command with the exec line starting the WM/DE, when this loop is present.
Offline
Just to clarify: a dbus session instance is needed, but it is started in the /etc/X11/xinit/xinitrc.d/30-dbus script by the loop at the beginning of .xinitrc;
So it is not necessary to repeat the dbus-launch command with the exec line starting the WM/DE, when this loop is present.
Thanks. ![]()
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline