You are not logged in.
Pages: 1
xscreensaver v 5.44 was installed.
xscreensaver starts, the screensaver appears according to the setup, but the "screen lock" does not work.
During the run by command "xscreensaver &" next error messages come on:
jp73@nb:~$ xscreensaver: 18:15:36: couldn't get password of "jp73"
xscreensaver: 18:15:36: couldn't get password of "root"
xscreensaver: 18:15:36: locking is disabled (error getting password).
xscreensaver: 18:15:36: does xscreensaver need to be setuid? consult the manual.
xscreensaver: unable to find any alternatives to "-*-helvetica-bold-r-*-*-*-180-*-*-*-*-iso8859-1"
xscreensaver: unable to find any alternatives to "-*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-1"
xscreensaver: unable to find any alternatives to "-*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-1"
Trying to turn on the block of screen by command "xscreensaver-command -lock" gives same error:
xscreensaver-command -lock
xscreensaver: 18:16:02: LOCK ClientMessage received, but locking is disabled.
xscreensaver-command: locking not enabled.
Also there is error with
I don't know Linux well and I don’t know how to deal with the problem.
Would anyone like to help in setup of xscreensaver?
There is also a font error, but this is not so important.
SliTaz 5.0 i686 Rolling 3.16.55-slitaz
Offline
According to information on the home page, xscreensaver must either be suid root or pam must be correctly set up.
I set SUID to the file of xscreensaver, now:
$ ls -l /usr/local/bin/:
[c]...
-rwsr-xr-x 1 root root 703004 Jul 31 21:02 xscreensaver*
...[/c]
Password error messages have disappeared, and lock/unlock of a screen now works correctly.
However document tells:
"If your system doesn't use shadow passwords, or if your system uses PAM (and PAM is installed correctly!), then xscreensaver will work even if it is not setuid".
I would like to set pam settings correctly for xscreensaver to work properly without using SUID.
The "xscreencaver.pam" file is appeared in the /etc/pam.d directory with the following content:
[c]#%PAM-1.0
# Fedora Core 5:
# auth include system-auth
# SuSE 9.0: (along with "configure --with-passwd-helper" and "unix2_chkpwd")
# auth required pam_unix2.so nullok
# Distant past:
# auth required /lib/security/pam_pwdb.so shadow nullok
# Account validation
#account include system-auth[/c]
Does anyone know what settings are suitable for Slitaz?
Thank you.
Offline
Hi jp73,
I build it on current version (apply patch from Slackware, work as expected).
Let's me check to build them for rolling also and test.
Minus issue about font, work well
Packages available to https://people.slitaz.org/~shann/slitaz-current-stuff/packages-incoming/
but due of major upgrade i do on current, don't think work directly as is on rolling
Offline
jp73,
I rebuild and test it, work as expected on rolling.
Just need to patch it, work with gdk-pixbuf 2.31 (have xlib embed)
commit push, cook build package.
In repo tommorow, but you can download fresh 
https://cook.slitaz.org/cooker.cgi?download=xscreensaver-5.45.tazpkg
Also this is workaround for error display (infact better to have fonts dpi)
In .xscreensaver change captureStderr / overlayStderr to False
Offline
Thanks, shann.
I downloaded the package and installed.
*In .xscreensaver change captureStderr / overlayStderr to False - this was completed.
When the xscreensaver is launched with Slitaz from autostart, any problems are not observed.
Blocking/unlocking from the terminal is in order.
The password entry window does not look very beautiful to unlock the screen, apparently due to the fonts used.
[attachment=51907,3456]
Offline
Some work details:
------------------------------------
After loading the system:
[c]$ pidof xscreensaver
1726
$ xscreensaver-command -lock
xscreensaver-command: activating and locking.
$ xscreensaver-command -lock
xscreensaver-command: activating and locking.[/c]
If you do not delve into the details, then everything is in order.
However, when the xscreensaver is launched from the terminal, you can see some errors in the working process.
At the same time, the screensaver works and performs its functions.
The launch is always in order - xscreensaver starts without any warning messages.
[c]$ xscreensaver-command -exit
$ xscreensaver &
[1] 3657[/c]
Then, during the operation of the xscreensaver, you can from time to time receive errors in the console:
[c]$ X Error: BadAccess (attempt to access private resource denied) 10
Major opcode: 2 (X_ChangeWindowAttributes)
Resource id: 0xc0000a
X Error: BadAccess (attempt to access private resource denied) 10
Major opcode: 2 (X_ChangeWindowAttributes)
Resource id: 0xc0000a
X Error: BadAccess (attempt to access private resource denied) 10
Major opcode: 2 (X_ChangeWindowAttributes)
Resource id: 0xc0000e
X Error: BadAccess (attempt to access private resource denied) 10
Major opcode: 2 (X_ChangeWindowAttributes)
Resource id: 0xc0000e
X Error: BadAccess (attempt to access private resource denied) 10
Major opcode: 2 (X_ChangeWindowAttributes)
Resource id: 0xc00012
X Error: BadAccess (attempt to access private resource denied) 10
Major opcode: 2 (X_ChangeWindowAttributes)
Resource id: 0xc00012[/c]
And after the procedure blocking/unlock in the terminal, we can see warnings:
[c]xscreensaver-coxscreensaver-command -lock
xscreensaver-command: activating and locking.
X Error: BadAccess (attempt to access private resource denied) 10
Major opcode: 2 (X_ChangeWindowAttributes)
Resource id: 0xc00016
X Error: BadAccess (attempt to access private resource denied) 10
Major opcode: 2 (X_ChangeWindowAttributes)
Resource id: 0xc00016
xscreensaver: unable to find any alternatives to "-*-helvetica-bold-r-*-*-*-180-*-*-*-*-iso8859-1"
xscreensaver: unable to find any alternatives to "-*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-1"
xscreensaver: unable to find any alternatives to "-*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-1"
xscreensaver: unable to find any alternatives to "-*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-1"
xscreensaver: unable to find any alternatives to "-*-helvetica-medium-r-*-*-*-80-*-*-*-*-iso8859-1"
xscreensaver: unable to find any alternatives to "-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-1"[/c]
Offline
Hi jp73,
I test on my eeepc, with rolling iso (updated latest with [c]tazpkg up -r[/c]), install xscreensaver on it.
No see issue on term
.
[c]
tux@slitaz:~$ xscreensaver &
tux@slitaz:~$ xscreensaver-command -lock
xscreensaver-command: activating and locking.
tux@slitaz:~$ tazpkg -l |grep xorg-server
xorg-server 1.12.4 X-window
tux@slitaz:~$
[/c]
Also test with my current, no issue happen.
Offline
Hi shann.
The versions of these packages on my eeepc are the same as yours: Xorg-Server 1.12.4 and xscreensever 5.45.
Maybe problem is in selected screensaver.
If you open the program settings by the command
[c]xscreensaver-command -pref[/c]
and choose different screensaars from the list, then some screensavers give out errors, but usually work normally.
Here are messages on my eeepc, appearing in the console when moving along the list of screensaver:
[c]$ xscreensaver-command -prefs
(xscreensaver-demo:7260): GLib-GObject-WARNING **: The property GtkDialog:has-separator is deprecated and shouldn't be used anymore. It will be removed in a future version.
bsod: unable to find any alternatives to "-*-helvetica-medium-r-*-*-*-180-*-*-*-*-*-*"
bsod: unable to find any alternatives to "-*-helvetica-medium-r-*-*-*-140-*-*-*-*-*-*"
bsod: unable to find any alternatives to "-*-helvetica-bold-r-*-*-*-180-*-*-*-*-*-*"
crumbler: out of memory
geodesicgears: unable to find any alternatives to "-*-helvetica-medium-r-normal-*-*-160-*-*-*-*-*-*"
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
glitchpeg: too many errors loading images
xscreensaver-demo: 22:10:01: /usr/share/xscreensaver/config/hexadrop.xml: both "-uniform-speed" and "-nonuniform-speed" used in <select id="uniform">
xscreensaver-demo: 22:10:01: /usr/share/xscreensaver/config/hexadrop.xml: both "-lockstep" and "-no-lockstep" used in <select id="lockstep">
xscreensaver-demo: 22:10:13: /usr/share/xscreensaver/config/hypertorus.xml: both "-onesided" and "-twosided" used in <select id="colors">
jigsaw: unable to find any alternatives to "-*-helvetica-bold-r-normal-*-*-240-*-*-*-*-*-*"
X Error: BadAccess (attempt to access private resource denied) 10
Major opcode: 2 (X_ChangeWindowAttributes)
Resource id: 0x7e
X Error: BadAccess (attempt to access private resource denied) 10
Major opcode: 2 (X_ChangeWindowAttributes)
Resource id: 0x7e
xscreensaver-demo: 22:12:10: /usr/share/xscreensaver/config/munch.xml: both "-classic" and "-mismunch" used in <select id="mismunch">
penetrate: unable to find any alternatives to "-*-helvetica-*-r-*-*-*-180-*-*-*-*-*-*"
X error in shadebobs:
X error in starfish:
starwars: unable to find any alternatives to "-*-utopia-bold-r-normal-*-*-360-*-*-*-*-*-*"
unicrud: unloadable, unparsable font: "-*-helvetica-bold-r-normal-*-*-2400-*-*-*-*-iso10646-1"
vidwhacker: no imageDirectory set in /home/jp73/.xscreensaver
Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.14.1/i486-linux /usr/lib/perl5/site_perl/5.14.1 /usr/lib/perl5/5.14.1/i486-linux /usr/lib/perl5/5.14.1 /usr/lib/perl5/site_perl .) at /usr/libexec/xscreensaver/webcollage line 59.
BEGIN failed--compilation aborted at /usr/libexec/xscreensaver/webcollage line 59.
xscreensaver-getimage: 0x1c006fb is a pixmap, not a window!
$[/c]
If there is time to check, please, whether error messages appear on your computer.
If there are no problems on your computer, then this is good.
Maybe during my experiments and attempts to configure xscreensaver, I broke something in my system.
In this case, I will have to remove garbage from the system.
Thank You.
[attachment=51922,3457]
Offline
Hi jp73,
On my current this is log i see when run xscreensaver-command -prefs :
[c]
stan@slitaz:~$ xscreensaver-command -prefs
bsod: unable to find any alternatives to "-*-helvetica-medium-r-*-*-*-180-*-*-*-*-*-*"
bsod: unable to find any alternatives to "-*-helvetica-medium-r-*-*-*-140-*-*-*-*-*-*"
bsod: unable to find any alternatives to "-*-helvetica-bold-r-*-*-*-180-*-*-*-*-*-*"
fontglide: no scalable fonts found! (pattern: -*-*-*-*-*-*-0-0-0-0-p-0-iso8859-1)
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
glitchpeg: too many errors loading images
xscreensaver-demo: 10:17:33: /usr/share/xscreensaver/config/hexadrop.xml: both "-uniform-speed" and "-nonuniform-speed" used in <select id="uniform">
xscreensaver-demo: 10:17:33: /usr/share/xscreensaver/config/hexadrop.xml: both "-lockstep" and "-no-lockstep" used in <select id="lockstep">
xscreensaver-demo: 10:20:18: /usr/share/xscreensaver/config/munch.xml: both "-classic" and "-mismunch" used in <select id="mismunch">
X error in munch:
penetrate: unable to find any alternatives to "-*-helvetica-*-r-*-*-*-180-*-*-*-*-*-*"
vidwhacker: no imageDirectory set in /home/stan/.xscreensaver
Can't locate LWP/UserAgent.pm in @INC (you may need to install the LWP::UserAgent module) (@INC contains: /usr/lib/perl5/site_perl/5.34.0/i486-linux /usr/lib/perl5/site_perl/5.34.0 /usr/lib/perl5/5.34.0/i486-linux /usr/lib/perl5/5.34.0) at /usr/libexec/xscreensaver/webcollage line 59.
BEGIN failed--compilation aborted at /usr/libexec/xscreensaver/webcollage line 59.
[/c]
Go to check for rolling.
Offline
Test do on rolling.
Need to install (mesa, libglu-mesa, perl), also xorg-xf86-video-intel to avoid use vesa 
[c]
stan@slitaz:~$ xscreensaver-command -prefs
(xscreensaver-demo:11061): GLib-GObject-WARNING **: The property GtkDialog:has-separator is deprecated and shouldn't be used anymore. It will be removed in a future version.
crumbler: out of memory
crumbler: out of memory
fliptext: unable to find any alternatives to "-*-utopia-bold-r-normal-*-*-720-*-*-*-*-*-*"
fontglide: no scalable fonts found! (pattern: -*-*-*-*-*-*-0-0-0-0-p-0-iso8859-1)
geodesicgears: unable to find any alternatives to "-*-helvetica-medium-r-normal-*-*-160-*-*-*-*-*-*"
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
xscreensaver-getimage-file: image file loading is not configured
glitchpeg: too many errors loading images
xscreensaver-demo: 11:19:04: /usr/share/xscreensaver/config/hexadrop.xml: both "-uniform-speed" and "-nonuniform-speed" used in <select id="uniform">
xscreensaver-demo: 11:19:04: /usr/share/xscreensaver/config/hexadrop.xml: both "-lockstep" and "-no-lockstep" used in <select id="lockstep">
X error in hexstrut:
xscreensaver-demo: 11:19:19: /usr/share/xscreensaver/config/hypertorus.xml: both "-onesided" and "-twosided" used in <select id="colors">
jigsaw: unable to find any alternatives to "-*-helvetica-bold-r-normal-*-*-240-*-*-*-*-*-*"
X error in lockward:
xscreensaver-demo: 11:21:20: /usr/share/xscreensaver/config/munch.xml: both "-classic" and "-mismunch" used in <select id="mismunch">
penetrate: unable to find any alternatives to "-*-helvetica-*-r-*-*-*-180-*-*-*-*-*-*"
starwars: unable to find any alternatives to "-*-utopia-bold-r-normal-*-*-360-*-*-*-*-*-*"
X error in surfaces:
unicrud: unloadable, unparsable font: "-*-helvetica-bold-r-normal-*-*-2400-*-*-*-*-iso10646-1"
vidwhacker: no imageDirectory set in /home/stan/.xscreensaver
Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.14.1/i486-linux /usr/lib/perl5/site_perl/5.14.1 /usr/lib/perl5/5.14.1/i486-linux /usr/lib/perl5/5.14.1 /usr/lib/perl5/site_perl .) at /usr/libexec/xscreensaver/webcollage line 59.
BEGIN failed--compilation aborted at /usr/libexec/xscreensaver/webcollage line 59.
[/c]
Also note that xscreensaver on rolling have more screens choices that on my current.
I try to be more verbose with [c]xscreensaver -verbose -prefs[/c], and recheck for few mode (surfaces) don't see error on term and see preview 
Offline
ok, shann.
don't see error on term and see preview
I agree.
The problem indicated in the title of the topic has been resolved, and this is the main result.
Another small problem with xscreensaver. The Fade function does not work. Probably the reason in GL. Does it work for you?
Merry christmas and a happy new year!
[attachment=51929,3462]
Offline
We can sum it up.
The problem indicated in the topic title has been resolved.
If other questions arise about the screensaver, this will be a new topic.
Thanks, shann.
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]