Xterm lässt sich nicht starten

L

Leno

Guest
Wie der Title schon sagt bin ich nicht mehr n der Lage Xterm zu starten. Ich habe FreeBSD 5.3 beta4 laufen. System einschließlich Ports mit
Code:
CPUTYPE=p3
CFLAGS= -O2 -pipe
COPTFLAGS= -O2 -pipe
übersetzt. Danach lief noch alles sauber. Nun habe ich die Standard xorg.conf angepasst an meinen Rechner. Die Config habe ich von einer Xf86Config leicht abgewandelt übernommen. Sie sieht folgendermasseb aus:
Code:
Section "Module"
    Load        "dbe"
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "speedo"
    Load        "freetype"
    Load        "glx"
    Load        "dri"
    Load        "record"
    Load        "xtrap"
EndSection

Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    ModulePath "/usr/X11R6/lib/modules"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/webfonts/"
    FontPath   "/usr/X11R6/lib/X11/fonts/bistream-vera/"
    FontPath   "/usr/local/share/ghostscript/fonts/"
EndSection

Section "ServerFlags"
    Option      "Xinerama" "no"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "Keyboard"
    Option "AutoRepeat" "500 30"
    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc102"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol"    "Auto"
    Option      "Device"      "/dev/sysmouse"
    Option      "ZAxisMapping" "4 5"
    Option      "Emulate3Buttons" "no"
EndSection

Section "Monitor"
    Identifier  "Monitor0"
    VendorName  "IBM"
    ModelName   "internal TFT"
    UseModes    "a30pModes"
EndSection

Section "Modes"
 Identifier "a30pModes"
 Modeline       "640x480" 27.96 640 656 720 864 480 480 485 501
 Modeline       "800x600" 43.68 800 816 928 1072 600 600 606 626
 Modeline       "1024x768" 71.39 1024 1040 1216 1400 768 768 776 802
 Modeline       "1152x864" 90.48 1152 1168 1384 1568 864 864 873 902
 Modeline       "1280x960" 111.82 1280 1296 1552 1736 960 960 970 1003
 Modeline       "1280x1024" 119.28 1280 1296 1552 1736 1024 1024 1035 1070
 Modeline       "1600x1200" 167.23 1600 1616 1968 2208 1200 1200 1212 1253
EndSection

Section "Device"
    Identifier  "card0"
    Driver      "radeon"
    #VideoRam    32768
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier  "Screen0"
    Device      "card0"
    Monitor     "Monitor0"
    DefaultDepth 24

    SubSection "Display"
        Depth       1
        Modes       "1600x1200" "1280x1024" "1024x768"
    EndSubSection
    SubSection "Display"
        Depth       4
        Modes       "1600x1200" "1280x1024" "1024x768"
    EndSubSection
    SubSection "Display"
        Depth       8
        Modes       "1600x1200" "1280x1024" "1024x768"
    EndSubSection
    SubSection "Display"
        Depth       15
        Modes       "1600x1200" "1280x1024" "1024x768"
    EndSubSection
    SubSection "Display"
        Depth       16
        Modes       "1600x1200" "1280x1024" "1024x768"
    EndSubSection
    SubSection "Display"
        Depth       24
        Modes       "1600x1200" "1280x1024" "1024x768"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier  "xorg configured"
    Screen  0   "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "DRI"
    Group       "video"
    Mode        0660
EndSection

Ein erstes Google brachte jemanden der das gleiche Problem hatte: Die Lösung war eine Installation von Xterm mit
Code:
make WITH_SETUID_LUIT=yes
Also Xterm gelöscht und auf diese Weise neu installiert. Doch das Problem bleibt bestehen.

Beim ersten start erscheint kurz das Xtermfenster und verschwindet innerhalb eines Bruchteils einer Sekunde. Es wird keine Fehlermeldung ausgegeben. Bei weiteren Startversuchen erscheint nicht mal mehr das Fenster.

Sind da evtl die Compilerflags dran schuld, oder die xorg.conf?

Ich hoffe mir kann jemand helfen oder zumindest einen Tip geben!

Leno

P.S. Als Windowmanager läuft fvwm2-devel.
 
Compilerflags in /etc/make.conf

Code:
CPUTYPE=p3
CFLAGS= -O2 -pipe
COPTFLAGS= -O2 -pipe

Meine persönliche, schmerzvolle Erfahrung mit Compilerflags in /etc/make.conf:

- Compilerflags in /etc/make.conf handeln Dir nur Probleme ein.
- O2-Optimierung ist meistens langsamer als die Standartoptimierung!!
- Ports wie multimedia/mplayer schätzen kein CPUTYPE!
- O2-Optimierung für /usr/src wird offiziell nicht unterstützt

Deine Compilierflags bringen Dir nur Probleme ein, welche Stunden kosten, statt Sekunden bringen!
 
Ok! Dabei sind das ja noch recht harmlose Optimierungen. Also werde ich sie mal wieder rausnehmen und schauen ob das doch die Ursache ist. (Hope so).

Danke erstmal fürs antworten.
 
Update: Auch ein ohne diese Flags gebautes Xterm lässt sich nicht starten. Teste nochmal die Standart xorg.conf.

UpdateII: Auch eine neue Standard Xorg.conf brachte keine Besserung.

UpdateIII: Jetzt komme ich mir gerade verarscht vor. Nach einem Reboot ist Xtrem wieder da. Starnge?!

Danke trotzdem.
 
Zuletzt bearbeitet von einem Moderator:
Zurück
Oben