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

xfce-bugs at xfce.org xfce-bugs at xfce.org
Sun Jul 11 21:00:40 CEST 2004


The following bug has been RESOLVED.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000240
=======================================================================
Reporter:                   nick_08150
Handler:                    pollux
=======================================================================
Project:                    XFCE
Bug ID:                     0000240
Category:                   general
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
=======================================================================
Date Submitted:             2004-06-25 08:44 GMT
Last Modified:              2004-07-11 19:00 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.

-----------------------------------------------------------------------
 nick_08150 - 2004-07-04 09:08 GMT 
-----------------------------------------------------------------------
Sorry, this aims at the same as bug
http://bugs.xfce.org/view_bug_page.php?f_id=238

-----------------------------------------------------------------------
 pollux - 2004-07-11 19:00 GMT 
-----------------------------------------------------------------------
ok fixed



More information about the Xfce-bugs mailing list