You are not logged in.

#1 2014-10-26 03:06:13

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

LXDM - xsession-errors file size stays at 0

Since the SLiM project is down I have been testing several display manager to find a good (or better even) replacement for SLiM.

I ended up with LXDM but I have just noticed that despite being created correctly at the start of each session the .xsession-errors file size stays at 0 all the time. Thus, if xsession errors are still logged it is not there as far as I understand it.

In order to test if the issue was actually with LXDM I went back to Lightdm as I recalled that the file 'worked' normally during my test/battle period with that display manager.
As expected this was confirmed.

The wiki does not mention any after installation adjustments, regarding LXDM and xsession errors that is, so I wonder if someone else using LXDM as display manager has/did come across this issue.


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

#2 2014-10-28 04:33:21

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

Re: LXDM - xsession-errors file size stays at 0

Here is my lxdm.conf in case it helps to find the clues I am still missing on my behalf

[base]
## uncomment and set autologin username to enable autologin
# autologin=dgod

## uncomment and set timeout to enable timeout autologin,
## the value should >=5
# timeout=10

## default session or desktop used when no systemwide config
# session=/usr/bin/startlxde

## uncomment and set to set numlock on your keyboard
# numlock=0

## set this if you don't want to put xauth file at ~/.Xauthority
# xauth_path=/tmp

# not ask password for users who have empty password
# skip_password=1

## greeter used to welcome the user
greeter=/usr/lib/lxdm/lxdm-greeter-gtk

[server]
## arg used to start xserver, not fully function
arg=/usr/bin/X -background vt1
# uncomment this if you really want xserver listen to tcp
# tcp_listen=1
# uncoment this if you want reset the xserver after logout
reset=1

[display]
## gtk theme used by greeter
gtk_theme=Atolm-gtk3

## background of the greeter
# bg=/usr/share/backgrounds/default.png

## if show bottom pane
bottom_pane=1

## if show language select control
lang=0

## if show keyboard layout select control
keyboard=0

## the theme of greeter
theme=Southern-Oracle

[input]

[userlist]
## if disable the user list control at greeter
disable=1

## whitelist user
white=

## blacklist user
black=

Even though I think it could be more related to the Xsession file,

#!/bin/sh
#
# LXDM wrapper to run around X sessions.

echo "Running X session wrapper"

if [ $# -eq 1 -a -n "$1" ]; then
	LXSESSION=$1
else
# default session
	LXSESSION=/usr/bin/startlxde
fi

# Load profile
for file in "/etc/profile" "$HOME/.profile" "/etc/xprofile" "$HOME/.xprofile"; do
    if [ -f "$file" ]; then
        echo "Loading profile from $file";
        . "$file"
    fi
done

# Load resources
for file in "/etc/X11/Xresources" "$HOME/.Xresources"; do
    if [ -f "$file" ]; then
        echo "Loading resource: $file"
        xrdb -nocpp -merge "$file"
    fi
done

# Load keymaps
for file in "/etc/X11/Xkbmap" "$HOME/.Xkbmap"; do
    if [ -f "$file" ]; then
        echo "Loading keymap: $file"
        setxkbmap `cat "$file"`
        XKB_IN_USE=yes
    fi
done

# Load xmodmap if not using XKB
if [ -z "$XKB_IN_USE" ]; then
    for file in "/etc/X11/Xmodmap" "$HOME/.Xmodmap"; do
        if [ -f "$file" ]; then
           echo "Loading modmap: $file"
           xmodmap "$file"
        fi
    done
fi

unset XKB_IN_USE

# Run all system xinitrc shell scripts.
xinitdir="/etc/X11/xinit/xinitrc.d"
if [ -d "$xinitdir" ]; then
    for script in $xinitdir/*; do
        echo "Loading xinit script $script"
        if [ -x "$script" -a ! -d "$script" ]; then
            . "$script"
        fi
    done
fi

echo "X session wrapper complete, running session $LXSESSION"

exec $LXSESSION

Though this one is the default and therefore if any other's xsession-errors file is created and these are logged correctly with this one they should too.


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

#3 2014-10-29 22:03:56

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

Re: LXDM - xsession-errors file size stays at 0

I tried a clean install and the behaviour is still the same.

In order to see if I could somehow 'force' the xsession-errors logging I tried to take advantage of a filter fix related to SLiM adding it as PostLogin command. The file is created but, just as with the original, the file stays at 0 size.

I am honestly running out of ideas...


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

Board footer

Powered by FluxBB