• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

Linux on my B&W!

QuadSix50

Well-known member
Ok, time for me to go to sleep....I'll swing by the IRC channel tomorrow to help out some more if you still have problems.

In the meantime, do check out the page I linked in my earlier posts. It's got some really good tips on what each directory is for and some basic useful commands. If you want a good book on GNU/Linux, I recommend the O'Reilly Media "Running Linux, Fifth Edition" book. Very handy book for when you're working with GNU/Linux.

http://www.oreilly.com/catalog/runlinux5/

There's also a small pocket guide called (appropriately enough :p ) "Linux Pocket Guide":

http://www.oreilly.com/catalog/linuxpg/

 

MacTCP

Well-known member
OK, progress!
You're missing the DefaultDepth 24 in the Section "Screen". Place it right on a line before SubSection "Display". Also, change Modes "2048x1536" to Modes "1024x768". Save the file and try again.

If it still doesn't work, change the DefaultDepth from 24 to 16 and move the Modes to the SubSection with the Depth of 16.
No good. I tried each depth too. It just boots into 800x600, and is unable to be changed. :?:

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

Section "Files"
RgbPath      "/usr/share/X11/rgb"
ModulePath   "/usr/lib/xorg/modules"
FontPath     "/usr/share/fonts/TTF"
FontPath     "/usr/share/fonts/OTF"
FontPath     "/usr/share/fonts/Type1"
FontPath     "/usr/share/fonts/misc"
FontPath     "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
Load  "GLcore"
Load  "xtrap"
Load  "dbe"
Load  "dri"
Load  "extmod"
Load  "record"
Load  "glx"
Load  "type1"
Load  "freetype"
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"
       ### Available Driver options are:-
       ### Values: : integer, : float, : "True"/"False",
       ### : "String", : " Hz/kHz/MHz"
       ### [arg]: arg optional
       #Option     "NoAccel"            	# []
       #Option     "SWcursor"           	# []
       #Option     "Dac6Bit"            	# []
       #Option     "Dac8Bit"            	# []
       #Option     "DMAForXv"           	# []
       #Option     "ForcePCIMode"       	# []
       #Option     "CCEPIOMode"         	# []
       #Option     "CCENoSecurity"      	# []
       #Option     "CCEusecTimeout"     	# 
       #Option     "AGPMode"            	# 
       #Option     "AGPSize"            	# 
       #Option     "RingSize"           	# 
       #Option     "BufferSize"         	# 
       #Option     "EnablePageFlip"     	# []
       #Option     "Display"            	# 
       #Option     "PanelWidth"         	# 
       #Option     "PanelHeight"        	# 
       #Option     "ProgramFPRegs"      	# []
       #Option     "UseFBDev"           	# []
       #Option     "VideoKey"           	# 
       #Option     "ShowCache"          	# []
       #Option     "VGAAccess"          	# []
Identifier  "Card0"
Driver      "ati"
VendorName  "ATI Technologies Inc"
BoardName   "Rage 128 RE/SG"
BusID       "PCI:0:16: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 "1024x768"
EndSubSection
EndSection
 

QuadSix50

Well-known member
Do you still have any straggler xorg.conf or xorg.conf.new files in either the /root directory or your new user's home directory? If so, those will take precedence over the one in /etc/X11. Delete the ones in each user's respective home directory and try startx again.

 

QuadSix50

Well-known member
Hmm....try switching the driver in Section "Device" from "ati" to "r128" and see if this works. Sometimes the "ati" driver, while usually able to encompass all the ATI cards, doesn't always work well with the Rage 128 cards.

 

MacTCP

Well-known member
It didn't do anything.

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

Section "Files"
RgbPath      "/usr/share/X11/rgb"
ModulePath   "/usr/lib/xorg/modules"
FontPath     "/usr/share/fonts/TTF"
FontPath     "/usr/share/fonts/OTF"
FontPath     "/usr/share/fonts/Type1"
FontPath     "/usr/share/fonts/misc"
FontPath     "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
Load  "GLcore"
Load  "xtrap"
Load  "dbe"
Load  "dri"
Load  "extmod"
Load  "record"
Load  "glx"
Load  "type1"
Load  "freetype"
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"
       ### Available Driver options are:-
       ### Values: : integer, : float, : "True"/"False",
       ### : "String", : " Hz/kHz/MHz"
       ### [arg]: arg optional
       #Option     "NoAccel"            	# []
       #Option     "SWcursor"           	# []
       #Option     "Dac6Bit"            	# []
       #Option     "Dac8Bit"            	# []
       #Option     "DMAForXv"           	# []
       #Option     "ForcePCIMode"       	# []
       #Option     "CCEPIOMode"         	# []
       #Option     "CCENoSecurity"      	# []
       #Option     "CCEusecTimeout"     	# 
       #Option     "AGPMode"            	# 
       #Option     "AGPSize"            	# 
       #Option     "RingSize"           	# 
       #Option     "BufferSize"         	# 
       #Option     "EnablePageFlip"     	# []
       #Option     "Display"            	# 
       #Option     "PanelWidth"         	# 
       #Option     "PanelHeight"        	# 
       #Option     "ProgramFPRegs"      	# []
       #Option     "UseFBDev"           	# []
       #Option     "VideoKey"           	# 
       #Option     "ShowCache"          	# []
       #Option     "VGAAccess"          	# []
Identifier  "Card0"
Driver      "r128"
VendorName  "ATI Technologies Inc"
BoardName   "Rage 128 RE/SG"
BusID       "PCI:0:16: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 "1024x768"
EndSubSection
EndSection
 

QuadSix50

Well-known member
Did you try changing the DefaultDepth to 16 and then modifying the Subsection "Display" that says Depth 16 to include Modes "1024x768"?

 

QuadSix50

Well-known member
Hmm......at this point I'm stumped. Let me modify it and post my changes. Try it out once it's up there by saving the text to xorg.conf and post back the results.

 

QuadSix50

Well-known member
Ok, try these settings and see if they work for you. Save the following to your xorg.conf file in /etc/X11.

On the lines for the monitor's horizontal sync and vertical refresh, I put in the values for my monitor as a sample. Use the exact settings for your monitor so you don't damage it with the wrong settings. You can exclude my comments and the hash symbols before it in the actual xorg.conf file.

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

Section "Files"
  RgbPath      "/usr/share/X11/rgb"
  ModulePath   "/usr/lib/xorg/modules"
  FontPath     "/usr/share/fonts/TTF"
  FontPath     "/usr/share/fonts/OTF"
  FontPath     "/usr/share/fonts/Type1"
  FontPath     "/usr/share/fonts/misc"
  FontPath     "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
  Load  "xtrap"
  Load  "dbe"
  Load  "extmod"
  Load  "record"
  Load  "glx"
  Load  "type1"
  Load  "freetype"
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"
  HorizSync	31.5 - 87   # <--This line is a sample!  Check the horiz. sync for your monitor!
  VertRefresh	40-90     # <--This line is a sample!  Check the vert. refresh for your monitor!
EndSection

Section "Device"
       ### Available Driver options are:-
       ### Values: : integer, : float, : "True"/"False",
       ### : "String", : " Hz/kHz/MHz"
       ### [arg]: arg optional
       #Option     "NoAccel"               # []
       #Option     "SWcursor"              # []
       #Option     "Dac6Bit"               # []
       #Option     "Dac8Bit"               # []
       #Option     "DMAForXv"              # []
       #Option     "ForcePCIMode"          # []
       #Option     "CCEPIOMode"            # []
       #Option     "CCENoSecurity"         # []
       #Option     "CCEusecTimeout"        # 
       #Option     "AGPMode"               # 
       #Option     "AGPSize"               # 
       #Option     "RingSize"              # 
       #Option     "BufferSize"            # 
       #Option     "EnablePageFlip"        # []
       #Option     "Display"               # 
       #Option     "PanelWidth"            # 
       #Option     "PanelHeight"           # 
       #Option     "ProgramFPRegs"         # []
       #Option     "UseFBDev"              # []
       #Option     "VideoKey"              # 
       #Option     "ShowCache"             # []
       #Option     "VGAAccess"             # []
  Identifier  "Card0"
  Driver      "ati"
  VendorName  "ATI Technologies Inc"
  BoardName   "Rage 128 RE/SG"
  BusID       "PCI:0:16:0"
EndSection

Section "Screen"
  Identifier "Screen0"
  Device     "Card0"
  Monitor    "Monitor0"
DefaultDepth 16
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
     Modes	"1024x768"
  EndSubSection
  SubSection "Display"
     Viewport   0 0
     Depth     24
  EndSubSection
EndSection
 

MacTCP

Well-known member
No screens found [:)] ]'> The stuff I had to enter is apparently correct. Now what do I do???

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

Section "Files"
  RgbPath      "/usr/share/X11/rgb"
  ModulePath   "/usr/lib/xorg/modules"
  FontPath     "/usr/share/fonts/TTF"
  FontPath     "/usr/share/fonts/OTF"
  FontPath     "/usr/share/fonts/Type1"
  FontPath     "/usr/share/fonts/misc"
  FontPath     "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
  Load  "xtrap"
  Load  "dbe"
  Load  "extmod"
  Load  "record"
  Load  "glx"
  Load  "type1"
  Load  "freetype"
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"
  HorizSync   30 - 95 
  VertRefresh   50-200
EndSection

Section "Device"
       ### Available Driver options are:-
       ### Values: : integer, : float, : "True"/"False",
       ### : "String", : " Hz/kHz/MHz"
       ### [arg]: arg optional
       #Option     "NoAccel"               # []
       #Option     "SWcursor"              # []
       #Option     "Dac6Bit"               # []
       #Option     "Dac8Bit"               # []
       #Option     "DMAForXv"              # []
       #Option     "ForcePCIMode"          # []
       #Option     "CCEPIOMode"            # []
       #Option     "CCENoSecurity"         # []
       #Option     "CCEusecTimeout"        # 
       #Option     "AGPMode"               # 
       #Option     "AGPSize"               # 
       #Option     "RingSize"              # 
       #Option     "BufferSize"            # 
       #Option     "EnablePageFlip"        # []
       #Option     "Display"               # 
       #Option     "PanelWidth"            # 
       #Option     "PanelHeight"           # 
       #Option     "ProgramFPRegs"         # []
       #Option     "UseFBDev"              # []
       #Option     "VideoKey"              # 
       #Option     "ShowCache"             # []
       #Option     "VGAAccess"             # []
  Identifier  "Card0"
  Driver      "ati"
  VendorName  "ATI Technologies Inc"
  BoardName   "Rage 128 RE/SG"
  BusID       "PCI:0:16:0"
EndSection

Section "Screen"
  Identifier "Screen0"
  Device     "Card0"
  Monitor    "Monitor0"
DefaultDepth 16
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
     Modes   "1024x768"
  EndSubSection
  SubSection "Display"
     Viewport   0 0
     Depth     24
  EndSubSection
EndSection
 

QuadSix50

Well-known member
Open up a terminal and type the following:

Code:
cat /var/log/Xorg.0.log | grep xorg.conf*
Post here the output of that command. I'm curious to see what the path is to the xorg.conf file.

When I do the above command on my Slackware box, it shows me the following:

Code:
(==) Using config file: "/etc/X11/xorg.conf"
 

MacTCP

Well-known member
doing it a second (3rd, 4th…) time says no file or directory for I, grep, xorg.conf*, and /var/log/Xorg.0.log

oh, the first time, I was already in /etc/X11/ because I was editin xorg.conf

So what does this mean? how do I get startx to work again, preferably with a better resolution?

 

QuadSix50

Well-known member
No, it's not an "I"...it's the pipe symbol "|". Hold down shift and hit the backslash button.

Here's the command again:

Code:
cat /var/log/Xorg.0.log | grep xorg.conf*
 
Top