Re: x11/xscreensaver 2026Q1 locks and no login

John McCue <[email protected]> Sun, 28 Jun 2026 08:44:47 -0400
Newsgroups gmane.os.netbsd.general,gmane.os.netbsd.devel.pkgsrc.user
Message-ID <[email protected]>
On Sat, Jun 27, 2026 at 10:50:17PM +0200, Ramiro Aceves wrote:
>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.

I think you need to set XDG_RUNTIME_DIR when using xfce, also
I thought that was set somehow via dbus.  On my system (NetBSD
11.0 RC5), XDG_RUNTIME_DIR is set to /tmp or the value of
$TMPDIR.

Do you have "dbus=YES" in /etc/rc.conf ?

How does xscreensaver run when using ctwm ?

...
...
...

>Thanks.
>Ramiro.

HTH