You are not logged in.

#1 2009-04-13 00:36:38

epsilon
Member
Registered: 2009-04-02
Posts: 75

Xorg & Openbox help

So I've been trying to solve these issues via IRC for a while, but perhaps I will get some help here. Keep in mind I am very new to Linux (but willing to learn)... so try speaking to me like I'm a 4 year old or your grandparents, otherwise I might be asking questions like "what does it mean to invoke something" (a gem of a question that I had to ask in IRC). Anyways, I've been trying to setup Xorg and Openbox for the past few days.

I installed what I assume are the necessary files when I read the wiki.

When I first installed xorg, I also installed Openbox and added the "exec openbox-session" to the ~/.xinitrc ; It worked, but was a bit buggy when opening the menu (right clicking). I was able to access the options. Because I didn't install a proper video driver, it was very low resolution and the screen margins were wacky.

So I downloaded the proper drivers and the screen was the normal 1280x1024. However, when I right clicked and selected anything it would crash; nothing moving, ctrl+alt+bksp not working either. After this I resolved that it was something from Xorg that is the problem; I made a configuration file, xorg.conf, and placed it in the right directory from the wiki. I have it here: http://rafb.net/p/wjptJT37.html

I did some other things but memory is not exactly great and this was all over the course of days. Essentially the current state is this: in my xinitrc I only have the line "exec xterm" uncommented; however, # X -config /etc/X11/xorg.conf does not do anything; no X, no nothing. startx doesn't do anything, just blanks the screen, then returns to shell.

My xorg log: http://rafb.net/p/TJIIkP79.html

I also tried to install xfce4, but when I start that up I get weird yellow bars across the screen, and everything freezes. The cursor moves, but the cursor state is frozen; a Tips dialog pops up but nothing else. Ctrl Alt Bksp doesn't work.

How do I resolve this? I'm very close to either deleting the partition and starting fresh (maybe I seriously fowled something up before this?) or trying to emulate in Virtual Box instead, neither of which I want to do. I'll be checking this thread often.

Thanks for any help.


mu @ freenode - Last.fm

Offline

#2 2009-04-13 00:53:43

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: Xorg & Openbox help

Are you running hal? That sounds like it could be the source of some of the later errors. What's your xinitrc, or what display manager, if any, are you using?

Offline

#3 2009-04-13 02:30:54

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Xorg & Openbox help

Also, if you have older intel video drivers (looks like from your Xorg.log), you should try the xf86-video-intel-legacy package if you haven't already. And if you're using openbox, your .xinitrc should look something like:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#
exec ck-launch-session openbox-session

Good luck!
Scott

Offline

#4 2009-04-13 02:43:11

epsilon
Member
Registered: 2009-04-02
Posts: 75

Re: Xorg & Openbox help

Thanks for the responses!

I did add hal to my DAEMONS array; perhaps disabling hotplugging is the issue? The only line uncommented in xinitrc is "exec xterm"

I will try installing the legacy package (I had thought to perhaps install that and try it since I am using a relatively low grade video card, but didn't). The uncommented line the is in the xinitrc you provided is a bit different than anything I have seen, so I'll try that.


mu @ freenode - Last.fm

Offline

#5 2009-04-13 03:12:07

epsilon
Member
Registered: 2009-04-02
Posts: 75

Re: Xorg & Openbox help

I'm overjoyed, it works and look pretty good. Now I just need to figure out how to get this working with some sort of DE and learn to how to use actual applications inside it and I'll be set. Thanks guys.


mu @ freenode - Last.fm

Offline

#6 2009-04-28 21:29:29

Teshadael
Member
Registered: 2008-04-06
Posts: 29

Re: Xorg & Openbox help

epsilon: Do you know what fixed it?
If I load hal and openbox, it always results in openbox getting signal 11's, if I !hal, openbox works without a problem.
I'd like hal loaded for other things though.
Has anyone else been running into this?

EDIT:
Ok, just experimented a bit.
if I disable hal in the daemons, then start it once I'm in openbox, there doesn't appear to be any issues.
I've moved it around in the array, so I don't believe it has anything to do with when it's being loaded.

Last edited by Teshadael (2009-04-28 21:44:16)

Offline

#7 2009-04-28 22:13:28

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Xorg & Openbox help

Teshadael wrote:

epsilon: Do you know what fixed it?
If I load hal and openbox, it always results in openbox getting signal 11's, if I !hal, openbox works without a problem.
I'd like hal loaded for other things though.
Has anyone else been running into this?

EDIT:
Ok, just experimented a bit.
if I disable hal in the daemons, then start it once I'm in openbox, there doesn't appear to be any issues.
I've moved it around in the array, so I don't believe it has anything to do with when it's being loaded.

I am not sure about the order of your daemons, but hal needs to be the first things that needs to be started. Also if you have dbus listed, you should remove that since hal will start dbus for you.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#8 2009-04-28 22:53:31

Teshadael
Member
Registered: 2008-04-06
Posts: 29

Re: Xorg & Openbox help

Originally it was started second, after syslog-ng.
About dbus: I did more messing around and loaded only dbus instead of hal.  That also worked fine, so I think it's definitely hal that is causing issues...just can't understand why.

Offline

#9 2009-04-28 22:59:03

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Xorg & Openbox help

Teshadael wrote:

Originally it was started second, after syslog-ng.
About dbus: I did more messing around and loaded only dbus instead of hal.  That also worked fine, so I think it's definitely hal that is causing issues...just can't understand why.

Here's my DAEMONS array. Have had 0 issues with it. See if it gives you a good starting point.

# DAEMONS
DAEMONS=(syslog-ng @network @hal @netfs @crond @oss)

Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#10 2009-04-28 23:17:02

Teshadael
Member
Registered: 2008-04-06
Posts: 29

Re: Xorg & Openbox help

Still no luck sad
Openbox still gets signal 11's.

Offline

#11 2009-04-29 23:04:37

Teshadael
Member
Registered: 2008-04-06
Posts: 29

Re: Xorg & Openbox help

Ahh I finally found the problem.  I originally had to put AllowEmptyInput option in my xorg.conf.
Something must have changed to where it's not needed any longer.
I removed that and everything now works like a charm.

Offline

Board footer

Powered by FluxBB