On Thu, Dec 11, 2003 at 10:45:21AM -0800, Eric Huff wrote: > On Thu, 11 Dec 2003 08:37:06 -0500 > Todd Slater <[EMAIL PROTECTED]> wrote: > > Some other facts: .bash_profile automatically starts X if guest > > logs in on tty1. XFce4 is the environment. When I quit XFce4, it > > automatically boots me out of my session and brings up the logon > > prompt. If I access the account via ssh .bash_logout does get > > executed. So, quitting XFce4 skips .bash_logout? > > > > Ideas or suggestions appreciated. > > How about this: have .bash_profile nohup & a script that startx's, > and then waits for startx to finish, after which it does the > deleting, etc?
I asked on XFce and Jasper immediately knew that I was doing exec startxfce4 in ~/.bash_profile and kindly reminded me that "exec" takes the place of the shell so quitting wouldn't actually log me out. All I had to do was startxfce4 exit Thanks for the help, though! Todd
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com