Hi Jens,
strange and interesting things going on here
First of all I added the code to the next section of code in the Xsession file. There was one line more per “command” in my file as compared to the one you sent (not that I think it makes a difference) so this is how mine looks like now (at least the part being analyzed now):
…echo “$0 about to hand on to window manager” >> /tmp/Xsession.trace.out
if test “$forced” = “yes” ; then
test -x $syssess && exec_login “$syssess”
echo “$0: exec_login "$syssess" "$@"” >> /tmp/Xsession.trace.out
exec_login “/bin/bash $syssess”
fi
User login X session
If the user doesn’t have their own xsession, then run
system xsession or xinitrc script if they exist
if test -f $session ; then
test -x $session && exec_login “$session”
echo “$0: exec_login "$session" "$@"” >> /tmp/Xsession.trace.out
exec_login “/bin/bash $session”
elif test -f $xinitrc ; then
test -x $xinitrc && exec_login “$xinitrc”
echo “$0: exec_login "$xinitrc" "$@"” >> /tmp/Xsession.trace.out
exec_login “/bin/bash $xinitrc”
elif test -f $syssess; then
test -x $syssess && exec_login “$syssess”
echo “$0: exec_login "$syssess" "$@"” >> /tmp/Xsession.trace.out
exec_login “/bin/bash $syssess”
elif test -f $sysinit ; then
test -x $sysinit && exec_login “$sysinit”
echo “$0: exec_login "$sysinit" "$@"” >> /tmp/Xsession.trace.out
exec_login “/bin/bash $sysinit”
elif test -n “$WINDOWMANAGER” ; then
unset STARTUP WINDOW_MANAGER
echo “$0: exec_login "$WINDOWMANAGER" "$@"” >> /tmp/Xsession.trace.out
exec_login “$WINDOWMANAGER”
fi
echo “$0 no proper window manager detected” >> /tmp/Xsession.trace.out
The output of the Xsession trace file ends at the same place as before:
srappse03:/tmp # tail -F /tmp/Xsession.trace.out
/etc/X11/xdm/Xsession started
/etc/X11/xdm/Xsession about to hand on to window manager
/etc/X11/xdm/Xsession started
/etc/X11/xdm/Xsession about to hand on to window manager
/etc/X11/xdm/Xsession started
/etc/X11/xdm/Xsession about to hand on to window manager
So that would mean the program ends there and doesn’t hand over to the window manager properely?!?
I ran the rpm -V command for xdm and got this output:
rpm -V xdm
package xdm is not installed
This is really wierd because the command rcxdm status tells me that it’s running? And there are several folders and traces of it on the system. The same command for gdm gave this output:
rpm -V gdm
.M…U… /var/log/gdm
.M… /var/run/gdm
This really confusing and like looking for a needle in a haystack. WIll read check out the link you sent with the thread describing the permissions issue.
Regards
Patrick