You are not logged in.
Pages: 1
I have a 19" TFT connected to my onboard vga, i use the analog cable. I tried to change my xorg.conf and now my DE wont even start.
when i give 'start kde' i get an error:
Display not set or cannot connect to X server
When i add 'kdm' to my daemons, system is like it isnt even there, it starts at console.
Here's my xorg:
(please pay attetion to those lines i changed:
HorizSync 60
VertRefresh 60
)
Section "Files"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/TTF"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,gr"
Option "XkbOptions" "grp:ctrl_shift_toggle,lv3:ralt_switch,eurosign:e"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "Module"
Load "dbe"
Load "freetype"
Load "glx"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection
Section "Device"
Identifier "My Graphics Card"
Driver "nvidia"
# Option "DynamicTwinView" "false"
Option "RenderAccel" "true"
Option "CursorShadow" "true"
Option "HWCursor" "true"
Option "TripleBuffer" "true"
# Option "ConnectedMonitor" "DFP"
# Option "ConnectedMonitor" "CRT"
Option "InitialPixmapPlacement" "2"
Option "GlyphCache" "1"
EndSection
Section "Extensions"
Option "Composite" "enable"
EndSection
Section "Monitor"
Identifier "My Monitor"
Option "DPMS" "True"
Option "DPI" "96 x 96"
HorizSync 60
VertRefresh 60
#Modeline "1280x960@100" 178.992 1280 1376 1520 1760 960 961 964 1017 +hsync +vsync
#Modeline "1152x864@100" 143.472 1152 1232 1360 1568 864 865 868 915 +hsync +vsync
#Modeline "1024x768@120" 166.71 1024 1056 1688 1720 768 780 795 807 +hsync +vsync
#Modeline "1600x1200@85" 300.92 1600 1632 2768 2800 1200 1222 1239 1261 +hsync +vsync
EndSection
Section "Screen"
Identifier "Default Screen"
Device "My Graphics Card"
Monitor "My Monitor"
Option "UseEvents" "true"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
Viewport 0 0
EndSubSection
Option "AddARGBGLXVisuals" "true"
# Option "PixmapCacheSize" "1000000"
# Option "AllowSHMPixmaps" "0"
EndSection
Arch Linux in da house
Offline
for a kickoff - HorizSync is usually 30 - 82 or even 30 - 90 for a lcd.
also -have you set your DISPLAY environmental variable?
usually, one starts X with 'startx' which does some of the initialization stuff before it starts up your default desktop (/etc/sysconfig/desktop) or if you have your own .xinitrc instead of the default (etc/X11/xinit/xinitrc)
[edit]: changed /etc/X11/xinit/xinitrc.kde to /etc/X11/xinit/xinitrc (was on a non-arch distro when I wrote it)
Last edited by perbh (2008-11-03 18:10:38)
Offline
Or you can try deleting xorg.conf and see if it still works...
Also, KDM should not be started as a daemon but in /etc/inittab as the wiki states.
Offline
for a kickoff - HorizSync is usually 30 - 82 or even 30 - 90 for a lcd.
also -have you set your DISPLAY environmental variable?usually, one starts X with 'startx' which does some of the initialization stuff before it starts up your default desktop (/etc/sysconfig/desktop) or if you have your own .xinitrc instead of the default (etc/X11/xinit/xinitrc)
[edit]: changed /etc/X11/xinit/xinitrc.kde to /etc/X11/xinit/xinitrc (was on a non-arch distro when I wrote it)
I found and put the right values in my xorg.conf, i believe its alright now.
i start my KDE as a daemon, but i still have my desktop hanging at strange moments and my resolution is 1024x768, though i have set 1280x1024 on my xorg.
Arch Linux in da house
Offline
Sorry - didn't read your post properly (I read 'startkde' instead of 'startkdm')
In any case - I have often seen propblems with the dm's of this world. What if you tried a console login and then a plain 'startx'?
Also - you have a lot of 'exotic' entries in your xorg.conf - what about trying a plain:
bash# X -configure
and use this as a startpoint?
Last edited by perbh (2008-11-03 21:43:03)
Offline
@perbh
I managed to start my KDE but it keeps crashing so i am using xfce4 for now.
Resolution still is 1024x768.
A friend suggested that it could be that it reads wrong some EDID info from my monitor. How could it be?
I also have a second pc connected to my monitor - could that be a problem?
Arch Linux in da house
Offline
Post the output of this for us:
lspci | grep VGA
Nvidia utility fixes Xorg really good
Last edited by ferral-cat (2008-11-04 00:36:33)
Offline
Post the output of this for us:
lspci | grep VGA
Nvidia utility fixes Xorg really good
i got this:
02:00.0 VGA compatible controller: nVidia Corporation GeForce 8200 (rev a2)
Arch Linux in da house
Offline
Are you sure that yours is not FX series card? I had to use the FX driver [pacman -S nvidia-173xx] and here is mine:
[daka@daRk_aLLeY ~]$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400 GS (rev a1)
[daka@daRk_aLLeY ~]$
Which driver did you use? pacman -S nvidia-173xx or pacman -S nvidia-96xx ?
Offline
Anyways,
Assuming you install the correct driver then Nvidia will ask you "do you want to overwrite XConf?" and I recommend that you let Nvidia create its own Xconf automatically and then you reboot your PC
Tell me this: what happens at the command prompt when you type "startx"? Same error as "startkde"?
Offline
@perbh
Resolution still is 1024x768.
You resolution is still in 1024x768 because this is the only resolution you have in Modes in Section "Screen".
Put in there all the supported modes of your screen, or at least that/those you want to use e.g.
Modes "1280x960" "1152x864" "1024x768"
If you still have problems paste here the output of:
cat /var/log/Xorg.0.log | grep EE
Offline
Are you sure that yours is not FX series card? I had to use the FX driver [pacman -S nvidia-173xx] and here is mine:
[daka@daRk_aLLeY ~]$ lspci | grep VGA 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400 GS (rev a1) [daka@daRk_aLLeY ~]$
Which driver did you use? pacman -S nvidia-173xx or pacman -S nvidia-96xx ?
i did pacman -S nvidia and it installed 177.8
Arch Linux in da house
Offline
Anyways,
Assuming you install the correct driver then Nvidia will ask you "do you want to overwrite XConf?" and I recommend that you let Nvidia create its own Xconf automatically and then you reboot your PC
Tell me this: what happens at the command prompt when you type "startx"? Same error as "startkde"?
it dont prompt nothing.
I have tried many things with my xorg, non worked.
Arch Linux in da house
Offline
nikchris wrote:@perbh
Resolution still is 1024x768.You resolution is still in 1024x768 because this is the only resolution you have in Modes in Section "Screen".
Put in there all the supported modes of your screen, or at least that/those you want to use e.g.
lol, i guess u didnt see my xorg. Its the correct resolution
Arch Linux in da house
Offline
my basic problem is that my arch freezes all the time.
Let me post some logs and configuration files i uploaded on a different forum.
http://www.adslgr.com/forum/showpost.ph … count=4196
and
http://www.adslgr.com/forum/showpost.ph … count=4198
Last edited by nikchris (2008-11-11 22:33:56)
Arch Linux in da house
Offline
Pages: 1