Yersterday I edited my xinitrc, to launch xterm at startup instead of st, due to the strange behavior I explained here.
Inside the terminal I launch a screen session.
Look at my xinitrc:
Code:
$ cat .xinitrc
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# Start some programs
slstatus &
st -e screen &
#xterm -e screen &
# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec ck-launch-session /usr/bin/dwm
else
exec /usr/bin/dwm
fi
Now, if I startx with that startup command (st -e screen &), X starts properly, also st terminal as well as screen session seems running fine.
What's happen if I try to detach that screen session (CTRL+a d) ? Nothing special, screen session results detached... (screen -list)
But when I try to re-attach it (screen -r), well screen crash with this error
Code:
screen caught signal 11. (core dumped)
If I comment "st -e screen &" in xinitrc and uncomment "xterm -e screen &". X startsup, xterm too, as well as screen session.
I can detach it and if I try to reattach it with "screen -r", it works properly.
So something wrong in Simple Terminal seems to persist again.
Any idea is welcome!