[Xfce-bugs] [XFCE 0000240]: xscreensaver startup line in xinitrc not ok

xfce-bugs at xfce.org xfce-bugs at xfce.org
Sat Jun 26 12:13:57 CEST 2004


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000240
=======================================================================
Reporter:                   nick_08150
Handler:                    
=======================================================================
Project:                    XFCE
Bug ID:                     0000240
Category:                   general
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
=======================================================================
Date Submitted:             2004-06-25 08:44 GMT
Last Modified:              2004-06-26 10:13 GMT
=======================================================================
Summary:                    xscreensaver startup line in xinitrc not ok
Description: 
The line to start xscreensaver in the xinitrc script (test $UID -gt 0 -a -z
$VNCSESSION && xscreensaver -no-splash &) doesn't work that way. test
returns "bash: test: argument expected" and fails. I recommend something
like

if [ ${UID} -gt 0 ] && [ "x${VNCSESSION}" = "x" ] ; then
   xscreensaver -no-splash &
fi

or similar, bash has many ways to do this ;-)

Regards,  Nick.
=======================================================================

-----------------------------------------------------------------------
 purslow - 2004-06-25 16:13 GMT 
-----------------------------------------------------------------------
my version of  xinitrc  (4.0.5) has the line:

  test $UID -gt 0 && xscreensaver -no-splash &

and works correctly.  try it out.

-----------------------------------------------------------------------
 nick_08150 - 2004-06-26 10:13 GMT 
-----------------------------------------------------------------------
the line has been updated recently in the CVS branch and in principle is
intended as it is. Only the implementation is not ok. The 4.0.5 version of
course works but doesn't consider VNC sessions.

Nick.



More information about the Xfce-bugs mailing list