LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-09-2009, 11:04 AM   #1
silasj
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Rep: Reputation: 0
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
 
Old 12-09-2009, 01:06 PM   #2
racepres
Member
 
Registered: Feb 2009
Location: central Michigan
Distribution: Puppy/Debian/Mandriva
Posts: 56

Rep: Reputation: 18
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
 
Old 12-09-2009, 01:55 PM   #3
silasj
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by racepres View Post
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

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

Last edited by silasj; 12-10-2009 at 02:11 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring xorg.conf galliar Ubuntu 2 09-20-2007 01:01 PM
configuring Xorg 7+ cougyr Debian 20 10-08-2006 08:28 AM
hand configuring xorg redduck666 Linux - Software 2 04-17-2005 08:49 AM
Configuring Xorg for TV Out hussar Linux - Software 0 01-01-2005 05:16 AM
Re:Configuring xorg with twinview MunCH Slackware 2 06-22-2004 06:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration