• Hello MLAers! We've re-enabled auto-approval for accounts. If you are still waiting on account approval, please check this thread for more information.

Linux on my B&W!

Well I created a new account other than root. When I startx, it aborts it. -__- So what did I do wrong? :p

 
Last edited by a moderator:
Here are my problems:

 

1. How do I use a resolution other than 800x600?

2. How do I start KDE and other desktops with my non-root User?

 
Remember that when you created the xorg.conf file, it was put in the root's home directory, a directory that only root has access to. This is why I had mentioned that you should move that file over to /etc/X11 so that it's global for all users.

Here's a copy of my xorg.conf file from my x86 Slackware 12 install. Feel free to copy what you need from it:

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"

FontPath "/usr/share/fonts/MS-Fonts"

EndSection

Section "Module"

Load "glx"

#Load "GLcore"

Load "record"

Load "extmod"

Load "dri"

Load "dbe"

Load "xtrap"

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

VertRefresh 40-90

Option "DPMS" "off"

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 "BusType" # []

#Option "CPPIOMode" # []

#Option "CPusecTimeout" #

Option "AGPMode" "8" #

#Option "AGPFastWrite" "1" # []

#Option "AGPSize" #

Option "GARTSize" "64" #

#Option "RingSize" #

#Option "BufferSize" #

#Option "EnableDepthMoves" # []

Option "EnablePageFlip" "1" # []

#Option "NoBackBuffer" # []

Option "DMAForXv" "1" # []

#Option "FBTexPercent" #

#Option "DepthBits" #

#Option "PCIAPERSize" #

Option "AccelDFS" "1" # []

#Option "DDCMode" # []

#Option "MonitorLayout" # []

#Option "IgnoreEDID" # []

#Option "UseFBDev" "true" # []

#Option "MergedFB" "true" # []

#Option "CRT2HSync" # []

#Option "CRT2VRefresh" # []

#Option "CRT2Position" # []

#Option "MetaModes" # []

#Option "MergedDPI" # []

#Option "MergedXinerama" # []

#Option "MergedXineramaCRT2IsScreen0" # []

#Option "MergedNonRectangular" # []

#Option "MergedMouseRestriction" # []

#Option "DisplayPriority" # []

#Option "PanelSize" # []

#Option "ForceMinDotClock" #

Option "ColorTiling" "on" # []

#Option "VideoKey" #

#Option "RageTheatreCrystal" #

#Option "RageTheatreTunerPort" #

#Option "RageTheatreCompositePort" #

#Option "RageTheatreSVideoPort" #

#Option "TunerType" #

#Option "RageTheatreMicrocPath" #

#Option "RageTheatreMicrocType" #

#Option "ScalerWidth" #

Option "RenderAccel" "1" # []

#Option "SubPixelOrder" # []

#Option "ShowCache" # []

#Option "DynamicClocks" # []

#Option "VGAAccess" # []

#Option "ReverseDDC" # []

#Option "LVDSProbePLL" # []

Option "AccelMethod" "XAA" #

#Option "ConstantDPI" # []

#Option "ReverseDisplay" # []

Option "DRI" "1" # []

Option "TrippleBuffer" "true"

#Option "XAANoOffscreenPixmaps" "true"

Identifier "Card0"

Driver "radeon"

VendorName "ATI Technologies Inc"

BoardName "RV350 AR [Radeon 9600]"

BusID "PCI:2:0:0"

EndSection

Section "Screen"

Identifier "Screen0"

Device "Card0"

Monitor "Monitor0"

Option "RenderAccel" "true"

#Option "AllowGLXWithComposite" "true"

#Option "AddARGBGLXVisuals" "true"

#Option "DisableGLXRootClipping" "True"

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

Section "DRI"

Mode 0666

EndSection

#Section "Extensions"

# Option "Composite" "Enable"

#EndSection
Mine is set for 1024x768 but you can add your resolutions in place of mine.

For each user, you have to run xwmconfig and pick the default desktop (in all honesty, all xwmconfig does is modify the .xinitrc file in each user's home folder). Remember that each user has its own settings, just like each user has a profile in Windows with its own settings or how each user has its own settings in their own home folder in OS X.

 
Last edited by a moderator:
Changing the code for resolutions did nothing. KDE boots stays in 800x600 and won't take no for an answer. Is there any way to change my resolution to the 2048x1536 my monitor is capable of???

 
Note in my xorg.conf file where I commented out the ViewPort on the screen section, as well as where I added what I wanted the default depth to be. Also note in the top of my file in the ServerLayout section that I took off that "0" in between the word "Screen" and "Screen0". Compare those sections from my file with yours and make the necessary changes.

 
I ran xwmconfig on my user.Then I did startx

Result

Now what did I do? :p
Did you finally move that xorg.conf file over to /etc/X11 (making sure you backed up the original by renaming it just in case)? If that file is still sitting in /root, there's no way that the user will be able to access it. You will either have to copy that file into the user's home directory (so Xorg is configured for that user only) or copy it over into /etc/X11 (which would make it accessible to every user on that system).

 
Note in my xorg.conf file where I commented out the ViewPort on the screen section, as well as where I added what I wanted the default depth to be. Also note in the top of my file in the ServerLayout section that I took off that "0" in between the word "Screen" and "Screen0". Compare those sections from my file with yours and make the necessary changes.
Results:

fatal server error:

no screens found

It automatically made a backup, so I'll revert to that. I'll see if it was the absence of the 0 or the adding of the default depth.

 
OK, I requoted my xorg.conf file in the post above and bolded the sections to look out for. Make sure you have those same settings on your xorg.conf file and that it's residing in /etc/X11.

 
Use the GNU nano editor.

Code:
nano xorg.conf
Make sure you're in the same directory as the xorg.conf file that you want to modify when you type that.

 
Same error…
Same error as what you were getting before when running startx?

Are you sure that the video card can handle that high a resolution? Post your newly-updated xorg.conf file and tell me the path where the file is located.

 
Same error…
Same error as what you were getting before when running startx?
Yes. I removed the DefaultDepth thing, and it fixed it. (The error was the screen one mentioned earlier.)

Are you sure that the video card can handle that high a resolution? Post your newly-updated xorg.conf file and tell me the path where the file is located.
Oh, the video card. That's the resolution I use in Mac OS X on my G4 that has a GeForce 6200. Still, 1024x768 doesn't work when I enter it either, and that's what I use at the command prompt. I'll get the file and the path for you now.

 
Path: /etc/X11

Insidies:

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"
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 "2048x1536"
EndSubSection
EndSection
 
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.

 
Back
Top