[xfce4]xfce4-session(résolu)

Questions et astuces concernant l'installation et la configuration d'archlinux
Répondre
Avatar de l’utilisateur
fran
yeomen
Messages : 234
Inscription : lun. 27 déc. 2010, 18:47
Localisation : breizh

[xfce4]xfce4-session(résolu)

Message par fran »

bonsoir

Depuis la mise à jour d'aujourd'hui , qui comprenait xfce4-session , les boutons changer d'utilisateur , suspendre et éteindre sont grisées (pas accessible)

mon fichier .xinitrc

Code : Tout sélectionner

exec dbus-launch --exit-with-session startxfce4
Dernière modification par fran le jeu. 09 oct. 2014, 16:43, modifié 1 fois.
HP elitebook 2570P : arch xfce
intelNuc 10 :arch kde
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17186
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [xfce4]xfce4-session

Message par benjarobin »

Bonjour,
C'est quoi qui lance le .xinitrc ? Ce dernier ne contient que cette ligne ?
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
fran
yeomen
Messages : 234
Inscription : lun. 27 déc. 2010, 18:47
Localisation : breizh

Re: [xfce4]xfce4-session

Message par fran »

c'est avec slim et pour .xinitrc , oui que cette ligne

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       archlinux-simplyblack

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

# Log file
logfile             /var/log/slim.log

HP elitebook 2570P : arch xfce
intelNuc 10 :arch kde
Avatar de l’utilisateur
fran
yeomen
Messages : 234
Inscription : lun. 27 déc. 2010, 18:47
Localisation : breizh

Re: [xfce4]xfce4-session

Message par fran »

pour mon .xinitrc , j'ai modifié via wiki en reprenant celui de /etc/skel/.xinitrc et en ajoutant ma ligne

Code : Tout sélectionner

exec dbus-launch --exit-with-session startxfce4
Mais toujours grisée
HP elitebook 2570P : arch xfce
intelNuc 10 :arch kde
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17186
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [xfce4]xfce4-session

Message par benjarobin »

Sauf que si tu as rajouter cette ligne à la suite du contenu de /etc/skel/.xinitrc, cela risque de poser problème...
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
fran
yeomen
Messages : 234
Inscription : lun. 27 déc. 2010, 18:47
Localisation : breizh

Re: [xfce4]xfce4-session

Message par fran »

non , j'ai suivi le wiki
-- il suffit de le recopier depuis /etc/skel vers /home/user/ :merci:
HP elitebook 2570P : arch xfce
intelNuc 10 :arch kde
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17186
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [xfce4]xfce4-session

Message par benjarobin »

Je crois que l'on ne se comprend pas du tout !!! Car si tu as fait réellement ce que tu dis alors tu auras des soucis !
Merci de donner l'intégralité du contenu du .xinitrc
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
fran
yeomen
Messages : 234
Inscription : lun. 27 déc. 2010, 18:47
Localisation : breizh

Re: [xfce4]xfce4-session

Message par fran »

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 dbus-launch --exit-with-session startxfce4
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

HP elitebook 2570P : arch xfce
intelNuc 10 :arch kde
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17186
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [xfce4]xfce4-session

Message par benjarobin »

C'est bien ce que je disais... Remplace tout par :

Code : Tout sélectionner

#!/bin/sh

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 startxfce4
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
fran
yeomen
Messages : 234
Inscription : lun. 27 déc. 2010, 18:47
Localisation : breizh

Re: [xfce4]xfce4-session

Message par fran »

ok , c'est fait ,
J'avais redemarré avec ce .xinitrc sans probleme


Sinon toujours grisée les commandes changer d'utilisateur , suspendre et éteindre
HP elitebook 2570P : arch xfce
intelNuc 10 :arch kde
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10707
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [xfce4]xfce4-session

Message par FoolEcho »

Avec slim, remplace le exec startxfce4 par exec $1 (ça ne changera rien pour ton problème, ceci dit... mais si tu rajoutes d'autres environnements, c'est nettement plus cohérent...)

Je pense que tu as dû toucher à autre chose (aucun problème pour moi), mais on peut voir tes mises à jour ? (/var/log/pacman.log)
Que renvoient pour ton utilisateur:

Code : Tout sélectionner

groups
find ~ ! -user $USER 
ainsi que:

Code : Tout sélectionner

pacman -Qs xfce4
pacman -Qqk
?
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
fran
yeomen
Messages : 234
Inscription : lun. 27 déc. 2010, 18:47
Localisation : breizh

Re: [xfce4]xfce4-session

Message par fran »

FoolEcho a écrit :Je pense que tu as dû toucher à autre chose (aucun problème pour moi), mais on peut voir tes mises à jour ? (/var/log/pacman.log)
non,je n'ai pas toucher à autre chose(ps:on me fait "souvent" cette remarque chez arch :?: )
FoolEcho a écrit :Avec slim, remplace le exec startxfce4 par exec $1 (ça ne changera rien pour ton problème, ceci dit... mais si tu rajoutes d'autres environnements, c'est nettement plus cohérent...)
fait

/var/log/pacman.log du 8/10

Code : Tout sélectionner

[2014-10-08 12:15] [PACMAN] Running 'pacman --color auto -Sy'
[2014-10-08 12:15] [PACMAN] synchronizing package lists
[2014-10-08 12:15] [PACMAN] Running 'pacman --color auto -S -u'
[2014-10-08 12:15] [PACMAN] starting full system upgrade
[2014-10-08 12:16] [PACMAN] upgraded bumblebee (3.2.1-3 -> 3.2.1-5)
[2014-10-08 12:16] [PACMAN] upgraded libdvdnav (5.0.0-1 -> 5.0.1-1)
[2014-10-08 12:16] [PACMAN] upgraded pcre (8.35-1 -> 8.36-1)
[2014-10-08 12:16] [PACMAN] upgraded python2-chardet (2.2.1-2 -> 2.3.0-1)
[2014-10-08 12:16] [PACMAN] upgraded xfce4-session (4.10.1-3 -> 4.10.1-4)
[2014-10-08 12:32] [PACMAN] Running 'pacman --color auto -S community/cantata'
[2014-10-08 12:36] [PACMAN] Running 'pacman -Rs sabnzbd'
[2014-10-08 12:42] [PACMAN] Running 'pacman -Rs sabnzbd'
[2014-10-08 12:42] [ALPM-SCRIPTLET] ==> There may be some files left in /opt/sabnzbd.
[2014-10-08 12:42] [PACMAN] removed sabnzbd (0.7.18-2)
[2014-10-08 12:42] [PACMAN] removed python2-yenc (0.4.0-2)
[2014-10-08 12:42] [PACMAN] removed python2-cheetah (2.4.4-6)
[2014-10-08 12:42] [PACMAN] removed python2-markdown (2.5-1)
[2014-10-08 12:42] [PACMAN] removed par2cmdline (0.6.10-1)
[2014-10-08 12:42] [PACMAN] Running 'pacman -S python2-markdown'
[2014-10-08 12:43] [PACMAN] Running 'pacman -R pypar'
[2014-10-08 12:44] [PACMAN] Running 'pacman -R pypar2'
[2014-10-08 12:44] [PACMAN] Running 'pacman -Rs gpar2'
[2014-10-08 12:44] [PACMAN] removed gpar2 (0.3-5)
[2014-10-08 12:44] [PACMAN] removed libpar2 (0.2-7)

Code : Tout sélectionner

[franck@asusN53S ~]$ groups
sys lp wheel log video audio optical storage scanner power users vboxusers bumblebee franck

Code : Tout sélectionner

[franck@asusN53S ~]$ find ~ ! -user $USER 
/home/franck/.smbcredentials
/home/franck/.xinitrc
/home/franck/Documents/doc portable/mirrorlist
/home/franck/.config/leafpad
find: "/home/franck/.config/leafpad": Permission non accordée
/home/franck/.config/dfc/dfcrc
/home/franck/.config/Trolltech.conf
[franck@asusN53S ~]$ 

Code : Tout sélectionner

[franck@asusN53S ~]$ pacman -Qs xfce4
local/exo 0.10.2-2 (xfce4)
    Extensions to Xfce by os-cillation
local/garcon 0.2.1-1 (xfce4)
    Implementation of the freedesktop.org menu specification
local/gtk2-xfce-engine 3.0.1-2 (xfce4)
    Xfce Gtk+-2.0 engine
local/gtk3-xfce-engine 3.0.1-2 (xfce4)
    Xfce Gtk+-3.0 engine
local/libxfce4ui 4.10.0-2
    Commonly used Xfce widgets among Xfce applications
local/libxfce4util 4.10.1-2
    Basic utility non-GUI functions for Xfce
local/orage 4.10.0-1 (xfce4-goodies)
    A simple calendar application with reminders for Xfce
local/ristretto 0.6.3-4 (xfce4-goodies)
    A fast and lightweight picture-viewer for Xfce
local/thunar 1.6.3-2 (xfce4)
    Modern file manager for Xfce
local/thunar-archive-plugin 0.3.1-4 (xfce4-goodies)
    Create and extract archives in Thunar
local/thunar-media-tags-plugin 0.2.1-1 (xfce4-goodies)
    Adds special features for media files to the Thunar File Manager
local/thunar-volman 0.8.0-2 (xfce4)
    Automatic management of removeable devices in Thunar
local/tumbler 0.1.30-1 (xfce4)
    D-Bus service for applications to request thumbnails
local/xfburn 0.5.2-1 (xfce4-goodies)
    A simple CD/DVD burning tool based on libburnia libraries
local/xfce4-appfinder 4.10.1-1 (xfce4)
    An application finder for Xfce
local/xfce4-artwork 0.1.1a_git20110420-4 (xfce4-goodies)
    Backdrops for the Xfce4 desktop
local/xfce4-battery-plugin 1.0.5-3 (xfce4-goodies)
    A battery monitor plugin for the Xfce panel
local/xfce4-clipman-plugin 1.2.6-1 (xfce4-goodies)
    A clipboard plugin for the Xfce4 panel
local/xfce4-cpufreq-plugin 1.1.0-1 (xfce4-goodies)
    CPU frequency plugin for the Xfce4 panel
local/xfce4-cpugraph-plugin 1.0.5-2 (xfce4-goodies)
    CPU graph plugin for the Xfce4 panel
local/xfce4-datetime-plugin 0.6.2-3 (xfce4-goodies)
    A date and time display plugin for the Xfce panel
local/xfce4-dict 0.7.0-1 (xfce4-goodies)
    A dictionary plugin for the Xfce panel
local/xfce4-diskperf-plugin 2.5.4-2 (xfce4-goodies)
    Plugin for the Xfce4 panel displaying instant disk/partition performance
local/xfce4-eyes-plugin 4.4.2-2 (xfce4-goodies)
    A rolling eyes (following mouse pointer) plugin for the Xfce panel
local/xfce4-fsguard-plugin 1.0.1-3 (xfce4-goodies)
    File system usage monitor plugin for the Xfce4 panel
local/xfce4-genmon-plugin 3.4.0-2 (xfce4-goodies)
    plugin that monitors customizable programs stdout for the Xfce4 panel
local/xfce4-mailwatch-plugin 1.2.0-4 (xfce4-goodies)
    Multi-protocol, multi-mailbox mail watcher for the Xfce4 panel
local/xfce4-mixer 4.11.0-1 (xfce4)
    The volume control plugin for the Xfce panel
local/xfce4-mount-plugin 0.6.7-2 (xfce4-goodies)
    Mount/umount utility for the Xfce4 panel
local/xfce4-mpc-plugin 0.4.4-3 (xfce4-goodies)
    Control the Music Player Daemon from the Xfce4 panel
local/xfce4-netload-plugin 1.2.0-3 (xfce4-goodies)
    A netload plugin for the Xfce panel
local/xfce4-notes-plugin 1.7.7-6 (xfce4-goodies)
    A notes plugin for the Xfce4 panel
local/xfce4-notifyd 0.2.4-1 (xfce4-goodies)
    Notification daemon for the Xfce desktop
local/xfce4-panel 4.10.1-1 (xfce4)
    Panel for the Xfce desktop environment
local/xfce4-power-manager 1.2.0.212.g75107db-1 (xfce4)
    Power manager for Xfce desktop
local/xfce4-quicklauncher-plugin 1.9.4-9 (xfce4-goodies)
    Plugin that creates little application launchers in the Xfce4 panel
local/xfce4-screenshooter 1.8.1-2 (xfce4-goodies)
    Plugin that makes screenshots for the Xfce panel
local/xfce4-sensors-plugin 1.2.5-2 (xfce4-goodies)
    A lm_sensors plugin for the Xfce panel
local/xfce4-session 4.10.1-4 (xfce4)
    A session manager for Xfce
local/xfce4-settings 4.10.1-1 (xfce4)
    Settings manager for xfce
local/xfce4-smartbookmark-plugin 0.4.5-2 (xfce4-goodies)
    Plugin for the Xfce4 panel that lets you quicksearch from selected websites
local/xfce4-systemload-plugin 1.1.1-2 (xfce4-goodies)
    A system load plugin for the Xfce4 panel
local/xfce4-taskmanager 1.0.1-1 (xfce4-goodies)
    Easy to use task manager
local/xfce4-terminal 0.6.3-1 (xfce4)
    A modern terminal emulator primarly for the Xfce desktop environment
local/xfce4-time-out-plugin 1.0.1-4 (xfce4-goodies)
    Take a break from your computer with this plugin for Xfce4
local/xfce4-timer-plugin 1.6.0-1 (xfce4-goodies)
    Plugin to track time for the Xfce4 panel
local/xfce4-verve-plugin 1.0.0-5 (xfce4-goodies)
    Command line plugin Xfce4 panel
local/xfce4-wavelan-plugin 0.5.11-2 (xfce4-goodies)
    Plugin to monitor wifi connectivity for the Xfce4 panel
local/xfce4-weather-plugin 0.8.3-4 (xfce4-goodies)
    A weather plugin for the Xfce4 panel
local/xfce4-xkb-plugin 0.5.6-1 (xfce4-goodies)
    Plugin to switch keyboard layouts for the Xfce4 panel
local/xfconf 4.10.0-4 (xfce4)
    A simple client-server configuration storage and query system
local/xfdesktop 4.10.2-2 (xfce4)
    A desktop manager for Xfce
local/xfwm4 4.10.1-1 (xfce4)
    Xfce window manager
local/xfwm4-themes 4.10.0-2 (xfce4)
    A set of additional themes for the Xfce window manager

Code : Tout sélectionner

[franck@asusN53S ~]$ pacman -Qqk
polkit /etc/polkit-1/rules.d/50-default.rules
[franck@asusN53S ~]$ 
Dernière modification par fran le jeu. 09 oct. 2014, 16:52, modifié 2 fois.
HP elitebook 2570P : arch xfce
intelNuc 10 :arch kde
Avatar de l’utilisateur
fran
yeomen
Messages : 234
Inscription : lun. 27 déc. 2010, 18:47
Localisation : breizh

Re: [xfce4]xfce4-session

Message par fran »

Nouvelle maj aujourd'hui avec xfce4-session et ça refonctionne

Code : Tout sélectionner

[2014-10-09 16:37] [PACMAN] Running 'pacman --color auto -Sy'
[2014-10-09 16:37] [PACMAN] synchronizing package lists
[2014-10-09 16:38] [PACMAN] Running 'pacman --color auto -S -u'
[2014-10-09 16:38] [PACMAN] starting full system upgrade
[2014-10-09 16:39] [PACMAN] upgraded chromium (37.0.2062.120-2 -> 38.0.2125.101-1)
[2014-10-09 16:39] [PACMAN] upgraded cups-filters (1.0.59-1 -> 1.0.60-1)
[2014-10-09 16:39] [PACMAN] upgraded gimp-plugin-gmic (1.6.0.0-1 -> 1.6.0.1-1)
[2014-10-09 16:39] [PACMAN] upgraded man-pages (3.73-1 -> 3.74-1)
[2014-10-09 16:39] [PACMAN] upgraded python (3.4.1-1 -> 3.4.2-1)
[2014-10-09 16:39] [PACMAN] upgraded wxgtk (3.0.2-1 -> 3.0.2-2)
[2014-10-09 16:39] [PACMAN] upgraded xfce4-session (4.10.1-4 -> 4.10.1-5)
HP elitebook 2570P : arch xfce
intelNuc 10 :arch kde
Répondre