LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   startx (KDE) and xorgcfg problem (https://www.linuxquestions.org/questions/linux-newbie-8/startx-kde-and-xorgcfg-problem-290071/)

Grindcore 02-14-2005 10:04 AM

startx (KDE) and xorgcfg problem
 
Hey All

Today I upgraded my Slackware 10.0 to Slackware 10.1

This time some strange things happens. When I run startx my Monitor says "out of range" no problem so far. I used xorgcfg and played around with it a few times. Now when I start my X (KDE) it still says "out of range" but with "CTRL and Alt and +" I can switch the resolution of the screen.

This made me able to run my Monitor in 1024 x 768 Resolution. I also was able to run the
control Center and change my Display Size in the Peripherals. 1280 x 1024 ;)

Now I thought.. WELL everything is fine, But if I restart again the KDE (startx)
It still says "out of range" and I have to repeat the "CTRL and Alt and +" process until my Resolution is the right one.

Maybe it was the wrong turn to choose xorgcfg to set my Resolution etc.. but I am not very good with the /etc/X11/xorg.conf

here you can take a look at my current /etc/X11/xorg.conf (I bet something is more then just wrong with it.. but I am too n00b to figure it out .. sorry about)

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

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "dri"
Load "glx"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30.0 - 80.0
VertRefresh 56.0 - 80.0
EndSection

Section "Device"

### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
Identifier "Card0"
Driver "nv"
VendorName "nVidia Corporation"
BoardName "NV31 [GeForce FX 5600]"
BusID "PCI:2:0: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
EndSubSection
EndSection

and here are the statistics of my Monitor:

Princeton P19MS
SXGA 1280 x1024
Hsync = 30 - 80
Vsync = 56 - 80 Hz
600:1
16 Million Colors

Your Grateful :newbie:

masand 02-14-2005 11:22 AM

there are no modes listed in ur file
here is from my xorg.conf

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection


make changes in ur file as above

regards

Grindcore 02-14-2005 12:00 PM

Thanks masand

That helped very much...

Everything works now I am very grateful

Thanks again ;)

masand 02-14-2005 12:23 PM

glad that it worked :D


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