• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] OpenArena im Autostart durch Xgame ??

Hallo,

ich habe ein etwas komisches Problem :-D :
(wenn das hier nicht reinpasst, entschuldigt bitte. ich habe keine passendere kategorie gefunden)

Ich wollte openarena auf einem zweiten xserver starten und habe mir dafür xgame von http://freshmeat.net/projects/xgame/ geholt.

ich hab das script in /usr/bin kopiert und habe mir mit
Code:
chmod o+x /usr/bin/xgame
die nötigen rechte zum ausführen des scripts geholt.
dann habe ich es mit einfach rechten ausgeführt, und ein neues spiel hinzugefügt. als befehl habe ich
Code:
openarena
angegeben.
beim ausführen von openarena mit xgame erschien aber nur ein schwarzer bildschirm und auch wenn ich versucht habe mit [Strg]+[Alt]+F7 oder einer beliebeigen anderen F# taste umzuschalten, blieb der bildschirm komplett schwarz.
ich musste also durch langes drücken auf den einschalter den laptop zum absturz bringen um ihn dann wieder zu starten.
als ich xgame dann wieder geöffnet habe, war openarena aus der liste verschwunden. ich habe es als wieder hinzugefügt, und xgame beendet. als ich es dann wieder gestartet habe, war der eintrag wieder weg.
deshalb habe ich mir einfach mit
Code:
chmod a+rwx /usr/bin/xgame
alle rechte gegeben.

danach habe ich openarena wieder in xgame hinzugefügt, und es wurde dort dauerhaft gespeichert. dann habe ich xgame wieder mit einfachen rechten ausgeführt und darin openarena gestartet. es kam wie zuvor einfach ein scharzer bildschirm und ich musste einen absturz erzwingen.

wenn ich jetzt aber linux starte und automatisch mein profil angemeldet wird, startet automatisch openarena. wenn ich openarena schließe, komme ich zum anmeldungsdialog von gnome. und wenn ich mich darüber einlogge kommt wieder openarena. es liegt aber auf [Strg]+[Alt]+F7 und ich kann mit [Strg]+[Alt]+F# umschalten. aber auf den anderen arbeitsflächen ist halt nur eine konsole.

mit knoppix habe ich schon die /usr/bin/xgame gelöscht, aber beim starten kommt immernoch openarena. diesen beitrag schreibe ich übrigens auch mit knoppix.

EDIT:
weil ich nicht weiß, welche dateien oder einträge was damit zu tun haben, poste ich erstmal die xorg.conf:
Code:
# /.../
# SaX generated X11 config file
# Created on: 2009-03-12T14:27:26+0100.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath     "/usr/share/fonts/misc:unscaled"
  FontPath     "/usr/share/fonts/local"
  FontPath     "/usr/share/fonts/75dpi:unscaled"
  FontPath     "/usr/share/fonts/100dpi:unscaled"
  FontPath     "/usr/share/fonts/Type1"
  FontPath     "/usr/share/fonts/URW"
  FontPath     "/usr/share/fonts/Speedo"
  FontPath     "/usr/share/fonts/PEX"
  FontPath     "/usr/share/fonts/cyrillic"
  FontPath     "/usr/share/fonts/latin2/misc:unscaled"
  FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/Type1"
  FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/share/fonts/baekmuk:unscaled"
  FontPath     "/usr/share/fonts/japanese:unscaled"
  FontPath     "/usr/share/fonts/kwintv"
  FontPath     "/usr/share/fonts/truetype"
  FontPath     "/usr/share/fonts/uni:unscaled"
  FontPath     "/usr/share/fonts/CID"
  FontPath     "/usr/share/fonts/ucs/misc:unscaled"
  FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/misc:unscaled"
  FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/Type1"
  FontPath     "/usr/share/fonts/misc/sgi:unscaled"
  FontPath     "/usr/share/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AIGLX" "on"
  Option       "AllowMouseOpenFail" "on"
  Option       "IgnoreABI" "on"
  Option       "ZapWarning" "on"
EndSection

Section "Module"
  Load         "dbe"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
  Load         "dri"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "de"
  Option       "XkbModel" "microsoftpro"
  Option       "XkbRules" "xfree86"
  Option       "XkbVariant" "nodeadkeys"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "14"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Logitech USB Receiver"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
  Driver       "synaptics"
  Identifier   "Mouse[3]"
  Option       "AccelFactor" "0.01"
  Option       "BottomEdge" "650"
  Option       "Buttons" "5"
  Option       "CircScrollDelta" "0.1"
  Option       "CircScrollTrigger" "2"
  Option       "CircularScrolling" "1"
  Option       "Device" "/dev/input/mice"
  Option       "EdgeMotionMaxSpeed" "15"
  Option       "EdgeMotionMinSpeed" "15"
  Option       "Emulate3Buttons" "on"
  Option       "EmulateMidButtonTime" "75"
  Option       "FingerHigh" "15"
  Option       "FingerLow" "14"
  Option       "HorizScrollDelta" "20"
  Option       "InputFashion" "Mouse"
  Option       "LeftEdge" "120"
  Option       "MaxSpeed" "0.5"
  Option       "MaxTapMove" "110"
  Option       "MaxTapTime" "180"
  Option       "MinSpeed" "0.2"
  Option       "Name" "Touchpad"
  Option       "Protocol" "auto-dev"
  Option       "RightEdge" "830"
  Option       "SHMConfig" "on"
  Option       "TopEdge" "120"
  Option       "UpDownScrolling" "1"
  Option       "Vendor" "ALPS"
  Option       "VertScrollDelta" "20"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
  Driver       "synaptics"
  Identifier   "Mouse[5]"
  Option       "AccelFactor" "0.01"
  Option       "BottomEdge" "650"
  Option       "Buttons" "5"
  Option       "CircScrollDelta" "0.1"
  Option       "CircScrollTrigger" "2"
  Option       "CircularScrolling" "1"
  Option       "Device" "/dev/input/mice"
  Option       "EdgeMotionMaxSpeed" "15"
  Option       "EdgeMotionMinSpeed" "15"
  Option       "Emulate3Buttons" "on"
  Option       "EmulateMidButtonTime" "75"
  Option       "FingerHigh" "15"
  Option       "FingerLow" "14"
  Option       "HorizScrollDelta" "20"
  Option       "InputFashion" "Mouse"
  Option       "LeftEdge" "120"
  Option       "MaxSpeed" "0.5"
  Option       "MaxTapMove" "110"
  Option       "MaxTapTime" "180"
  Option       "MinSpeed" "0.2"
  Option       "Name" "Touchpad"
  Option       "Protocol" "auto-dev"
  Option       "RightEdge" "830"
  Option       "SHMConfig" "on"
  Option       "TopEdge" "120"
  Option       "UpDownScrolling" "1"
  Option       "Vendor" "ALPS"
  Option       "VertScrollDelta" "20"
  Option       "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  DisplaySize  367 230
  HorizSync    30-70
  Identifier   "Monitor[0]"
  ModelName    "N170C2-L02 LCD MONITOR"
  Option       "DPMS"
  Option       "PreferredMode" "1440x900"
  VendorName   "CMO"
  VertRefresh  43-60
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1440x900" "1366x768" "1360x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1440x900" "1366x768" "1360x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1440x900" "1366x768" "1360x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1440x900" "1366x768" "1360x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "ATI Mobility Radeon HD 3650 (M86 9591)"
  Driver       "fglrx"
  Identifier   "Device[0]"
  Option       "XAANoOffscreenPixmaps" "true"
  Option       "Capabilities" "0x00000000"
  Option       "OpenGLOverlay" "off"
  Option       "FSAAScale" "0"
  Option       "FSAAEnable" "off"
  Option       "VideoOverlay" "on"
  VendorName   "ATI"
EndSection



Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  InputDevice  "Mouse[3]" "SendCoreEvents"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection


Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
  Option       "Composite" "on"
EndSection
wenn noch etwas gebraucht wird, dann sagt einfach bescheid. ich liefere was ich kann. hauptsache ich muss nicht andauernd openarena zocken. langsam wird das langweilig :-D :-D :-D


GELÖST:
ich hab jetzt mal von der konsole unter [Strg]+[Alt]+F6 aus in das script xgame reingeschaut, und habe dort etwas von einer ~/.xinitrc gelesesen. da ich ja nicht viel zu verlieren hatte, hab ich da mal reingeschaut, und dort tatsächlich diesen inhalt gefunden:
Code:
exec openarena
:-D
ich hab die ~/.xinitrc also in ~/.xinitrc.bak umbenannt, bin auf den anderen xserver gewechselt, habe openarena beendet und habe mich dann eingeloggt. und siehe da:
ALLES WIEDER WIE VORHER!

und weil ich hier ( http://www.linuxfocus.org/Deutsch/March1998/article24.html ) gelesen habe, dass die globale /etc/X11/xinit/xinitrc verwendet wird, wenn keine ~/.xinitrc vorhanden ist, kann ich meine ~/xinitrc.bak ja bedenkenlos löschen.
 
Oben