On Fri, Mar 07, 2003 at 08:42:45AM -0600, Bret Hughes wrote:
> On Fri, 2003-03-07 at 06:17, William Warren wrote:
> > Bret,
> > 
> > Sorry, I didn't see your note until I'd posted the ps output from inittab 5.
> > 
> > Here's the output from `ps axfw`, done while the x session was hung, after I 
> > used startx from run level 3.
> > 
> >  1225 ?        S      0:00 login -- root     
> >  1236 tty1     S      0:00  \_ -bash
> >  1285 tty1     S      0:00      \_ /bin/sh /usr/X11R6/bin/startx
> >  1298 tty1     S      0:00          \_ xinit /etc/X11/xinit/xinitrc --
> >  1299 ?        S<     0:04              \_ X :0
> >  1305 tty1     T      0:00              \_ /bin/bash /root/.Xclients
> >  1329 tty1     T      0:00                  \_ stty erase ?
> 
> According to ps xinitrc thinks there is a /root/.Xclients file and it is
> being exectuted or something exec'ed to it and it is hanging on stty
> erase that I assume is in a bash startup script like .bashrc
> 
> run this for me :
> for file in $(ls -ad .Xc*); do echo $file; cat $file;echo;done
> 


Here's the output:

.Xclients
#!/bin/bash

# Created by Red Hat Desktop Switcher

if [ -e "$HOME/.Xclients-$HOSTNAME$DISPLAY" ]; then
    exec $HOME/.Xclients-$HOSTNAME$DISPLAY
else
    exec $HOME/.Xclients-default
fi

.Xclients-default
# Created by Red Hat Desktop Switcher
exec gnome-session

Bill



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to