[Slim] problème de demarrage

Xorg, Compiz, KDE / Gnome / Xfce / Fluxbox / e17 / fvwm ... GDM/KDM/XDM...
KEVIN.DLL
Daikyu
Messages : 71
Inscription : lun. 23 mars 2015, 15:17

[Slim] problème de demarrage

Message par KEVIN.DLL »

bonjour ,
j'etais sur lxdm il n'y avait aucun problème mais j'ai voulu passer à Slim pour installer un autre environement graphique mais pour l'instant je prefere xfce4 qui est deja bien installé avec lxdm. Mais le problème avec slim c'est pendant la connexion le login est accepté mais l'ecran reset et me laisse toujours devant slim.
Voici les logs
/var/log/slim.log

Code : Tout sélectionner


slim: waiting for X server to begin accepting connections.


slim: waiting for X server to begin accepting connections.


slim: waiting for X server to begin accepting connections.


slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.
slim: pam_authentication(): Authentication failure
slim: unexpected signal 15
slim: connection to X server lost.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.
slim: pam_authentication(): Authentication failure
slim: unexpected signal 15
slim: connection to X server lost.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.
slim: pam_authentication(): Authentication failure

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.
slim: pam_authentication(): Authentication failure

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.
slim: pam_authentication(): Authentication failure
slim: pam_authentication(): Authentication failure
slim: unexpected signal 15
slim: connection to X server lost.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.
slim: pam_authentication(): Authentication failure

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.


slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.
slim: pam_authentication(): Authentication failure

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.


slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down

slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down


slim: waiting for X server to begin accepting connections.
slim: unexpected signal 15
slim: connection to X server lost.

slim: waiting for X server to shut down


slim: unexpected signal 15



slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down


slim: waiting for X server to begin accepting connections.
slim: unexpected signal 15
slim: connection to X server lost.

slim: waiting for X server to shut down


slim: unexpected signal 15



slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.
slim: unexpected signal 15
slim: connection to X server lost.

slim: waiting for X server to shut down
mon fichier ~/.xinitrc

Code : Tout sélectionner

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

#twm &
#xclock -geometry 50x50-1+1 &
#xterm -geometry 80x50+494+51 &
#xterm -geometry 80x20+494-0 &
#exec xterm -geometry 80x66+0+0 -name login
exec $1
et ma conf /etc/slim.conf

Code : Tout sélectionner

# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path        /bin:/usr/bin:/usr/local/bin
default_xserver     /usr/bin/X
xserver_arguments -nolisten tcp vt07

# Commands for halt, login, etc.
halt_cmd            /sbin/shutdown -h now
reboot_cmd          /sbin/shutdown -r now
console_cmd         /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd        /usr/sbin/suspend

# Full path to the xauth binary
xauth_path         /usr/bin/xauth 

# Xauth file for server
authfile           /var/run/slim.auth


# Activate numlock when slim starts. Valid values: on|off
numlock             on

# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor          false

# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd           exec /bin/sh - ~/.xinitrc %session
login_cmd           exec /bin/bash -login ~/.xinitrc %session

# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd	some command
# sessionstop_cmd	some command

# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
# daemon	yes

# Set directory that contains the xsessions.
# slim reads xsesion from this directory, and be able to select.
# sessiondir            /usr/share/xsessions/

# Executed when pressing F11 (requires imagemagick)
screenshot_cmd      import -window root /slim.png

# welcome message. Available variables: %host, %domain
welcome_msg         Welcome to %host

# Session message. Prepended to the session name when pressing F1
# session_msg         Session: 

# shutdown / reboot messages
shutdown_msg       The system is halting...
reboot_msg         The system is rebooting...

# default user, leave blank or remove this line
# for avoid pre-loading the username.
#default_user        simone

# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password      no

# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
#auto_login          no


# current theme, use comma separated list to specify a set to 
# randomly choose from
current_theme       default

# Lock file
lockfile            /var/lock/slim.lock

# Log file
logfile             /var/log/slim.log
quelqu'un pourrait me suggerer une solution ?
Merci d'avance pour votre aide
clapas
yeomen
Messages : 286
Inscription : sam. 08 sept. 2012, 07:23
Localisation : Comtat Venaissin

Re: [Slim] problème de demarrage

Message par clapas »

Bonjour,
j'etais sur lxdm il n'y avait aucun problème mais j'ai voulu passer à Slim pour installer un autre environement graphique
Pourquoi changer de gestionnaire de connexion pour utiliser un autre environnement de bureau ? LXDM est capable d'en gérer plusieurs, il suffit de sélectionner celui que l'on veut au moment de la connexion, ensuite il le mémorise.

Quand à SLIM, il fonctionne mais la doc a écrit :
Warning: The SliM project has been abandoned (the project homepage is down, leaving a github mirror), and is not fully compatible to systemd, including logind sessions. Consider using a different Display manager or Xinitrc.
KEVIN.DLL
Daikyu
Messages : 71
Inscription : lun. 23 mars 2015, 15:17

Re: [Slim] problème de demarrage

Message par KEVIN.DLL »

sur lxdm je peux retirer lxde sans probleme ? parceque j'ai l'impression que certains paquets lxde sont necessaires à lxdm
clapas
yeomen
Messages : 286
Inscription : sam. 08 sept. 2012, 07:23
Localisation : Comtat Venaissin

Re: [Slim] problème de demarrage

Message par clapas »

Tu pourrais, par exemple, installer ton nouveau DE et le choisir dans lxdm; puis désinstaller les composants de LXDE que tu ne veux plus.

De toute façon, dès que l'on a plusieurs DE, il y a des redondances et ce n'est pas facile de simplifier. Tu manques de place sur ton disque ?
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [Slim] problème de demarrage

Message par FoolEcho »

Côté .xinitrc, tu peux te contenter de:

Code : Tout sélectionner

#!/bin/sh

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

exec $1
Et au niveau de slim, il ne faut pas oublier de sélectionner un environnement (F1) car par défaut il n'y a rien.
«The following statement is not true. The previous statement is true.» :nage:
KEVIN.DLL
Daikyu
Messages : 71
Inscription : lun. 23 mars 2015, 15:17

Re: [Slim] problème de demarrage

Message par KEVIN.DLL »

clapas a écrit :Tu pourrais, par exemple, installer ton nouveau DE et le choisir dans lxdm; puis désinstaller les composants de LXDE que tu ne veux plus.

De toute façon, dès que l'on a plusieurs DE, il y a des redondances et ce n'est pas facile de simplifier. Tu manques de place sur ton disque ?
non non j'ai assez d'espace . je voulais juste faire un peu d'ordre pour installer Openbox
Répondre