| Click here to select a new forum. |
| Linux on my B&W! |
Posted by: MacTCP on 2008-02-12 15:38:55 Well I created a new account other than root. When I startx, it aborts it. -__- So what did I do wrong? 😛
|
Posted by: MacTCP on 2008-02-12 15:40:17 Well he doesn't have a xorg.conf file or anything, and I don't know how to create one.
|
Posted by: MacTCP on 2008-02-12 19:14:16 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?
|
Posted by: QuadSix50 on 2008-02-12 19:51:52 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.
|
Posted by: MacTCP on 2008-02-12 20:16:01 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???
|
Posted by: QuadSix50 on 2008-02-12 20:19:36 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.
|
Posted by: MacTCP on 2008-02-12 20:20:24 I ran xwmconfig on my user.
Then I did startx
Result
Now what did I do? 😛
|
Posted by: QuadSix50 on 2008-02-12 20:24:09
I ran xwmconfig on my user.Then I did startx
Result
Now what did I do? 😛 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).
|
Posted by: MacTCP on 2008-02-12 20:28:11
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.
|
Posted by: MacTCP on 2008-02-12 20:33:17 The backup is fried too…now what?
P.S. I moved it, so both root and the user get the error! (so it is working) 🙂
|
Posted by: QuadSix50 on 2008-02-12 20:34:07 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.
|
Posted by: MacTCP on 2008-02-12 20:35:15 How do I edit it in the console?
|
Posted by: QuadSix50 on 2008-02-12 20:37:10 Use the GNU nano editor.
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.
|
Posted by: MacTCP on 2008-02-12 20:44:52 How do I save?
|
Posted by: QuadSix50 on 2008-02-12 20:46:17 Control-X to exit and it will prompt you to save, Control-O to "WriteOut" (or "save") without leaving nano.
|
Posted by: MacTCP on 2008-02-12 20:49:07 Same error…
|
Posted by: QuadSix50 on 2008-02-12 20:51:04
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.
|
Posted by: MacTCP on 2008-02-12 20:55:47
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.
|
Posted by: MacTCP on 2008-02-12 20:59:10 Path: /etc/X11
Insidies:
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 |
Posted by: QuadSix50 on 2008-02-12 21:24:20 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.
|
| < 3 > |