LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Configuring Xorg on my Emac (A1002) (https://www.linuxquestions.org/questions/linux-newbie-8/configuring-xorg-on-my-emac-a1002-774509/)

silasj 12-09-2009 11:04 AM

Configuring Xorg on my Emac (A1002)
 
Hi everyone, and thanks for taking the time to read this :)

[history]
I got an eMac, model name: A1002, a week ago from my work (yay!) and I wanted to install a linux distribution on it. The one that seemed most likely to work immediately was Yellow Dog Linux, which I then proceeded to download and install. I was unable to install the general build though, because the Xorg server failed to initialize. So I installed an option called "install-text" and was presented to a new friend of mine, bash.

So I decided to read up on it and tried to find a working xorg.conf to imitate. After some hours I was able to find one that seems to go pretty far in the process, the server is still unable to load though :(
[/end history]

So this is where I am right now. Xorg seems to go through a lot of commands but then pauses and fails to start, without presenting any errors in the .cfg file.

I'm not sure whether there's something else I didn't configure, or if it's the xorg.conf I need to edit? The error I'm presented with is:

Code:

giving up
xinit: Connection refused (errno 111): Unable to connect to X server
xinit: No such process (errno 3): Server error


The xorg.conf is as follows:

Code:


Section "ServerLayout"
  Identifier "single head configuration"
  Screen 0 "Screen0" 0 0
  InputDevice "Mouse0" "CorePointer"
  InputDevice "Keyboard0" "CoreKeyboard"
End Section

Section "Files"
  FontPath "unix/:7100"
(I had a path to rgb here, but it was presented as an error for some reason, saying it was an invalid argument in this section :/)
EndSection

Section "Module"
  Load "dbe"
  Load "extmod"
  Load "fbdevhw"
  Load "glx"
  Load "freetype"
  Load "dri"
EndSection

Section "InputDevice"
  Identifier "Keyboard0"
  Driver "keyboard"
  Option "Xkbrules" "xfree86"
  Option "XkbModel" "macintosh"
  Option "XkbLayout" "da"
EndSection

Section "InputDevice"
  Identifier "Mouse0"
  Driver "mouse"
  Option "ZAxisMapping" "4 5"
  Option "Protocol" "IMPS/2"
  Option "Device" "/dev/input/mice"
# Option "Emulate3Buttons" "true"
EndSection

Section "Monitor"
  Modeline "1280x960" "122.25 1280 1320 1424 1696 960 961 964 1002 +hsync +vsync -csync"
  Identifier "Monitor0"
  ModelName "Apple eMac"
  HorizSync 71.0 - 73.0
  VertRefresh 70.0 - 140.0
# Modeline "1280x960" "122.2 1280 1344 1448 1696 960 961 964 1002 +hsync +vsync -csync
  Option "DPMS"
EndSection

Section "Device"
  Identifier "Card0"
  Driver "nv"
  BoardName "NVIDIA GeForce 2 MX (generic)"
  BusId "PCI:0:16:0"
EndSection

Section "Screen"
  Identifier "Screen0"
  Device "Card0"
  Monitor "Monitor0"
  DefaultDepth 24
  Subsection "Display"
    Depth 8
    Modes "1280x960" "1024x768"
  EndSubsection
  Subsection "Display"
    Depth 16
    Modes "1280x960" "1024x768"
  EndSubsection
  Subsection "Display"
    Depth 24
    Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480"
  EndSubsection
EndSection

Section "DRI"
  Group 0
  Mode 0666
EndSection

Thanks for reading :)

racepres 12-09-2009 01:06 PM

While it is not for YDL, there is a tutorial for X settings specifically for the e-mac on a post by oswald kelso.
Google debian install imac verbose. I think you will find it that way. It helped me bunches even when Not using Debian.
Not a typo: search using imac but in the post the emac is specifically covered!
HTH
RP

silasj 12-09-2009 01:55 PM

Quote:

Originally Posted by racepres (Post 3785753)
While it is not for YDL, there is a tutorial for X settings specifically for the e-mac on a post by oswald kelso.
Google debian install imac verbose. I think you will find it that way. It helped me bunches even when Not using Debian.
Not a typo: search using imac but in the post the emac is specifically covered!
HTH
RP

Wow thanks :) I'm not sure if it's correct yet, but it doesn't show any error more, the screen just becomes all black.

Xorg still fails when I try to install the standard build of YDL :( And I'm not really ready for a text-only linux, I don't know it's not revelant to the topic, but do you know if it's possible to do anything about this?

edit: found a guide, thanks for the help :D

the .conf that worked

Code:

#tested on eMac, ATI 1.25 GHz
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
Option "XkbOptions" "lv3:lwin_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Device"
Identifier "Configured Video Device"
BusID "PCI:0:16:0"
Option "UseFBDev" "true"
Option "ConnectorTable" "100,1,0,1,108,2,0,1"
Option "ReverseDDC" "true"
Option "AGPMode" "4"
EndSection



Section "Monitor"
Identifier "Configured Monitor"


#Note: This set for 1280x960 resolution to change see below.
#Add a # to Modeline and Option NOT required.
#remove # to Modeline and Option required (just one modeline and option "PreferredMode"per monitor)
# save to changes. Then reboot.

#Modeline "800x600_112.00" 76.84 800 848 936 1072 600 601 604 640 +hsync +vsync
#Option "PreferredMode""800x600_112.00"

#Modeline "1024x768_89.00" 99.07 1024 1088 1200 1376 768 769 772 809 +hsync +vsync
#Option "PreferredMode" "1024x768_89.00"

#Modeline "1152x870_80.00" 113.11 1152 1224 1352 1552 870 871 874 911 +hsync +vsync
#Option "PreferredMode" "1152x870_80.00

Modeline "1280x960_72.00" 124.54 1280 1368 1504 1728 960 961 964 1001 +HSync +Vsync
Option "PreferredMode" "1280x960_72.00"



EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
EndSection



All times are GMT -5. The time now is 11:13 PM.