опять проблемы с slim и xfce4

загружаю slim через inittab, после его успешной загрузки логинюсь, а он вновь загружает слим
xinitrc - там и с ck-launch-session и без пытался, не в этом дело
dbus запускаю
в логах слим ругается, что xfce4 не может открыть окно, мол x сервер уже запущен
saff
загружаю slim через inittab, после его успешной загрузки логинюсь, а он вновь загружает слим
xinitrc - там и с ck-launch-session и без пытался, не в этом дело
dbus запускаю
в логах слим ругается, что xfce4 не может открыть окно, мол x сервер уже запущен
Покажите вывод cat /etc/slim.conf | grep login_cmd
Может это поможет
http://bbs.archbang.org/viewtopic.php?id=2739
И когда делали pacman -Syu?
Последний крик моды - эхо 30-летней давности.
А попробуйте убрать slim, грузитесь в level 3. Потом вручную startx. Скорее всего, здесь увидите, почему иксы не грузятся.
kurych
А попробуйте убрать slim, грузитесь в level 3. Потом вручную startx. Скорее всего, здесь увидите, почему иксы не грузятся.
иксы грузятся, в том и дело
tchgefest
saff
загружаю slim через inittab, после его успешной загрузки логинюсь, а он вновь загружает слим
xinitrc - там и с ck-launch-session и без пытался, не в этом дело
dbus запускаю
в логах слим ругается, что xfce4 не может открыть окно, мол x сервер уже запущен
Покажите вывод cat /etc/slim.conf | grep login_cmd
Может это поможет
http://bbs.archbang.org/viewtopic.php?id=2739
И когда делали pacman -Syu?
вот
login_cmd exec /bin/bash -login ~/.xinitrc %session
Тогда покажите, что у Вас в
/etc/inittab
/etc/rc.conf
~/.xinitrc
ну и в /etc/slim.conf, что бы по сто раз не переспрашивать.
Желательно именно в том состоянии, при котором возникает проблема.
kurych
Тогда покажите, что у Вас в
/etc/inittab
/etc/rc.conf
~/.xinitrc
ну и в /etc/slim.conf, что бы по сто раз не переспрашивать.
Желательно именно в том состоянии, при котором возникает проблема.
и так..
rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# startup and during the boot process. If set to 'no', the C locale is used.
# HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
#   Note: Using "localtime" is discouraged, using "" makes hwclock fall back
#   to the value in /var/lib/hwclock/adjfile
# TIMEZONE: timezones are found in /usr/share/zoneinfo
#   Note: if unset, the value in /etc/localtime is used unchanged
# 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="ru_RU.UTF-8"
DAEMON_LOCALE="yes"
HARDWARECLOCK="localtime"
TIMEZONE="Asia/Yekaterinburg"
KEYMAP="ruwin_cplk-UTF-8"
CONSOLEFONT="ruscii_8x16.psfu.gz"
CONSOLEMAP=
USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
#   Replace every !module by an entry as on the following line in a file in
#   /etc/modprobe.d:
#     blacklist module
#   See "man modprobe.conf" for details.
#
MODULES=()
# Udev settle timeout (default to 30)
UDEV_TIMEOUT=30
# Scan for FakeRAID (dmraid) Volumes at startup
USEDMRAID="no"
# Scan for BTRFS volumes at startup
USEBTRFS="no"
# 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="myhost"
# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
#   - interface: name of device (required)
#   - address: IP address (leave blank for DHCP)
#   - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
#   - broadcast: broadcast address (ignored for DHCP) (optional)
#   - gateway: default route (ignored for DHCP)
# 
# Static IP example
#interface=eth0
#address=192.168.0.2
#netmask=255.255.255.0
#broadcast=192.168.0.255
#gateway=192.168.0.1
#
# DHCP example
interface=eth0
address=
netmask=
gateway=
#interface=eth0
#address=
#netmask=
broadcast=
#gateway=
# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"
# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as 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 requires the netcfg package
#
#NETWORKS=(main)
#gateway="default gw 192.168.0.1"
#ROUTES=(gateway)
# -----------------------------------------------------------------------
# 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
#
# If something other takes care of your hardware clock (ntpd, dual-boot...)
# you should disable 'hwclock' here.
#
DAEMONS=(hwclock syslog-ng dbus @network netfs crond)
slim.conf
# 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
saff_r_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
# Available 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-session,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        saff
# 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
.xinitrc
exec startxfce4
inittab
#
# /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
su:S:wait:/sbin/sulogin -p
# -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
# Serial Virtual Console for KVM and others VMs
#s0:2345:respawn:/sbin/agetty -8 -s 9600 ttyS0 linux
# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 -s 38400 hvc0 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
x:5:respawn:/usr/bin/slim >/dev/null 2>&1
# End of file
Предлагаю для начала взять .xinitrc из /etc/skel/.xinitrc и уже там прописать “exec startxfce4”
После этого попробуйте опять загрузиться в runlevel 5. Если ничего не изменится, дальше посмотрим. Тогда было бы не плохo посмотреть на slim.log и Xorg.0.log
 
Зарегистрироваться или войдите чтобы оставить сообщение.