You are not logged in.

#1 2009-04-18 16:32:03

DreamAxe
Member
Registered: 2009-02-19
Posts: 22

Can't configure xorg with any of the methods in the wiki...

I've installed arch on (yet another) old PC. I installed xorg, the drivers for my VGA (S3 Savage 4) and got to the point where I'm supposed to configure X.

Xorg -configure: Never worked for me, so it was no surprise it failed to work again.
hwd -xa: Tells me that no xserver is installed, but xorg IS installed, I've verified that I followed all the steps described in the wiki and I've never had to deal with this in the past hmm
xorgcfg: It doesn't exist... it just doesn't exist... It's like it's not even installed, but I remember that it used to be automatically installed with xorg, now even though I installed xorg, it looks like it's not present any more.
xorgconfig: Same as xorgcfg.

Any ideas? hmm

Offline

#2 2009-04-18 16:44:12

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: Can't configure xorg with any of the methods in the wiki...

What xorg version are you using? Xorg -configure should give you a pretty basic xorg.conf (created first as xorg.conf.new, you would just have to copy it as xorg.conf to /etc/X11/xorg.conf), while hwd's not recognizing xorg-server is a known issue. If you can't get a xorg.conf through any of these means, just create one yourself (I created mine).
Here is my xorg.conf:

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
EndSection

Section "ServerFlags"
        Option "AutoAddDevices" "True" #disabling hal's autodetection, keyboard goes out the window
        Option "DontZap" "False" #make ctrl+alt+bckspace work 
EndSection

Section "Module"
        Load  "record"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
        Load  "dri2" #If DRI2 is default in xf86-video-intel 2.6.3-3, no point havin it here no?
        Load  "dbe"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd" #when hal is down, xorg reports that kbd is mia
        Option      "Layout" "pt"
        Option      "Model" "hpdv5"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    30.0 - 130.0
        VertRefresh  50.0 - 100.0
EndSection

Section "Device" 
        Option      "AccelMethod" "uxa"         # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "CacheLines"                # <i>
        #Option     "Dac6Bit"                   # [<bool>]
        Option      "DRI" "true"                # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        #Option     "PageFlip"                  # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
         SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "1280x800" "1024x768"
        EndSubSection

You could install Hal and see what it does for you, there are users that are running X without xorg.conf, for me Hal just replaced keyboard/pointer support. Sections DEVICE and SCREEN should be diferent for you, of course.
Hope this helps a bit.


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#3 2009-04-18 16:53:14

DreamAxe
Member
Registered: 2009-02-19
Posts: 22

Re: Can't configure xorg with any of the methods in the wiki...

Hal is already installed (and enabled). If I try to use the xorg.conf.new that Xorg -configure generates all I get is a black screen and tty1 has something about dbus not having rights to access device 1.7. If I stop dbus and try again, I still get a black screen but I am not able to return to kill the xserver to return to the terminal.

In the past, xorgcfg did a great job and never failed me, I can't seem to find it now though...

The system is upgraded to the latest version of the packages. I only installed it like 12 hours ago...

Offline

#4 2009-04-18 16:58:07

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: Can't configure xorg with any of the methods in the wiki...

Try just running X (startx or start your DE or window manager), assuming you have hal running. I am running 1 box with a single monitor with no xorg.conf. The latest X is able to do it all using hal it seems. You may want to have an xorg.conf with:

Section "ServerFlags"
    Option         "DontZap" "false"
EndSection

to enable the ability to kill X with ctrl-alt-backspace.

Offline

#5 2009-04-18 16:59:30

DreamAxe
Member
Registered: 2009-02-19
Posts: 22

Re: Can't configure xorg with any of the methods in the wiki...

So I just go ahead and install gnome? That's it? hmm

Offline

#6 2009-04-18 17:06:32

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: Can't configure xorg with any of the methods in the wiki...

Heh, I was just as surprised X worked when I deleted xorg.conf. You might want to try fluxbox to test it.

Offline

#7 2009-04-18 18:34:39

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: Can't configure xorg with any of the methods in the wiki...

On another perspective, if that doesn't work, is your user added to wheel (access to sudo commands, etc)? If it isn't do:

gpasswd -a YOUR_USER wheel

That might take care of those dbus permissions.

edit: I think you also need to have hal and dbus groups, I don't remember if that gets done by pacman and 'post-installation' process.

Last edited by s3kt0r (2009-04-18 18:37:07)


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#8 2009-04-18 18:58:11

SomeGuyDude
Member
Registered: 2008-10-09
Posts: 271

Re: Can't configure xorg with any of the methods in the wiki...

If you have a fairly new machine, you probably don't even need to configure xorg. It'll just work.

...on some level that almost bothers me. I'm so used to configuring stuff that "it just works" makes me suspicious, LOL.


And in the midst of such perfection,
I can't help but feel diseased.

Offline

Board footer

Powered by FluxBB