humm.. that is in here, but I'm not doing xdm.Maybe this helps:
/usr/local/etc/X11/xdm/Xsession
Code:# redirect errors to a file in user's home directory if we can errfile="$HOME/.xsession-errors" if ( umask 077 && cp /dev/null "$errfile" 2> /dev/null ) then exec > "$errfile" 2>&1 else ...
$ ls /usr/local/etc/X11/
xinit xorg.conf.d
[code]
XIO: fatal IO error 0 (No error: 0) on X server "unix:0.0"
after 86 requests (85 known processed) with 0 events remaining.
I'm using slim, this is what I put in .xinitrcWith minimal X and no X login manager, this is what I use to get the Xserver running with the i3 window manager:
My .xinitrc does nothing more than set some font paths and finally does anCode:startx ~/.xinitrc i3 >& ~/.xsession.log
exec $1
.
[userx@FreeBSD64ssd ~]$ cat .xinitrc
#!/usr/bin/env bash
echo "$(date) :-: $1" >> ~/started
errfile="$HOME/.xsession-errors"
if [ -z "$HOSTNAME" ]; then
errfile="$HOME/.xsession-errors"
else
errfile="$HOME/.xsession-errors-$HOSTNAME"
fi
exec $1
it's somethingYou probably want to change the last line fromtoCode:exec $1
Code:exec $1 &>> ${errfile}
[userx@FreeBSD64ssd ~]$ cat .xsession-errors
/usr/local/bin/startxfce4: X server already running on display unix:0.0
console.log: WebExtensions: new intermediate certificate added
console.log: WebExtensions: signatures re-verified
Log warning: The log 'Services.Common.RESTRequest' is configured to use the preference 'services.common.log.logger.rest.request' - you must adjust the level by setting this preference, not by using the level setter