Re: Possible flaw in XFree?

From: Vilmos Soti (vilmosat_private)
Date: Fri Jun 28 2002 - 11:10:57 PDT

  • Next message: mdonnelly: "Re: Possible flaw in XFree?"

    Hello,
    
    On Friday, June 28 2002, Nuno Branco wrote:
    
    > try to start your Xserver with the command
    > 
    > [root@machine branco]$ startx && exit
    > 
    > Maybe it will do the trick :)
    
    No, it will not do the trick. What happens if the user manages to
    crash X thus it returns a failure? The "&& exit" won't get executed.
    
    You could either do a
    
    [root@machine branco]$ startx; exit
    
    or, even better, try
    
    [root@machine branco]$ exec startx
    
    And one more thing... DO NOT RUN X AS ROOT!!! AND ESPECIALLY IF YOU ARE
    LOGGED IN AS ROOT MAKE SURE THAT YOU HAVE THE HASH SIGN!!!
    
    Vilmos
    



    This archive was generated by hypermail 2b30 : Fri Jun 28 2002 - 16:19:28 PDT