LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   Display Problems with Xorg and Openbox (https://www.linuxquestions.org/questions/arch-29/display-problems-with-xorg-and-openbox-659975/)

blackstone 08-02-2008 01:00 PM

Display Problems with Xorg and Openbox
 
I am trying to run Openbox, but whenever I type openbox or openbox-session, it comes up with this error:

Openbox-Message: Failed to open the display from the DISPLAY environment variable.

I looked around, and most people say that you need to install xorg. I already have it installed, and I am still getting that error. I get similar errors whenever I try to use awesome and gnome-session. All of them say they can't open the display. (side-note: I am running Arch Linux.)

I've been searching for a solution for quite some time, and I'm going to continue doing so, but I thought I might post to see if someone could save me some time.

Thanks,
blackstone

ou3 08-03-2008 01:24 AM

You either didn't installed the appropriate video driver or you didn't configure your xorg.conf correctly.

To list the available video drivers:
>pacman -Ss xf86-video

Pick your applicable driver and install.. using the ati open source drivers as an example:
>pacman -Sy xf86-video-ati

For a hardware detection tool, install hwd:
>pacman -S hwd

To automatically generate an xorg.conf, run hwd:
>hwd -xa

If you already did all of this and don't know how to manually write a functional xorg.conf file from scratch, I suggest starting with a less hands-on distribution or at least copying an xorg.conf from one of them.

blackstone 08-04-2008 12:27 PM

Thanks for the suggestions. I have it working now.


All times are GMT -5. The time now is 11:49 AM.