[Xfce-bugs] [XFCE 0000240]: xscreensaver startup line in xinitrc not ok
xfce-bugs at xfce.org
xfce-bugs at xfce.org
Fri Jun 25 18:13:43 CEST 2004
A BUGNOTE has been added to this bug.
=======================================================================
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 16: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.
More information about the Xfce-bugs
mailing list