SliTaz SliTaz Forum

You are not logged in.

#1 2023-08-14 17:47:18

jp73
Member
Registered: 2023-07-26
Posts: 17

xscreensaver - error geting password

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

#2 2023-12-19 18:38:24

jp73
Member
Registered: 2023-07-26
Posts: 17

Re: xscreensaver - error geting password

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

#3 2023-12-19 18:45:25

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: xscreensaver - error geting password

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

#4 2023-12-19 19:27:36

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: xscreensaver - error geting password

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 smile

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

#5 2023-12-21 15:57:26

jp73
Member
Registered: 2023-07-26
Posts: 17

Re: xscreensaver - error geting password

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

#6 2023-12-21 16:08:42

jp73
Member
Registered: 2023-07-26
Posts: 17

Re: xscreensaver - error geting password

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

#7 2023-12-23 17:38:15

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: xscreensaver - error geting password

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 hmm.

[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

#8 2023-12-23 21:59:45

jp73
Member
Registered: 2023-07-26
Posts: 17

Re: xscreensaver - error geting password

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

#9 2023-12-24 09:26:34

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: xscreensaver - error geting password

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

#10 2023-12-24 10:33:23

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: xscreensaver - error geting password

Test do on rolling.

Need to install (mesa, libglu-mesa, perl), also xorg-xf86-video-intel to avoid use vesa wink

[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 hmm

Offline

#11 2023-12-25 16:31:45

jp73
Member
Registered: 2023-07-26
Posts: 17

Re: xscreensaver - error geting password

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

#12 2023-12-26 12:21:00

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: xscreensaver - error geting password

Hi jp73,

Yes i think on rolling need libGL, when run firt xscreensaver-command -prefs, warn about libGL, libGLU.

On my side, current have already mesa by default.

Thanks, best wishes

Offline

#13 2023-12-26 18:10:03

jp73
Member
Registered: 2023-07-26
Posts: 17

Re: xscreensaver - error geting password

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]