You are not logged in.

#1 2009-04-29 18:43:52

Nalroff
Member
Registered: 2009-04-16
Posts: 6

xorg.conf problems

Ok, so before you ask me to post the entire file on here, know that I would have to type the entire thing by hand to do so... and i'm not willing to do that. Anyway, when there is no xorg.conf file in my /etc/X11/ directory, I can run the "startx" command and it will bring up a display with no functionality. I would imagine that this is due to the lack of the conf file telling the X server how to deal with keyboard/mouse input. The problem is when I generate the conf file using Xorg -configure, it creates the file just fine, but running X -config /root/xorg.conf.new locks the thing up. There is no display, and CTRL+ALT+Backspace and ctrl+alt+F1 do absolutely nothing. I just have a black screen. I have an Intel 945GM chipset graphics processor, and the configuration process noticed and accomodated this, but there is still no display. Here are the relevant sections (I think):

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

Section "Module"
  Load "glx"
  Load "record"
  Load "extmod"
  Load "dbe"
  Load "dri2"
  Load "dri"
EndSection

Section "InputDevice"
  Identifier "Keyboard0"
  Driver "kbd"
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"
EndSection

Section "Device"
  Identifier "Card0"
  Driver "intel"
  VendorName "Intel Corporation"
  BoardName "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
  BusID "PCI:0:2:0"
EndSection

Section "Screen"
  Identifier "Screen0"
  Device "Card0"
  Monitor "Monitor0"
  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
  EndSubSection
EndSection

I left out all commented lines on purpose, but if need be, I can add them.

Any help would be greatly appreciated. Thank you.

-Nalroff

Offline

#2 2009-04-29 18:59:56

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: xorg.conf problems

Read up on hotplugging to get your keyboard/mouse working: http://wiki.archlinux.org/index.php/Xor … otplugging
Please use the search button before creating new threads.  The problems you describe have already been covered many times.

Offline

#3 2009-04-29 19:10:23

MreDD
Member
From: Orange County, USA
Registered: 2007-08-26
Posts: 175
Website

Re: xorg.conf problems

first search better. ;-)
Already a thread on this.
for CTRL+ALT+Backspace
http://bbs.archlinux.org/viewtopic.php?id=67523

add this to your xorg.conf

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

and as per black screen.
~/.xsession or ~/.xinitrc
do they have the window manager exec line?

Last edited by MreDD (2009-04-29 22:05:49)


...MikereDD
:Go Away & Give My Pillow Back!!:
aur pkgbuilds - mostly fortune-mod's & fonts

Offline

#4 2009-05-05 23:43:09

all_ears
Member
Registered: 2009-04-03
Posts: 6

Re: xorg.conf problems

I have same problem.  The system hangs after startx.  It is not the Ctrl+Alt+Backspace issue.  I am a newbie, don't know how to paste file here.  My Xorg.0.log file shows no error at all.  The last few line is about loading "ddc" module.  I tried adding Option "NoDDC" which is of no help.

Offline

#5 2009-05-06 01:16:32

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: xorg.conf problems

all_ears, have you looked at the hotplugging section peart linked too? It sounds like you might not have HAL running

Offline

#6 2009-05-06 23:00:25

all_ears
Member
Registered: 2009-04-03
Posts: 6

Re: xorg.conf problems

Hi evr.  I have HAL installed properly.  I can tell it is running by pstree command.  It took me a few days to get HAL work.  I have tried many things just cannot get the x to start.

Offline

#7 2009-05-07 01:16:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: xorg.conf problems

Section "ServerLayout"
  Option "AllowEmptyInput" "off"
EndSection

It may help if you are using a bare X, but delete it if you're getting sth like "ffiiirrreeefffoooxxx" instead of "firefox" whet you type sth at the prompt.

Offline

#8 2009-05-07 01:16:59

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: xorg.conf problems

Are you trying to start X as root? If you've followed the installation guides, root isn't set up to run an xterm.

Try starting X as a normal user.

Offline

#9 2009-05-07 01:36:50

all_ears
Member
Registered: 2009-04-03
Posts: 6

Re: xorg.conf problems

Karol - I will try your code in xorg.conf sometime later.  But I am far from seeing anything after running startx.  I don't know if it helps.

thisoldman - I am following the guide, running as a normal user in a separate virtual console.  Thank you for trying to help.

Offline

#10 2009-05-07 03:19:55

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: xorg.conf problems

HAL might not be properly recognizing the mouse or keyboard.
A listing of the input devices (keyboard, mouse, power buttons) HAL enables on your system can be obtained by

lshal | grep "input.product"

.  In my case HAL was inserting, for unknown reasons,

input.product = 'Macintosh mouse button emulation'

which interfered with proper recognition of my Logitech wireless/USB mouse. I got HAL to ignore the nonexistent device by following the instructions at the end of this thread, http://bbs.archlinux.org/viewtopic.php?id=60986

Some recent Xorgs no longer allow Ctrl-Alt-Backspace to restart the Xserver.  That can be restored with "DontZap" as shown below. The Xserver may also fail if a mouse is not detected. That can be solved with "AllowMouseOpenFail" set to "on" or "true".

In xorg.conf

Section "ServerFlags"
   Option  "AllowMouseOpenFail" "on"  # Allow X to start without a mouse.
   Option  "DontZap" "off"                  # Allow Ctrl-Alt-Backspace to restart X.
EndSection

Last edited by thisoldman (2009-05-07 03:30:59)

Offline

Board footer

Powered by FluxBB