On Thu, 29 Jul 1999, Jeff wrote:
In ~/.alias: alias xl='cd;x -- -auth .Xauthority;logout'
Ok, this is all good, except you don't really need that ";logout", for anyone not literate in bash syntax, that is the equivalent of typing logout immediately after you kill your xsession.. if anyone reading this is like me, they also use the command line for various programs, so remove the logout part if you intend to use the command line after exiting X.. Otherwise, this part worked great.
Hello Jeff, I hope, you have seen the letter from Michael: On Thu, 29 Jul 1999, Michael Bausch wrote:
btw: there is a startx-related local security issue. when you fire up X11 using startx, xlock the screen and walk away, someone with access to the keyboard could just switch back to the text console, background the startx process, kill the xlock process and thus gain full access to your Xsession. this can be prevented by using something like (startx &); exit instead of startx.
So that's the sens of "logout" ! ( my function x was with a "&" too ) Why "xl"? -> "X"-windows and "L"ogout ! :-)
*grin* So I fixed it on my own and posted it... oh well..
Yeah, thanks for the comments! Bye, Peter