You are not logged in.

#1 2011-09-12 17:57:08

mFixman
Member
Registered: 2011-09-12
Posts: 21

ELSA doesn't seem to work with Enlightenment

I'm currently using the Enlightenment desktop, and I can easily enter it using gdm. However, when I try to use ELSA (the e17 display manager), the login screen shows correctly, but when I log in it flashes for a second and then it returns to where it started.

Something similar also happened with SLiM: it showed the login screen, then the Enlightenment "start" screen for a second and then it showed the login screen again.

This is my /etc/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="en_US.UTF-8"
DAEMON_LOCALE="no"
HARDWARECLOCK="UTC"
TIMEZONE="America/Argentina/Buenos_Aires"
KEYMAP="us"
CONSOLEFONT=
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="Arch"

# 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)

# -----------------------------------------------------------------------
# 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 !network netfs crond dbus @wicd)

This is my /etc/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
x:5:respawn:/usr/sbin/elsa > /dev/null

# End of file

This is my current /etc/elsa.conf:

group "Elsa_Config" struct {
    value "session_path" string: "/bin:/usr/bin:/usr/local/bin";

    /* X server path */
    value "xinit_path" string: "/usr/bin/X";
    /* X server args */
    value "xinit_args" string: "-nolisten tcp -br vt7";

    /* xauth path binary */
    value "xauth_path" string: "/usr/bin/xauth";
    /* xauth file for server */
    value "xauth_file" string: "/var/run/elsa.auth";


    /* Commands executed when starting a session */
    value "session_start" string: "/usr/bin/sessreg -a -l :0.0";
    /* Command executed when login. Warning xsession must be set to 0 */
    value "session_login" string: "exec /bin/bash -login /etc/X11/xinit/xinitrc";
    /* Commands executed when exiting a session */
    value "session_stop" string: "/usr/bin/sessreg -d -l :0.0";


    /* Commands executed to shutdown */
    value "shutdown" string: "/sbin/shutdown -h now";
    /* Command executed to reboot */
    value "reboot" string: "/sbin/shutdown -r now";
    /* Command executed to suspend */
    value "suspend" string: "/usr/sbin/pm-suspend";


   /** Start in daemon mode. This can be overriden by the command line
     *  1 = True, 0 = False */
    value "daemonize" uchar: 0;

    /* Enable numlock */
    value "numlock" uchar: 1;

    /** Bool to determine if elsa must login user with the session_login command
     *  or use xdg desktop and determine the command to use
     *  1 = desktop_file_cmd, 0 = session_login */
    value "xsessions" uchar: 1;

    /** Bool to determine if elsa must autologin user when X start
     *  1 = autologin enabled, 0 = autologin disabled */
    value "autologin" uchar: 0;

    /* The name of the user to use when autologin are enabled */
    value "userlogin" string: "myusername";


    /* Lock file */
    value "lockfile" string: "/var/run/elsa.pid";

    /* Log file */
    value "logfile" string: "/var/log/elsa.log";

    /* Theme to use */
    value "theme" string: "default";
}

Any this is /var/log/elsa.log:

elsa: Pam init with name elsa

elsa: Welcome
elsa: Session init '/var/run/elsa.auth'
elsa: write auth '/usr/bin/xauth -f /var/run/elsa.auth -q'
/usr/bin/xauth:  file /var/run/elsa.auth does not exist
elsa: scanning directory /tmp/.local/share/xsessions
elsa: scanning directory /usr/share/xsessions
elsa: client find sessions E16 GNOME2
elsa: client find sessions E16 GNOME3
elsa: client find sessions E16-KDE
elsa: client find sessions E16
elsa: client find sessions Enlightenment
elsa: client find sessions GNOME
elsa: scanning directory /usr/local/share/xsessions
elsa: xserver init
elsa: history init
elsa: server init
elsa: server init ok
ERR<988>:efreet_icon_cache efreet_icon_cache_create.c:885 main() Need to pass extensions to icon cache create process
elsa: xserver started
elsa: Run client
elsa: client init
elsa: client Gui init
ERR<996>:edje edje_amalgamation.c:37867 edje_object_size_min_restricted_calc() file /usr/share/elsa/themes/default.edj, group elsa has a non-fixed part 'password'. Adding 'fixed: 1 1;' to source EDC may help. Continuing discarding faulty part.
elsa: client run
elsa: server client connected
elsa: client connected
elsa: Action set
elsa: echo on
elsa: echo off
elsa: Session Init
elsa: launching exec /bin/bash -login /etc/X11/xinit/xinitrc for user martin
elsa: Session Run
elsa: write auth '/usr/bin/xauth -f /home/martin/.Xauthority -q'
elsa: server shutdown
elsa: history shutdown
elsa: Pam shutdown
elsa: client disconnected
elsa: client shutdown
elsa: Gui shutdown
elsa: client server init ok
elsa: client server shutdown
elsa: Pam init with name elsa

elsa: Welcome
elsa: Session init '/var/run/elsa.auth'
elsa: write auth '/usr/bin/xauth -f /var/run/elsa.auth -q'
/usr/bin/xauth:  file /var/run/elsa.auth does not exist
elsa: scanning directory /tmp/.local/share/xsessions
elsa: scanning directory /usr/share/xsessions
elsa: client find sessions E16 GNOME2
elsa: client find sessions E16 GNOME3
elsa: client find sessions E16-KDE
elsa: client find sessions E16
elsa: client find sessions Enlightenment
elsa: client find sessions GNOME
elsa: scanning directory /usr/local/share/xsessions
elsa: xserver init
elsa: history init
elsa: server init
elsa: server init ok
ERR<1196>:efreet_icon_cache efreet_icon_cache_create.c:885 main() Need to pass extensions to icon cache create process
elsa: xserver started
elsa: Run client
elsa: client init
elsa: client Gui init
ERR<1199>:edje edje_amalgamation.c:37867 edje_object_size_min_restricted_calc() file /usr/share/elsa/themes/default.edj, group elsa has a non-fixed part 'password'. Adding 'fixed: 1 1;' to source EDC may help. Continuing discarding faulty part.
elsa: client run
elsa: server client connected
elsa: client connected
elsa: Action set

Can anyone help me on this?

Last edited by mFixman (2011-09-12 17:59:33)

Offline

#2 2011-09-12 18:36:43

libernux
Member
From: Netherlands
Registered: 2009-09-29
Posts: 53

Re: ELSA doesn't seem to work with Enlightenment

Did you build Elsa with this package from AUR: elsa-svn-arch
The way your elsa.conf looks like indicates to me that you have not.
Please use the package because you are also missing pam-files.


I was born with nothing and I still got most of it

Offline

Board footer

Powered by FluxBB