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

xfce-bugs at xfce.org xfce-bugs at xfce.org
Fri Jun 25 10:44:50 CEST 2004


The following NEW bug has been ADDED.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=240
=======================================================================
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-25 08:44 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.
=======================================================================



More information about the Xfce-bugs mailing list