[xfce4] Transition d'Openbox à Xfce4 ratée (résolu)

Xorg, Compiz, KDE / Gnome / Xfce / Fluxbox / e17 / fvwm ... GDM/KDM/XDM...
Avatar de l’utilisateur
tuxce
Maître du Kyudo
Messages : 6677
Inscription : mer. 12 sept. 2007, 16:03

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par tuxce »

@FoolEcho, il ne faut pas l'embrouiller plus qu'il ne l'est :)
Le script "startxfce4" peut être utilisé avec ou sans X déjà lancé, et dans les 2 cas, il indique ce qu'il fait, s'il est lancé seul:

Code : Tout sélectionner

...Starting X server
sinon

Code : Tout sélectionner

...X server already running on display...
C'est juste une indication.

@lensilvan, pour préciser ce que dit Skunnyk:

Code : Tout sélectionner

ls -ld /tmp
Cactus
Maître du Kyudo
Messages : 2073
Inscription : sam. 16 sept. 2006, 10:39
Localisation : 31 - Toulouse Nord

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par Cactus »

ah tiens, il n'est jamais trop tard pour apprendre ! je viens de découvrir l'option -d de ls ! :rtfm:

Merci !
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par FoolEcho »

tuxce a écrit :@FoolEcho, il ne faut pas l'embrouiller plus qu'il ne l'est :)
On tourne en rond depuis le sujet précédent et ça recommence ici: je ne cherche qu'à avoir une vue d'ensemble. :copain:
Cactus a écrit :- ~/.bash_profile et ~/.bashrc (perso, je ne vois aps pourquoi, mais si FoolEcho le demande, c'est qu'il doit avoir une idée en tête
Parce qu'ils sont aussi impliqués au démarrage de sa session utilisateur... toujours dans l'optique d'avoir une vue plus nette de l'ensemble. Même si , à priori, ça ne rentre pas en ligne de compte pusqu'il démarre la session correctement via un startx sur un autre affichage (mais il pourrait y avoir des machins qui se lancent en plus ou en moins selon l'affichage en cours, je préfère être sûr qu'il n'y ait rien qui pollue).
Même si je penche plutôt pour un problème de configuration de slim.
«The following statement is not true. The previous statement is true.» :nage:
lensilvan
Chu Ko Nu
Messages : 305
Inscription : lun. 13 juin 2011, 11:40

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par lensilvan »

Voila: :oops: :cry:

/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

# Aviable sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions                xfce4, icewm,wmaker,blackbox

# 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 
# random choose from
current_theme         default

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

# Log file
logfile                      /var/log/slim.log
le fichier ~/.xinitrc:

Code : Tout sélectionner

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

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

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
exec ck-launch-session startxfce4

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_CA.UTF-8"
HARDWARECLOCK="UTC"
USEDIRECTISA:"no"
TIMEZONE="Asia/Tokyo"
KEYMAP="us"
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"
MODULES=( )

# 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="ctkarch"

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

#etho="etho0 ***.***.*.* netmask 255.255.255.0 broadcast ***.***.*.***"
etho="dhcp"
INTERFACES=(etho0)

# 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 ***.***.*.*"
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 
# 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 dbus @wicd alsa)
/etc/inittab:

Code : Tout sélectionner

#
# /etc/inittab
#

# Runlevels:
#     0      Halt
#     1(S)           Single-user
#     2      Not used
#     3      Multi-user
#     4      Not used
#     5      X11
#     6      Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown>/dev/tty1</dev/tty1
su:S:wait:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
c4:5:respawn:/sbin/agetty -n -1 /etc/autostartx 38400 tty4 linux
#c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
#c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# Example line for starting a login manager
# Comment out autostartx behind if you use this

#x:5:respawn:/usr/bin/xdm -nodaemon
x:5:respawn:/usr/bin/slim >& /dev/null

# End of file
~/bash_profile:

Code : Tout sélectionner

#
# ~/.bash_profile
# 

[[ -f ~/.bashrc ]] && . ~/.bashrc

if [ "$STARTX" == "1" ]; then
   unset STARTX ; startx &>/tmp/startx.log
   exit 0
fi
~/.bashrc

Code : Tout sélectionner

#
# ~/.bashrc
#

export BROWSER="pcmanfm"
export EDITOR="nano"
export PATH="$PATH:$HOME/.local/bin"
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
export GTK_IM_MODULE="xim"

# If not running interactively, don't do anything
[[ $- !=*i* ]] && return

alias Is=' Is --color=auto'
alias dd='dcfldd'
PSI=' [\u@\h \W]\$ '

export TERM="rxvt"

#xsu : exécuter une commande en root ; execute command as root
xsu ( ) { sui -c "$*";}

#upload file to ompldr.org
ompload( ) { curl -# -F file1=@"$1" http://ompldr.org/upload/lawk ' /Info:|File:|Thubnail:|BBCode:/{gsub(/<[^<]*?\/?>/,''''');print $1}' ;}
Quant au résultat de la commande ls -ld /tmp:

drwxrwxrwt 9 root root 4096 26 août 18:42 /tmp
Cactus
Maître du Kyudo
Messages : 2073
Inscription : sam. 16 sept. 2006, 10:39
Localisation : 31 - Toulouse Nord

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par Cactus »

Euh, c'est d'origine, ça (dans inittab) ?

Code : Tout sélectionner

c4:5:respawn:/sbin/agetty -n -1 /etc/autostartx 38400 tty4 linux
C'est la 1ère fois que je vois ça.

Sinon, je me demande s'il ne faut pas rajouter le ck-launch-session dans le inittab, avant de lancer slim. Mais là, je ne suis pas assez connaisseur pour l'assurer à 100%. Qu'en dit le wiki ?
lensilvan
Chu Ko Nu
Messages : 305
Inscription : lun. 13 juin 2011, 11:40

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par lensilvan »

D'après le wiki, on peut soit utiliser rc.conf en ajoutant le daemon correspondant ou bien inittab en modifiant le id:3:initdefault: pour qu'il devienne id:5:initdefault:. Moi, j'ai décommenté le id:5:initdefault:...
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par FoolEcho »

lensilvan a écrit :Moi, j'ai décommenté le id:5:initdefault:...
... et tu fais bien (pour info: on dit très souvent que c'est plus propre car ça permet de démarrer en init3 pour déboguer, c'est-à-dire avec tous les services du rc.conf, mais sans interface graphique... tandis que lancer slim ou autre en tant que service oblige à démarrer en init1 et donc à démarrer les autres services à la main).
Cactus a écrit :Sinon, je me demande s'il ne faut pas rajouter le ck-launch-session dans le inittab, avant de lancer slim.
Pas dans le inittab, mais dans le slim.conf.

L'enchaînement préférable étant:
slim.conf:

Code : Tout sélectionner

login_cmd            exec ck-launch-session /bin/bash -login ~ /.xinitrc %session
et dans le ~/.xinitrc:

Code : Tout sélectionner

exec startxfce4 
#ou:
#exec openbox-session
De cette façon consolekit et dbus ne devrait pas se marcher dessus et tu devrais avoir accès aux différents montages et autres services.

Dans le doute, je supprimerai du ~/.bash_profile:

Code : Tout sélectionner

if [ "$STARTX" == "1" ]; then
   unset STARTX ; startx &>/tmp/startx.log
   exit 0
fi
dont je ne vois pas trop l'intérêt (@Cactus: voilà pourquoi je voulais aussi le .bash_profile ;-) )... ou alors faut me dire d'où sort ${STARTX}. :?:
Il te faudra te déconnecter pour prendre les changements en compte.
Cactus a écrit :Euh, c'est d'origine, ça (dans inittab) ?

Code : Tout sélectionner

c4:5:respawn:/sbin/agetty -n -1 /etc/autostartx 38400 tty4 linux
Connais pas non plus... Vu le nom de ton hostname, ça vient de CTKArch, je suppose ? :? (du coup, il y a peut-être un rapport avec ${STARTX} ... éventuellement, faudrait voir le contenu de autostartx).
Pour info, la base de cette partie sous Arch est:

Code : Tout sélectionner

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 -s 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 -s 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 -s 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 -s 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 -s 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 -s 38400 tty6 linux
«The following statement is not true. The previous statement is true.» :nage:
Cactus
Maître du Kyudo
Messages : 2073
Inscription : sam. 16 sept. 2006, 10:39
Localisation : 31 - Toulouse Nord

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par Cactus »

Bien vu le coup du .bash_profile ! ;)
Cactus
Maître du Kyudo
Messages : 2073
Inscription : sam. 16 sept. 2006, 10:39
Localisation : 31 - Toulouse Nord

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par Cactus »

Et puis je suis d'autant plus intéressé que ce WE, j'ai prévu de finir l'install d'une ctk avec un xfce4 + slim (ou gdm, chépô) ! :D
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par FoolEcho »

Cactus a écrit :Bien vu le coup du .bash_profile ! ;)
Bon après, je ne sais pas quel est l'impact, je ne connais pas CTKArch (mais à priori, en passant par slim ça ne sert à rien de toutes manières).
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
oloꟼ
Chu Ko Nu
Messages : 381
Inscription : sam. 23 oct. 2010, 21:30

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par oloꟼ »

Si je puis me permettre, virer ce truc a déjà été proposé dans l'autre sujet, en première ou deuxième page. Si vous arrivez à le faire faire, chapeau.
oloꟼ aka ewloni
lensilvan
Chu Ko Nu
Messages : 305
Inscription : lun. 13 juin 2011, 11:40

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par lensilvan »

ewloni a écrit :Si je puis me permettre, virer ce truc a déjà été proposé dans l'autre sujet, en première ou deuxième page. Si vous arrivez à le faire faire, chapeau.
J'avais juste mal lu. Voilà.

Je suis en train d'appliquer les changements suggèrés.
Voici le contenu d'autostartx:

Code : Tout sélectionner

#!/bin/sh
#Runs an X session for the user defined here:
user='fowl'

echo 'Starting X session for '"${user}"
/bin/login -f "${user}" STARTX=1
lensilvan
Chu Ko Nu
Messages : 305
Inscription : lun. 13 juin 2011, 11:40

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par lensilvan »

Je me connecte sur slim et puis quelques instant après, je vois brièvement un écran noir et puis de retour sur slim. Je suis coincé sur slim, sans moyen autre que matériel de quitter.
J'avais édité slim.conf en rajoutant login_cmd

Code : Tout sélectionner

exec               ck-launch-session /bin/bash -login ~ /.xinitrc %session
décommenté exec startxfce4 dans ~/.xinitrc et enlevé

Code : Tout sélectionner

if [ "$STARTX" == "1" ]; then
   unset STARTX ; startx &>/tmp/startx.log
   exit 0
fi
.

:cry:
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par FoolEcho »

ewloni a écrit :Si je puis me permettre, virer ce truc a déjà été proposé dans l'autre sujet, en première ou deuxième page. Si vous arrivez à le faire faire, chapeau.
@ewloni: ben, tu vois qu'on a réussi. :mrgreen:
lensilvan a écrit :Je suis coincé sur slim, sans moyen autre que matériel de quitter.
Les ttys bon sang ! (CTRL+ALT+F1 à... F4 chez toi, sauf si tu as rétablis le /etc/inittab avec ce que j'ai proposé avant, auquel cas, ça t'en donne plus -- ALT+F7 pour revenir sur la session graphique)

Modification de slim.conf => Il faut également redémarrer slim:

Code : Tout sélectionner

rc.d stop slim
(vu qu'il est dans l'inittab, il devrait redémarrer tout seul)


EDIT:
lensilvan a écrit :en rajoutant login_cmd

Code : Tout sélectionner

exec               ck-launch-session /bin/bash -login ~ /.xinitrc %session
Tu me fais peur donc je précise: il faut juste rajouter le ck-launch-session sur la ligne login_cmd.

Si retour sur slim après ça, prière de communiquer le log de slim... :|
«The following statement is not true. The previous statement is true.» :nage:
lensilvan
Chu Ko Nu
Messages : 305
Inscription : lun. 13 juin 2011, 11:40

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par lensilvan »

Ben j'ai bien fait rc.d stop slim et toujours le même problème. Voici le 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
login_cmd            exec ck-launch-session /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

# Aviable sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions                xfce4, icewm,wmaker,blackbox

# 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
# random choose from
current_theme         default

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

# Log file
logfile                      /var/log/slim.log
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par FoolEcho »

lensilvan a écrit :

Code : Tout sélectionner

login_cmd            exec /bin/bash -login ~ /.xinitrc %session
login_cmd            exec ck-launch-session /bin/bash -login ~ /.xinitrc %session
Tu as deux lignes...
«The following statement is not true. The previous statement is true.» :nage:
lensilvan
Chu Ko Nu
Messages : 305
Inscription : lun. 13 juin 2011, 11:40

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par lensilvan »

Maintenant, il n'y a plus que login_cmd exec ck-launch-session /bin/bash -login ~ /.xinitrc %session et j'ai redémarré slim. Pourtant, il persiste toujours à me renvoyer vers le slim.

J'ai peut être fait (encore et encore) une erreur mais voici l'extrait de slim.conf

Code : Tout sélectionner

# 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 ck-launch-session /bin/bash -login ~ /.xinitrc %session
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par FoolEcho »

:?

Peut-être que... supprime aussi ~/.cache, ~/.dbus pour ton utilisateur ... Relance le service dbus (rc.d restart dbus) et slim.
As-tu testé avec la création d'un nouvel utilisateur (même ~/.xinitrc) ?

Le log de slim ?
«The following statement is not true. The previous statement is true.» :nage:
lensilvan
Chu Ko Nu
Messages : 305
Inscription : lun. 13 juin 2011, 11:40

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par lensilvan »

Le système m'a refusé de relancer dbus. La première fois:

Code : Tout sélectionner

Failed to start message dbus: The pid file "/var/run/dbus.pid" exists, if the message bus is not running, remove this file
Je l'ai donc supprimé. Ensuite:

Code : Tout sélectionner

Failed to start message dbus: Failed to bind socket "/var/run/dbus/system_bus_socket": Adress already in use
Slim.log:

Code : Tout sélectionner

/usr/bin/xauth: file /var/run/slim.auth does not exist

slim: waiting for X server to begin accepting coonections
This is a pre-release version of the X serber from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" produc for bugs you find in this release.
Before reporting bugs in re-release versions please check the latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.10.3.901 (1.10.4 RC 1)
Release Date: 2011-07-29
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.0-ARCH i686
Current Operating System: Linux ctkarch 3.0-ARCH #1 SMP PREEMPT Wed Aug 17 20:24:07 UTC 2011 i686
Kernel Command line: root=/dev/disk/by-uuid/878e4d4e-2a53-4c7f-b76d-7a0a78687168 ro quiet resume=/dev/disk/by-uuid/c9b6b6db-5d6f-436b-858f-70b486cf9903
Buid Date: 08 August 2011 08:28:07AM

Current version of pixman: 0.22.2
             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 Aug 26 14:01:15 2011
(==) Using config directory: "/etc/X11/xorg.conf.d"

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:                     Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbol
>                                    Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
/usr/bin/xauth: file /home/fowl/.Xauthority does not exist
/home/fowl: /home/fowl : ceci est un répertoire

slim: waiting for X server to shut down

/usr/bin/xauth: file /var/rin/slim.auth does not exist

slim: waiting for X server to begin accepting connections
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" produc for bugs you find in this release.
Before reporting bugs in re-release versions please check the latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.10.3.901 (1.10.4 RC 1)
Release Date: 2011-07-29
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.0-ARCH i686
Current Operating System: Linux ctkarch 3.0-ARCH #1 SMP PREEMPT Wed Aug 17 20:24:07 UTC 2011 i686
Kernel Command line: root=/dev/disk/by-uuid/878e4d4e-2a53-4c7f-b76d-7a0a78687168 ro quiet resume=/dev/disk/by-uuid/c9b6b6db-5d6f-436b-858f-70b486cf9903
Buid Date: 08 August 2011 08:28:07AM

Current version of pixman: 0.22.2
             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 Aug 26 14:01:15 2011
(==) Using config directory: "/etc/X11/xorg.conf.d"
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
Dernière modification par lensilvan le ven. 26 août 2011, 17:14, modifié 1 fois.
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [xfce4] Transition d'Openbox à Xfce4 ratée

Message par FoolEcho »

:? Louche tout ça... ... Dans le doute, supprime les ~/.dbus et ~/.cache de ton utilisateur comme je t'ai dit et redémarre (puis tentative de connexion avec ton utilisateur + log de slim).
«The following statement is not true. The previous statement is true.» :nage:
Répondre