[SLiM / X (?)] SLiM ne se charge pas correctement (résolu)

Xorg, Compiz, KDE / Gnome / Xfce / Fluxbox / e17 / fvwm ... GDM/KDM/XDM...
Iso
newbie
Messages : 9
Inscription : mar. 28 oct. 2008, 16:46

[SLiM / X (?)] SLiM ne se charge pas correctement (résolu)

Message par Iso »

Le problème a été résolu (cf. post 32619).

Bonjour,

Problème?:

j'ai quelques soucis avec SLiM (Simple Login Manager), d'autant plus que j'ai l'impression qu'ils sont arrivés du jour au lendemain — peut-être une mauvaise mise à jour?? —?: lorsque j'allume mon poste, après le boot, je me retrouve catapulté devant un écran graphique (le DISPLAY 0), mais avec un fond intégralement noir et un curseur (noir également) en forme de croix (le même que celui qui s'affiche lorsque SLiM n'est pas encore complètement chargé). La souris répond, mais aucun des clics ne fonctionne, pas plus que les raccourcis claviers usuels. CTRL + ALT + BACKSPACE n'a aucun effet.

Le seul moyen que j'ai de repasser en graphique, c'est d'ouvrir le tty1, de faire?:

Code : Tout sélectionner

# killall X
$ startx
donc d'éviter SLiM.
Si à la place de tout ça je fais?:

Code : Tout sélectionner

# killall X
# /etc/rc.d/slim restart
 -- ou bien --
# /etc/rc.d/slim restart
je repars à la case départ.

Fichiers utiles?:

Voici mon .xinitrc?:

Code : Tout sélectionner

#!/bin/sh

#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#

tint2 &
conky &
numlockx on &

exec ck-launch-session openbox-session
Mon /etc/X11/xorg.conf?:

Code : Tout sélectionner

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder63)  Tue Nov  4 14:08:09 PST 2008

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Tue Nov  4 14:07:17 PST 2008
# Auto-generated by Archie mkxcfg
# Auto-generated by Archie mkxcfg

Section "ServerLayout"

# PS/2 Mouse not detected
# Serial Mouse not detected
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "Files"

# Additional fonts: Locale, Gimp, TTF...
#	FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#	FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    ModulePath      "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/misc:unscaled"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/75dpi:unscaled"
    FontPath        "/usr/share/fonts/75dpi"
    FontPath        "/usr/share/fonts/100dpi:unscaled"
    FontPath        "/usr/share/fonts/100dpi"
    FontPath        "/usr/share/fonts/PEX"
    FontPath        "/usr/share/fonts/cyrillic"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/ttf/western"
    FontPath        "/usr/share/fonts/ttf/decoratives"
    FontPath        "/usr/share/fonts/truetype"
    FontPath        "/usr/share/fonts/truetype/openoffice"
    FontPath        "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath        "/usr/share/fonts/latex-ttf-fonts"
    FontPath        "/usr/share/fonts/defoma/CID"
    FontPath        "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
    Load           "ddc"  # ddc probing of monitor
    Load           "dbe"
    Load           "extmod"
    Load           "glx"
    Load           "bitmap" # bitmap-fonts
    Load           "type1"
    Load           "freetype"
    Load           "record"
	#   Load  "synaptics"
EndSection

Section "ServerFlags"
    Option         "AllowMouseOpenFail" "true"
    Option         "AutoAddDevices" "False"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "keyboard"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "fr"
    Option         "XkbVariant" "oss"
EndSection

Section "InputDevice"
    Identifier     "Serial Mouse"
    Driver         "mouse"
    Option         "Protocol" "Microsoft"
    Option         "Device" "/dev/ttyS0"
    Option         "Emulate3Buttons" "true"
    Option         "Emulate3Timeout" "70"
    Option         "SendCoreEvents" "true"
EndSection

Section "InputDevice"
    Identifier     "PS/2 Mouse"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "ZAxisMapping" "4 5"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "true"
    Option         "Emulate3Timeout" "70"
    Option         "SendCoreEvents" "true"
EndSection

Section "InputDevice"
    Identifier     "USB Mouse"
    Driver         "mouse"
    Option         "Device" "/dev/input/mice"
    Option         "SendCoreEvents" "true"
    Option         "Protocol" "IMPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Buttons" "5"
EndSection

Section "Monitor"

 # Warning: This may fry old Monitors
 # Very conservative. May flicker.
#	VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
	#  Default modes distilled from
	#      "VESA and Industry Standards and Guide for Computer Display Monitor
	#       Timing", version 1.0, revision 0.8, adopted September 17, 1998.
	#  $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $
	# 640x350 @ 85Hz (VESA) hsync: 37.9kHz
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "HSD HU196D"
    HorizSync       30.0 - 80.0
    VertRefresh     56.0 - 75.0
    ModeLine       "640x350" 31.5 640 672 736 832 350 382 385 445 +hsync -vsync
    ModeLine       "640x400" 31.5 640 672 736 832 400 401 404 445 -hsync +vsync
    ModeLine       "720x400" 35.5 720 756 828 936 400 401 404 446 -hsync +vsync
    ModeLine       "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
    ModeLine       "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
    ModeLine       "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
    ModeLine       "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
    ModeLine       "800x600" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
    ModeLine       "800x600" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
    ModeLine       "800x600" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
    ModeLine       "800x600" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
    ModeLine       "800x600" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
    ModeLine       "1024x768" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync +vsync interlace
    ModeLine       "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
    ModeLine       "1024x768" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
    ModeLine       "1024x768" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
    ModeLine       "1024x768" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
    ModeLine       "1152x864" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
    ModeLine       "1280x960" 108.0 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync
    ModeLine       "1280x960" 148.5 1280 1344 1504 1728 960 961 964 1011 +hsync +vsync
    ModeLine       "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine       "1280x1024" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine       "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
    ModeLine       "1600x1200" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine       "1600x1200" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine       "1600x1200" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine       "1600x1200" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine       "1600x1200" 229.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine       "1792x1344" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
    ModeLine       "1792x1344" 261.0 1792 1888 2104 2456 1344 1345 1348 1417 -hsync +vsync
    ModeLine       "1856x1392" 218.3 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync
    ModeLine       "1856x1392" 288.0 1856 1984 2208 2560 1392 1393 1396 1500 -hsync +vsync
    ModeLine       "1920x1440" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync
    ModeLine       "1920x1440" 297.0 1920 2064 2288 2640 1440 1441 1444 1500 -hsync +vsync
    ModeLine       "1800x1440" 230 1800 1896 2088 2392 1440 1441 1444 1490 +hsync +vsync
    ModeLine       "1800x1440" 250 1800 1896 2088 2392 1440 1441 1444 1490 +hsync +vsync
    ModeLine       "640x480" 43.16 640 680 744 848 480 481 484 509 -hsync +vsync
    ModeLine       "768x576" 34.96 768 792 872 976 576 577 580 597 -hsync +vsync
    ModeLine       "768x576" 42.93 768 800 880 992 576 577 580 601 -hsync +vsync
    ModeLine       "768x576" 45.51 768 808 888 1008 576 577 580 602 -hsync +vsync
    ModeLine       "768x576" 51.84 768 808 888 1008 576 577 580 605 -hsync +vsync
    ModeLine       "768x576" 62.57 768 816 896 1024 576 577 580 611 -hsync +vsync
    ModeLine       "800x600" 68.18 800 848 936 1072 600 601 604 636 -hsync +vsync
    ModeLine       "1024x768" 113.31 1024 1096 1208 1392 768 769 772 814 -hsync +vsync
    ModeLine       "1152x864" 81.62 1152 1216 1336 1520 864 865 868 895 -hsync +vsync
    ModeLine       "1152x864" 119.65 1152 1224 1352 1552 864 865 868 907 -hsync +vsync
    ModeLine       "1152x864" 143.47 1152 1232 1360 1568 864 865 868 915 -hsync +vsync
    ModeLine       "1280x960" 124.54 1280 1368 1504 1728 960 961 964 1001 -hsync +vsync
    ModeLine       "1280x960" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
    ModeLine       "1280x960" 178.99 1280 1376 1520 1760 960 961 964 1017 -hsync +vsync
    ModeLine       "1280x1024" 190.96 1280 1376 1520 1760 1024 1025 1028 1085 -hsync +vsync
    ModeLine       "1400x1050" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
    ModeLine       "1400x1050" 149.34 1400 1496 1648 1896 1050 1051 1054 1094 -hsync +vsync
    ModeLine       "1400x1050" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
    ModeLine       "1400x1050" 179.26 1400 1504 1656 1912 1050 1051 1054 1103 -hsync +vsync
    ModeLine       "1400x1050" 214.39 1400 1512 1664 1928 1050 1051 1054 1112 -hsync +vsync
    ModeLine       "1600x1200" 280.64 1600 1728 1904 2208 1200 1201 1204 1271 -hsync +vsync
    Option         "DPMS" "true"
#	HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "All"
    BoardName      "All"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7900 GS"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1280x1024 +0+0; 800x600 +0+0; 640x480 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
La fin de mon /var/log/slim.log?:

Code : Tout sélectionner

slim: waiting for X server to begin accepting connections
X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.29-ARCH i686 
Current Operating System: Linux arch 2.6.29-ARCH #1 SMP PREEMPT Sat May 9 12:47:43 UTC 2009 i686
Build Date: 15 April 2009  11:09:10AM
 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri May 15 17:05:34 2009
(==) Using config file: "/etc/X11/xorg.conf"
.
(EE) Failed to load module "type1" (module does not exist, 0)
(EE) Failed to load module "freetype" (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
(EE) config/hal: NewInputDeviceRequest failed (8)
(EE) config/hal: NewInputDeviceRequest failed (8)
(EE) config/hal: NewInputDeviceRequest failed (8)
(EE) config/hal: NewInputDeviceRequest failed (8)
slim: could not load background image for theme 'default'
(EE) XKB: No components provided for device Virtual core keyboard
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
[config/dbus] couldn't register object path
(EE) config/hal: NewInputDeviceRequest failed (8)
(EE) config/hal: NewInputDeviceRequest failed (8)
(EE) config/hal: NewInputDeviceRequest failed (8)
(EE) config/hal: NewInputDeviceRequest failed (8)
Mon /etc/rc.conf

Code : Tout sélectionner

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="fr_FR.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Europe/Paris"
KEYMAP="fr"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(8139cp 8139too mii slhc autofs4 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore !pcspkr)

#ALSA
#MODULES=(snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)

# ANCIENS MODULES
#MODULES=(8139cp 8139too mii slhc !snd-mixer-oss !snd-pcm-oss !snd-seq-oss !snd-seq-device !snd-seq-midi-event !snd-seq snd-hwdep !snd-page-alloc !snd-pcm snd-rawmidi !snd-timer !snd !snd-hda-intel !soundcore !snd-usb-audio !snd-usb-lib autofs4)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="arch"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
eth0="dhcp"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
#DAEMONS=(syslog-ng @network @crond !alsa @netfs !autofs @avahi-daemon hal @oss @httpd @mysqld @vsftpd @cups slim)
DAEMONS=(syslog-ng network crond alsa netfs autofs avahi-daemon hal httpd mysqld vsftpd cups slim)
Configuration?:
  • Environnement de bureau?: Aucun
  • Gestionnaire de fenêtres?: OpenBox
  • Gestionnaire de fichiers?: PCManFM
Merci de votre aide qui me serait plus que précieuse,
Iso

Édition de ce post?:
  • 15/05 à 19:33?: ajout du /etc/rc.conf
  • 15/05 à 19:55?: édition du /etc/rc.conf suite au post d'Arvil
Dernière modification par Iso le dim. 24 mai 2009, 10:33, modifié 4 fois.
Avatar de l’utilisateur
joedu12
yeomen
Messages : 214
Inscription : dim. 23 nov. 2008, 20:45

Re: [SLiM / X (?)] SLiM ne se charge pas correctement

Message par joedu12 »

Dans ton xinitrc il y a "tint2 &
conky &
numlockx on &" regarde :

Code : Tout sélectionner

# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#

tint2 &
conky &
numlockx on &

exec ck-launch-session openbox-session
Pourquoi ne met-tu pas "tint2 &
conky &
numlockx on &" a la fin de ton ~/.config/openbox/autostart.sh ?
Iso
newbie
Messages : 9
Inscription : mar. 28 oct. 2008, 16:46

Re: [SLiM / X (?)] SLiM ne se charge pas correctement

Message par Iso »

C'est fait joedu12, merci (=

Ça ne résout cependant pas mon problème?!
Avatar de l’utilisateur
Arvil
newbie
Messages : 2
Inscription : jeu. 04 déc. 2008, 21:10
Localisation : Groland

Re: [SLiM / X (?)] SLiM ne se charge pas correctement

Message par Arvil »

Bonjour,

Hum je pense que tu as un problème avec tes démons de /etc/rc.conf, certains se chargent en arrière plan alors qu'ils ne le devraient pas (enfin je crois O=), essaye en enlevant le @.

Cordialement,
An. (ah non c'est arv ici !)
Iso
newbie
Messages : 9
Inscription : mar. 28 oct. 2008, 16:46

Re: [SLiM / X (?)] SLiM ne se charge pas correctement

Message par Iso »

Bonjour,

après édition du /etc/rc.conf et reboot, je remarque un FAIL?:

Code : Tout sélectionner

:: Starting Avahi mDNS/DNS-SD DNS Server Configuration Daemon            [FAIL]
Est-ce que ça a un rapport avec mon problème ou est-ce que c'est encore autre chose??
Avatar de l’utilisateur
joedu12
yeomen
Messages : 214
Inscription : dim. 23 nov. 2008, 20:45

Re: [SLiM / X (?)] SLiM ne se charge pas correctement

Message par joedu12 »

Iso a écrit :C'est fait joedu12, merci (=

Ça ne résout cependant pas mon problème?!
Ouai :|
Iso
newbie
Messages : 9
Inscription : mar. 28 oct. 2008, 16:46

Re: [SLiM / X (?)] SLiM ne se charge pas correctement

Message par Iso »

Bonjour,

problème résolu?! Ça venait tout bêtement de SLiM qui ne trouvait plus le background (j'avais supprimé par mégarde un lien symbolique…)?!

Cordialement,
Iso
Répondre