You are not logged in.

#1 2010-09-05 17:08:15

LRRR
Member
From: Germany
Registered: 2010-08-29
Posts: 26

openbox and slim won't start

Hi,

want to try openbox.

my .xinitrc says:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

DEFAULT_SESSION=gnome-session

case $1 in
gnome)
exec ck-launch-session gnome-session
;;
openbox)
exec openbox-session
;;
*)
exec ck-launch-session $DEFAULT_SESSION
;;
esac

#exec gnome-session
#exec ck-launch-session dbus-launch openbox-session
#exec ck-launch-session openbox-session
#exec openbox-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
Xcursor.theme: dmz-white
#Xcursor.size: [Größe]
setxkbmap de

and i can choose in slim between gnome and openbox.

The Problem is when i choose openbox all i see is a grey background and the mouse cursor. After that i come back to the login window. What I'm doing wrong ?


...Emperor of the planet Omicron Persei 8.

Offline

#2 2010-09-05 17:16:30

shemz
Member
Registered: 2010-04-23
Posts: 135

Re: openbox and slim won't start

Openbox is simply a box. Lol. I think you are logging correctly into openbox if you see the mouse cursor. Now you need to customize it to your needs.

Offline

#3 2010-09-05 17:53:34

zip1100
Member
From: Vienna / Austria
Registered: 2010-08-25
Posts: 6

Re: openbox and slim won't start

I think shemz is right. Do you get a context menu when you do a right click with your mouse?
Openbox should put some demo config files in /etc/xdg/openbox, so there will probably be a context menu.

Offline

#4 2010-09-06 13:01:52

LRRR
Member
From: Germany
Registered: 2010-08-29
Posts: 26

Re: openbox and slim won't start

ok thanks.

in gnome i did a openbox --replace and see that the borders changed. But i have still not the menu with the right click.
When i'm logging into gnome i pressed the right key of my mouse and the openbox menu was there. Second later Gnome took over. Even after a restart the only thing that's changed was the window borders.


...Emperor of the planet Omicron Persei 8.

Offline

#5 2010-09-06 14:32:24

quigybo
Member
Registered: 2009-01-15
Posts: 223

Re: openbox and slim won't start

In gnome nautilus draws on the desktop, see the openbox wiki if you want to run openbox as the wm in a gnome environment.

Otherwise to run openbox as a standalone wm all you get by default is a grey screen and a mouse, as you have already encountered and others have mentioned. See our wiki on how to set up common things like setting the wallpaper and drawing icons on the desktop (if you want that).

Offline

#6 2010-09-06 15:07:59

shemz
Member
Registered: 2010-04-23
Posts: 135

Re: openbox and slim won't start

To disable nautilus from drawing the desktop:

gconftool-2 --type bool --set /apps/nautilus/preferences/show_desktop false
nautilus -q

And possibly a X restart to disable the desktop background set by nautilus.

Offline

#7 2010-09-13 17:38:04

LRRR
Member
From: Germany
Registered: 2010-08-29
Posts: 26

Re: openbox and slim won't start

the last tip was a good one wink

but the problem persists, when i try to log in to "pure" openbox-session only thing i see is the cursor and a grey screen, but that's not the problem.
The problem is that the openbox-session log's me out immediately. And when i do a openbox-session in my gnome/openbox mix all i see is that the terminal put many lines out, the grey screen and bam log's me out.

Is there anywhere a log about openbox-session ?


...Emperor of the planet Omicron Persei 8.

Offline

#8 2010-09-15 17:12:00

LRRR
Member
From: Germany
Registered: 2010-08-29
Posts: 26

Re: openbox and slim won't start

ok finally i think i get it. Put all things in xinitrc before the openbox session and did was the wiki says :

If you have used another window manager before, such as Xfwm, and Openbox won't start after logging out of X, try moving the autostart folder:
mv ~/.config/autostart ~/.config/autostart-bak

pressed f1 in slim choosed openbox-session and it works smile finally smile


...Emperor of the planet Omicron Persei 8.

Offline

Board footer

Powered by FluxBB