Re: x11/xscreensaver 2026Q1 locks and no login

Ramiro Aceves <[email protected]> Sun, 28 Jun 2026 09:51:33 +0200
Newsgroups gmane.os.netbsd.devel.pkgsrc.user,gmane.os.netbsd.general
Message-ID <[email protected]>

El 27/6/26 a las 22:50, Ramiro Aceves escribió:
> Hello,
> 
> pkgsrc 2026Q1 binaries.
> 
> netbsd-nuc$ pkgin se xscreensaver
> xscreensaver-6.14nb1 = Screen saver and locker for the X window system
> 
> 
> netbsd-nuc# uname -a
> NetBSD netbsd-nuc.home 11.0_RC5 NetBSD 11.0_RC5 (GENERIC) #0: Tue Jun 16 15:48:07 UTC 2026  [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC amd64
> 
> netbsd-nuc$ xscreensaver &
> [1] 12339
> netbsd-nuc$ error: XDG_RUNTIME_DIR is invalid or not set in the environment.
> 
> xscreensaver does NOT show the splash screen and keeps running in the background ok.
> 
> When I issue the lock command:
> 
> netbsd-nuc$ xscreensaver-command --lock
> xscreensaver-command: locking
> 
> 
> Screen goes black but when moving mouse or keyboard it never returns to the login screen. I did pkill xscreensaver and I could return to my XFCE4 session.
> 
> 
> netbsd-nuc$ error: XDG_RUNTIME_DIR is invalid or not set in the environment.
> error: XDG_RUNTIME_DIR is invalid or not set in the environment.
> xscreensaver: 18:33:53: SIGTERM received while locked: exiting
> 
> SIGTERM is from pkill command I issued.
> 
> 
> xscreensaver-demo works fine showing the different types of screensaver. If I choose one of them and run xscreensaver-command --lock, the animation works but
>   I cannot unlock, unlocking screen never appears. I always must kill the xscreensaver command running in the background.
> 
> 
> Thanks.
> Ramiro.
> 

This is strange, after playing with the RPi4 over VNC from the Intel Nuc,  xscreesaver started to work again in the NUC. I do not understand this.
Yesterday it failed in two different amd64 machines. I do not know why sometimes work and sometimes does not.
I have to investigate it.

Regards.