! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xscreensaver startup line in xinitrc not ok
Status:
CLOSED: FIXED
Product:
Xfce-utils
Component:
General

Comments

Description Nikolas.Arend 2004-06-25 08:44:44 CEST
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.
Comment 1 purslow 2004-06-25 16:13:43 CEST
my version of xinitrc (4.0.5) has the line:

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

and works correctly. try it out.
Comment 2 Nikolas.Arend 2004-06-26 10:13:57 CEST
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.
Comment 3 Nikolas.Arend 2004-07-04 09:08:38 CEST
Sorry, this aims at the same as bug #238
Comment 4 Jean-François Wauthy editbugs 2004-07-11 19:00:40 CEST
ok fixed
Comment 5 Jean-François Wauthy editbugs 2004-07-11 19:00:54 CEST
fixed so i close it

Bug #240

Reported by:
Nikolas.Arend
Reported on: 2004-06-25
Last modified on: 2009-07-14

People

Assignee:
Jean-François Wauthy
CC List:
0 users

Version

Attachments

Additional information