View previous topic :: View next topic |
Author |
Message |
Oli_K76 n00b
Joined: 07 Apr 2005 Posts: 61 Location: Deutschland
|
Posted: Fri Aug 25, 2006 2:02 pm Post subject: xorg 7.0 Newbie |
|
|
Hi,
ich kenne mich mit X-Server, xorg, gnome, xdm usw garnicht aus.
Ich war froh als xorg 6.9 lief doch nach Systemupdate auf 7.0 bin ich etwas ratlos.
Also:
Ich starte meinen X-Server mit startx ^^.
Als Login-Manager??? starte ich /etc/init.d/xdm bzw habs über rc-update automatisch.
Durch ein Howto habe ich in /etc/rc.conf den Displaymanager auf:
Code: | DISPLAYMANAGER="gdm" |
geändert, vorher xdm.
Wenn ich jetzt startx eingebe, kommt folgende Meldung:
Möchten Sie GDM_Failsafe.XTERM.desktop zur Vorgabe für künftige Sitzungen machen?
Ihr bevorzugter Sitzungstyp GNOME ist auf diesem Rechner nicht installiert.
Dann mache ich "Nur anmelden", dann kracht mir schonmal mein x11vnc weg, welches ich mit " x11vnc -rfbauth /root/.vnc/passwd -display :0 -auth /var/gdm/:0.Xauth
" gestartet habe.
Dann braucht Gnome extrem lange um hochzufahren.
Dann kommt:
Die Einstellungen der X-Systemtastatur weichen von Ihren momentanen GNOME-Tastatureinstellungen ab. Welchen Satz wollen Sie verwenden?
Ich nehme GNOME, dann dauerts wieder ewig.
Allgemein brauchen Applikationen ewig zum starten und reagieren auch träge.
Verzeiht mir, dass ich nicht viel mit x, gdm, gnome usw. anfangen kann, da ich bisher immer auf der shell gearbeitet habe.
Lief alles einwandfrei vor Systemupdate. Habe auch gcc aktuallisiert nach Anleitung mit revdep-rebuild usw.
Habe damals auch viel in verschiedenen Config-Files rumgepopelt, da ich das @, und | nicht in den Programmen bzw. der Konsole hatte.
Kann mir jemand etwas auf die Sprünge helfen?
Code: | /var/log/xdm.log
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
/usr/lib/X11/xdm/Xsetup_0: line 3: xconsole: command not found
FreeFontPath: FPE "/usr/share/fonts/misc/:unscaled" refcount is 2, should be 1; fixing.
|
Code: | /var/log/Xorg.0.log
(**) Option "XkbVariant" "nodeadkeys"
(**) Keyboard1: XkbVariant: "nodeadkeys"
(**) Option "CustomKeycodes" "off"
(**) Keyboard1: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(II) Mouse1: ps2EnableDataReporting: succeeded
AUDIT: Fri Aug 25 16:50:02 2006: 7209 X: client 13 rejected from local host |
Code: | /var/log/syslog
Aug 25 16:46:39 localhost gconfd (root-7312): (Version 2.14.0) wird gestartet, Prozesskennung 7312, Benutzer »root«
Aug 25 16:46:39 localhost gconfd (root-7312): Die Adresse »xml:readonly:/etc/gconf/gconf.xml.mandatory« wurde an der Position 0 zu einer nur lesbaren Konfigurationsquelle aufgelöst
Aug 25 16:46:39 localhost gconfd (root-7312): Die Adresse »xml:readwrite:/root/.gconf« wurde an der Position 1 zu einer schreibbaren Konfigurationsquelle aufgelöst
Aug 25 16:46:39 localhost gconfd (root-7312): Die Adresse »xml:readonly:/etc/gconf/gconf.xml.defaults« wurde an der Position 2 zu einer nur lesbaren Konfigurationsquelle aufgelöst
Aug 25 16:50:01 localhost cron[7337]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Aug 25 16:50:02 localhost gconfd (root-7312): Die Adresse »xml:readwrite:/root/.gconf« wurde an der Position 0 zu einer schreibbaren Konfigurationsquelle aufgelöst
|
Code: | /var/log/gdm/:0.log
(EE) Failed to load module "vnc" (module does not exist, 0)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
AUDIT: Fri Aug 25 16:50:02 2006: 7209 X: client 13 rejected from local host
|
Code: | Failed to load module "vnc" (module does not exist, 0) |
Steh noch vom alten VNC drinne.
Besten Dank |
|
Back to top |
|
|
Oli_K76 n00b
Joined: 07 Apr 2005 Posts: 61 Location: Deutschland
|
Posted: Fri Aug 25, 2006 4:41 pm Post subject: |
|
|
Oder wir kann ich X + Gnome inklusive aller Config-Files runterschmeißen um es nochmals sauber zu installieren? |
|
Back to top |
|
|
Garwin Tux's lil' helper
Joined: 21 Jun 2004 Posts: 145 Location: Leipzig
|
Posted: Tue Aug 29, 2006 3:00 pm Post subject: |
|
|
Also ich starte hier xdm und in /etc/rc.conf hab ich DISPLAYMANAGER="kdm" und XSESSION="kde-3.5"
Sieh mal in /etc/X11/Sessions nach. Bei mir steht dort Gnome. Eventuell hast du ein Problem damit, das in der rc.conf Groß- und Kleinschreibung eine Rolle spielt. Ich habs nicht ausprobiert, ist nur so eine Vermutung. Also einfach mal nachsehen wie die Session heißen muß.
Viel Glück. |
|
Back to top |
|
|
Oli_K76 n00b
Joined: 07 Apr 2005 Posts: 61 Location: Deutschland
|
Posted: Tue Aug 29, 2006 6:15 pm Post subject: |
|
|
Hi,
hatte das schon auf Gnome angepasst, sry.
Fenstermanager läuft xdm nicht, muss gdm nehmen.
Es kommt auch nur noch dieser Fehler:
Code: | Die Einstellungen der X-Systemtastatur weichen von Ihren momentanen GNOME-Tastatureinstellungen ab. Welchen Satz wollen Sie verwenden? |
Und die grafische Oberfläche startet extrem langsam, kickt mein VNC nach Login und ist extrem träge. Das starten der Konsole dauert bis zu einer Minute ^^.
xorg.conf:
Code: | Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "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/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "extmod"
Load "dbe"
Load "record"
Load "glx"
Load "xtrap"
Load "dri"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV18 [GeForce4 MX 440 AGP 8x]"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection
|
Jetzt kommt ein neuer Fehler
Code: | Beim Starten des GNOME-Einstellungsdämons ist ein Fehler aufgetreten.
Möglicherweise funktionieren einige Dinge, wie z.B. Themen, Klänge, oder Hintergrundeinstellungen nicht korrekt.
Beim nächsten Anmelden wird GNOME weiterhin versuchen, den Einstellungsdämon neu zu starten. |
Wo kann ich denn überhaupt die Gnome Einstellungen setzen?
Auflösung gibts weiterhin nur 640x480.
Xorg.0.log
Code: | AUDIT: Tue Aug 29 20:55:37 2006: 11486 X: client 5 rejected from local host
Auth name: MIT-MAGIC-COOKIE-1 ID: -1
AUDIT: Tue Aug 29 20:55:50 2006: 11486 X: client 11 rejected from local host
Auth name: MIT-MAGIC-COOKIE-1 ID: -1
AUDIT: Tue Aug 29 20:58:31 2006: 11486 X: client 14 rejected from local host |
xdm.log
Code: | xdm error (pid 7434): Display :0 cannot be opened
xdm error (pid 7434): Display :0 is being disabled |
Sind die einzigen Fehler die ich gefunden habe in den Logs, wobei diese eher auf X11vnc zurückzuführen sind.
Hatte bereits alles neu installiert. |
|
Back to top |
|
|
Oli_K76 n00b
Joined: 07 Apr 2005 Posts: 61 Location: Deutschland
|
Posted: Tue Aug 29, 2006 6:17 pm Post subject: |
|
|
Das habe ich noch gefunden nach dem Befehl startx:
Code: | The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
SESSION_MANAGER=local/olimama:/tmp/.ICE-unix/11490
AUDIT: Tue Aug 29 20:55:37 2006: 11486 X: client 5 rejected from local host
Auth name: MIT-MAGIC-COOKIE-1 ID: -1
AUDIT: Tue Aug 29 20:55:50 2006: 11486 X: client 11 rejected from local host
Auth name: MIT-MAGIC-COOKIE-1 ID: -1
id: (null)
handle: 4
connection: (nil)
properties:
((name "RestartCommand") (type "LISTofARRAY8") (value "gnome-volume-manager" ) (value "--sm-disable"))
** (gnome-session:11490): WARNING **: Failed to send buffer
** (gnome-session:11490): WARNING **: Failed to send buffer
** (gnome-session:11490): WARNING **: Failed to send buffer
** (gnome-session:11490): WARNING **: Failed to send buffer
** (gnome-session:11490): WARNING **: Failed to send buffer
** (gnome-session:11490): WARNING **: Failed to send buffer
** (gnome-session:11490): WARNING **: Failed to send buffer
** (gnome-session:11490): WARNING **: Failed to send buffer
** (gnome-session:11490): WARNING **: Failed to send buffer
** (gnome-session:11490): WARNING **: Failed to send buffer
AUDIT: Tue Aug 29 20:58:31 2006: 11486 X: client 14 rejected from local host
** (gnome-panel:11511): WARNING **: Failed to authenticate with GDM
|
|
|
Back to top |
|
|
Ampheus l33t
Joined: 19 Oct 2005 Posts: 814 Location: Rheine, NRW, Germany
|
Posted: Tue Aug 29, 2006 10:07 pm Post subject: |
|
|
Starte doch einfach mal aus der root console /etc/init.d/xdm mit
Code: | /etc/init.d/xdm start |
Danach ein
Code: | cat /var/log/Xorg.0.log | grep EE |
und ein
Code: | cat /var/log/Xorg.0.log | grep WW |
Diese beiden Ausgaben postest du dann hier. |
|
Back to top |
|
|
Oli_K76 n00b
Joined: 07 Apr 2005 Posts: 61 Location: Deutschland
|
Posted: Wed Aug 30, 2006 7:34 am Post subject: |
|
|
Code: | Current Operating System: Linux olimama 2.6.17-gentoo-r4 #1 SMP PREEMPT Sun Aug 27 14:45:35 CEST 2006 i686
(II) Loading extension MIT-SCREEN-SAVER |
und
Code: | (WW) NVIDIA(0): No connected display devices detected; assuming 1 CRT
(WW) NVIDIA(0): Unable to read EDID for display device CRT-0
(WW) NVIDIA(0): No valid modes for "1024x768"; removing.
(WW) NVIDIA(0):
(WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
(WW) NVIDIA(0): "nvidia-auto-select".
(WW) NVIDIA(0):
(WW) NVIDIA(0): Unable to get display device CRT-0's EDID; cannot compute DPI
(WW) NVIDIA(0): from EDID. |
Also ein NVIDIA Problem?
Hab die Treiber von der NVIDIA-Hompegae genommen und mit nvidia-installer --update die neusten Treiber installiert und Kernel gepatched. |
|
Back to top |
|
|
psyqil Advocate
Joined: 26 May 2003 Posts: 2767
|
Posted: Wed Aug 30, 2006 8:52 am Post subject: |
|
|
Ich sehe keine [Section "Monitor"] in Deiner xorg.conf... |
|
Back to top |
|
|
Oli_K76 n00b
Joined: 07 Apr 2005 Posts: 61 Location: Deutschland
|
Posted: Wed Aug 30, 2006 11:34 am Post subject: |
|
|
Doch hats:
Quote: | Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection |
|
|
Back to top |
|
|
Ampheus l33t
Joined: 19 Oct 2005 Posts: 814 Location: Rheine, NRW, Germany
|
Posted: Wed Aug 30, 2006 2:14 pm Post subject: |
|
|
Wie wäre es, wenn du aus
Code: | VendorName "Monitor Vendor"
ModelName "Monitor Model" |
Code: | Option "VendorName" "Monitor Vendor"
Option "ModelNam"e "Monitor Model" |
machst? So steht es auf jeden Fall in meiner config. |
|
Back to top |
|
|
Oli_K76 n00b
Joined: 07 Apr 2005 Posts: 61 Location: Deutschland
|
Posted: Wed Aug 30, 2006 2:43 pm Post subject: |
|
|
Kommt nur noch der Fehler mit den abweichenden X und GNOME Einstellungen.
Auf startx:
Code: | AUDIT: Wed Aug 30 17:32:54 2006: 11909 X: client 11 rejected from local host
Auth name: MIT-MAGIC-COOKIE-1 ID: -1
AUDIT: Wed Aug 30 17:33:35 2006: 11909 X: client 12 rejected from local host
** (nautilus:11950): WARNING **: Can not get _NET_WORKAREA
** (nautilus:11950): WARNING **: Can not determine workarea, guessing at layout
** (gnome-panel:11946): WARNING **: Failed to authenticate with GDM
id: (null)
handle: 4
connection: (nil)
properties:
((name "RestartCommand") (type "LISTofARRAY8") (value "gnome-volume-manager") (value "--sm-disable"))
|
Code: |
(WW) NVIDIA(0): No connected display devices detected; assuming 1 CRT
(WW) NVIDIA(0): Unable to read EDID for display device CRT-0
(WW) NVIDIA(0): No valid modes for "1024x768"; removing.
(WW) NVIDIA(0):
(WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
(WW) NVIDIA(0): "nvidia-auto-select".
(WW) NVIDIA(0):
(WW) NVIDIA(0): Unable to get display device CRT-0's EDID; cannot compute DPI
(WW) NVIDIA(0): from EDID.
(WW) NVIDIA(0): Option "VendorName" is not used
(WW) NVIDIA(0): Option "ModelName" is not used |
|
|
Back to top |
|
|
Garwin Tux's lil' helper
Joined: 21 Jun 2004 Posts: 145 Location: Leipzig
|
Posted: Wed Aug 30, 2006 3:27 pm Post subject: |
|
|
Versuch mal in deiner Monitor Section Modelines für die von dir bevorzugte Auflösung anzugeben.
Die kannst du dir mit
Code: |
gtf x y refresh [-v|--verbose] [-f|--fbmode] [-x|--xorgmode]
also z.b.
gtf 1024 768 85 -x
# 1024x768 @ 85.00 Hz (GTF) hsync: 68.60 kHz; pclk: 94.39 MHz
Modeline "1024x768_85.00" 94.39 1024 1088 1200 1376 768 769 772 807 -HSync +Vsync
|
berechnen lassen.
Dementsprechend ändert sich dann aber deine Screen Section, da du den Namen der Modeline bei den Modes angeben mußt.
Code: |
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
# 1024x768 @ 85.00 Hz (GTF) hsync: 68.60 kHz; pclk: 94.39 MHz
Modeline "1024x768_85.00" 94.39 1024 1088 1200 1376 768 769 772 807 -HSync +Vsync
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768_85.00"
EndSubSection
EndSection
|
usw.
Außerdem würd ich mal noch einen Blick in die Dokumentation der Nvidia-Treiber werfen. Da gibt es zum Beispiel noch die Möglichkeit dem Treiber zu sagen, das er nicht versuchen soll mittels EDID den Monitor abzufragen. Oder man kann manuell angeben, was für ein Monitor angeschlossen ist.
Code: |
Section "Device"
bla
bla
Option "ConnectedMonitor" "CRT"
EndSection
|
|
|
Back to top |
|
|
|