Windowsspezifische Probleme, WinAPI, conio.h
-
soufian88
- Beiträge: 288
- Registriert: So Jan 18, 2009 1:01 pm
Beitrag
von soufian88 » Mo Mär 30, 2009 8:07 pm
Ich hab mal für jemanden auf einem Athlon 2900+ mit 400MB RAM Ubuntu Installiert(der hatte keine Ahnung, und das vorinstallierte Windows hatte 40 Viren drauf(laut Virencenter)(Gebraucht Gerät)) Und bei dem ist das System auch immer beim X Server gecrasht, öffne mal vielleicht wenn du es über resume gestartet hast, via Strg + F1 eine Richtige Console, und deinstalliere mal Gnome und X11, danach kannst du das Paket "ubuntu-desktop" installieren, beidem X11 und Gnome wieder installiert werden. (Alternativ "xubuntu-desktop" für XFce oder "edubuntu-desktop" für KDE ooder "ubuntu-studio" für Gnome in der Ubuntu Studio Version). Dann dürfte es laufen. Ansonsten mach mal die xorg.conf platt, Terminiere X und gebe aus einer richtigen Console "X -configure" ein, und danach nennst du die "xorg.conf.new" zu "xorg.conf" um, dannach "startx".
Mit GRUB hat das übrigends nix zutun, Grub lädt nur dn Kernel, das kann so einen Fehler nicht auslösen.
Mal zusammengefasst
Also wie ich es verstanden habe :
sobald ich bei resune bin Taste Strg + F1 drücken Gnome und X11 killen und Ubuntu -desktop installieren.
C ( Durchschnittlich ) C++ (am Lernen)
-
Dirty Oerti
- Beiträge: 2229
- Registriert: Di Jul 08, 2008 5:05 pm
- Wohnort: Thurndorf / Würzburg
Beitrag
von Dirty Oerti » Mo Mär 30, 2009 8:23 pm
Hm, also ich hab auch Probleme mit dem X-Server, aber nur, wenn ich eine zu alte Kernelversion starte...
Ich weiß nicht, ob dir das hilft, aber such doch ersteinmal in der Konsole (STRG + F1) nach den installierten Kerneln und guck nach, welchen von denen du über GRUB startest.
(Wobei das natürlich nicht direkt mit X zusammenhängt, sondern mit den Treibern...für bei mir meine NVidia-Karte)
Den X-Server gleich neu zu installieren halte ich nicht für so gut.
Schau dir doch erst einmal die xorg.conf an.
Bzw poste sie hier z.B.
Bei
Fragen einfach an
daniel[ät]proggen[Punkt]org
Ich helfe gerne!
----------
Wenn du ein Licht am Ende des Tunnels siehst, freu dich nicht zu früh! Es könnte ein Zug sein, der auf dich zukommt!
----
It said: "Install Win95 or better ..." So I installed Linux.
-
soufian88
- Beiträge: 288
- Registriert: So Jan 18, 2009 1:01 pm
Beitrag
von soufian88 » Mo Mär 30, 2009 8:44 pm
,
öffne mal vielleicht wenn du es über resume gestartet hast, via Strg + F1 eine Richtige Console, und deinstalliere mal Gnome und X11, danach kannst du das Paket "ubuntu-desktop" installieren, beidem X11 und Gnome wieder installiert werden.
Ich habe es versucht ,jedoch nichts hat sich reagiert.
Den X-Server gleich neu zu installieren halte ich nicht für so gut.
Schau dir doch erst einmal die xorg.conf an.
Bzw poste sie hier z.B.
Mit welchen Befehlen und wo (In der Konsole habe ich strg+F1 gedrückt aber nichts passiert ) ?
Danke im voraus.
C ( Durchschnittlich ) C++ (am Lernen)
-
nufan
- Wiki-Moderator
- Beiträge: 2558
- Registriert: Sa Jul 05, 2008 3:21 pm
Beitrag
von nufan » Mo Mär 30, 2009 9:16 pm
Die xorg.conf liegt im /etc/X11-Verzeichnis. Du kannst sie per
öffnen.
Manuell würde ich da lieber nichts ändern (kannst du ohne root-Rechte auch gar nicht). Überlass das lieber dafür gemachten Tools, wie z.B. nvidia-xconfig. Es gibt auch noch ein anderes, das steht in der Original xorg.conf ganz oben, aber die hab ich nicht mehr (meine wurde vom Nvidia-Treiber erstellt).
Für den Textmodus muss man so weit ich weiß Strg+Alt+F1 drücken (um zurück zur grafischen Oberfläche zu gelangen das gleiche mit F7). Aber da macht oft der Nvidia-Treiber nicht mit.
-
soufian88
- Beiträge: 288
- Registriert: So Jan 18, 2009 1:01 pm
Beitrag
von soufian88 » Mo Mär 30, 2009 9:24 pm
Code: Alles auswählen
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Device"
Identifier "Configured Video Device"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Es wird wie ich es verstanden habe erklärt mit was xorg.conf erstellt ist und das sie automatisch aktualisiert wird.
C ( Durchschnittlich ) C++ (am Lernen)
-
Jside
- Beiträge: 377
- Registriert: Di Nov 11, 2008 12:56 am
Beitrag
von Jside » Mo Mär 30, 2009 9:27 pm
Ähm deine xorg.conf sieht aber nicht sehr konfiguriert aus, Terminier mal x und gib "X -configure" ein, und ersetzte die xorg.conf durch die dadurch ersetellt xorg.conf.new.
Die scheint keine festen definitionen der Geräte drin zu haben - kein Wunder, das X den Rechner crasht, da dadurch waerscheinlich falsche Treiber benutzt werden.(besser gesagt, X11 läuft willkürlich wie es Lust hat)
-
soufian88
- Beiträge: 288
- Registriert: So Jan 18, 2009 1:01 pm
Beitrag
von soufian88 » Mo Mär 30, 2009 9:30 pm
Terminier mal x und gib "X -configure" ein
ich habe leider nicht die Rechte dazu.
C ( Durchschnittlich ) C++ (am Lernen)
-
nufan
- Wiki-Moderator
- Beiträge: 2558
- Registriert: Sa Jul 05, 2008 3:21 pm
Beitrag
von nufan » Mo Mär 30, 2009 9:37 pm
soufian88 hat geschrieben:Terminier mal x und gib "X -configure" ein
ich habe leider nicht die Rechte dazu.
Einfach ein "sudo" davorsetzen.
-
soufian88
- Beiträge: 288
- Registriert: So Jan 18, 2009 1:01 pm
Beitrag
von soufian88 » Mo Mär 30, 2009 9:40 pm
Code: Alles auswählen
Unrecognized option: -
use: X [:<display>] [option]
-a # mouse acceleration (pixels)
-ac disable access control restrictions
-audit int set audit trail level
-auth file select authorization file
-br create root window with black background
+bs enable any backing store support
-bs disable any backing store support
-c turns off key-click
c # key-click volume (0-100)
-cc int default color visual class
-core generate core dump on fatal error
-dpi int screen resolution in dots per inch
dpms enables VESA DPMS monitor control
-dpms disables VESA DPMS monitor control
-deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs
-f # bell base (0-100)
-fc string cursor font
-fn string default font name
-fp string default font path
-help prints message with these options
-I ignore all remaining arguments
-ld int limit data space to N Kb
-lf int limit number of open files to N
-ls int limit stack space to N Kb
-nolock disable the locking mechanism
-logo enable logo in screen saver
nologo disable logo in screen saver
-nolisten string don't listen on protocol
-noreset don't reset after last client exists
-reset reset after last client exists
-p # screen-saver pattern duration (minutes)
-pn accept failure to listen on all ports
-nopn reject failure to listen on all ports
-r turns off auto-repeat
r turns on auto-repeat
-render [default|mono|gray|color] set render color alloc policy
-s # screen-saver timeout (minutes)
-su disable any save under support
-t # mouse threshold (pixels)
-terminate terminate at server reset
-to # connection time out
-tst disable testing extensions
ttyxx server started from init on /dev/ttyxx
v video blanking for screen-saver
-v screen-saver without video blanking
-wm WhenMapped default backing-store
-wr create root window with white background
-x string loads named extension at init time
-maxbigreqsize set maximal bigrequest size
+xinerama Enable XINERAMA extension
-xinerama Disable XINERAMA extension
-dumbSched Disable smart scheduling, enable old behavior
-schedInterval int Set scheduler interval in msec
+extension name Enable extension
-extension name Disable extension
-query host-name contact named host for XDMCP
-broadcast broadcast for XDMCP
-multicast [addr [hops]] IPv6 multicast for XDMCP
-indirect host-name contact named host for indirect XDMCP
-port port-num UDP port number to send messages to
-from local-address specify the local address to connect from
-once Terminate server after one session
-class display-class specify display class to send in manage
-cookie xdm-auth-bits specify the magic cookie for XDMCP
-displayID display-id manufacturer display ID for request
-kb disable the X Keyboard Extension
+kb enable the X Keyboard Extension
[+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ]
enable/disable accessx key sequences
-ardelay set XKB autorepeat delay
-arinterval set XKB autorepeat interval
Device Dependent Usage
-modulepath paths specify the module search path
-logfile file specify a log file name
-configure probe for devices and write an xorg.conf
-config file specify a configuration file, relative to the
xorg.conf search path, only root can use absolute
-probeonly probe for devices, then exit
-verbose [n] verbose startup messages
-logverbose [n] verbose log messages
-quiet minimal startup messages
-pixmap24 use 24bpp pixmaps for depth 24
-pixmap32 use 32bpp pixmaps for depth 24
-fbbpp n set bpp for the framebuffer. Default: 8
-depth n set colour depth. Default: 8
-gamma f set gamma value (0.1 < f < 10.0) Default: 1.0
-rgamma f set gamma value for red phase
-ggamma f set gamma value for green phase
-bgamma f set gamma value for blue phase
-weight nnn set RGB weighting at 16 bpp. Default: 565
-layout name specify the ServerLayout section name
-screen name specify the Screen section name
-keyboard name specify the core keyboard InputDevice name
-pointer name specify the core pointer InputDevice name
-nosilk disable Silken Mouse
-flipPixels swap default black/white Pixel values
-disableVidMode disable mode adjustments with xvidtune
-allowNonLocalXvidtune allow xvidtune to be run as a non-local client
-disableModInDev disable dynamic modification of input device settings
-allowNonLocalModInDev allow changes to keyboard and mouse settings
from non-local clients
-allowMouseOpenFail start server even if the mouse can't be initialized
-bestRefresh choose modes with the best refresh rate
-ignoreABI make module ABI mismatches non-fatal
-isolateDevice bus_id restrict device resets to bus_id (PCI only)
-version show the server version
-showDefaultModulePath show the server default module path
-showDefaultLibPath show the server default library path
vtXX use the specified VT number
-keeptty don't detach controlling tty (for debugging only)
-novtswitch don't immediately switch to new VT
-sharevts share VTs with another X server
Fatal server error:
Unrecognized option: -
jetzt zeigt er mir das hier an.
Keine Ahnung was das sein soll.
C ( Durchschnittlich ) C++ (am Lernen)
-
nufan
- Wiki-Moderator
- Beiträge: 2558
- Registriert: Sa Jul 05, 2008 3:21 pm
Beitrag
von nufan » Mo Mär 30, 2009 9:44 pm
Steht doch da:
Die Option "-" wird nicht erkannt. Hast du zwischen "-" und "configure" ein Leerzeichen gemacht?
Wenn du eine Nvidia-Karte hast, versuchs mal mit
Und dann X-Server neu starten (mit Strg+Alt+Backspace, Achtung: alle Programme werden geschlossen!)