Re: x11/xscreensaver 2026Q1 locks and no login

Ramiro Aceves <[email protected]> Sun, 28 Jun 2026 09:34:47 +0200
Newsgroups gmane.os.netbsd.general,gmane.os.netbsd.devel.pkgsrc.user
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.
> 

Hi again,

Surprisingly xscreensaver from 11.0_2026Q1 works fine in my RPI4 under VNC session (same XDG_RUNTIME_DIR error,
it seems harmless). Or perhaps using the desktop under en VNC session is not the same as using it on real Xorg hardware... I am an ignorant about this.


netbsd-nuc$ xscreensaver
error: XDG_RUNTIME_DIR is invalid or not set in the environment.


netbsd-nuc$ pkgin se xscreensaver
xscreensaver-6.14nb1 = Screen saver and locker for the X window system

=: package is installed and up-to-date
<: package is installed but newer version is available
 >: installed package has a greater version than available package
netbsd-nuc$

Regards.