After disabling the yubikey authentication in /etc/login.conf it appears that 
xlock is now working.
Side note, when I had yubikey enabled and ran xlock from the command line with 
messages or errors. Same with logs.
I'll look at running ktrace on it next.

Thank you!
-chris

On Wed, Mar 21, 2018 at 09:42:16PM +0100, Paul de Weerd wrote:
> Hi Chris,
> 
> I updated this morning to the latest snap:
> 
> kern.version=OpenBSD 6.3 (GENERIC.MP) #82: Tue Mar 20 11:28:30 MDT 2018
>     [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
> This is what I see in syslog upon start and succesful unlock of xlock
> (note that I also use openbox):
> 
> 2018-03-21T20:35:06.950Z pom xlock[95795]: Start: weerd, weerd, :0
> 2018-03-21T20:35:20.380Z pom xlock[95795]: xlock: root unlocked screen
> 2018-03-21T20:35:20.381Z pom xlock[95795]: Stop: weerd, weerd, :0, 0m 14s
> 
> Does xlock log anything for you?  If you start xlock from a terminal
> (say, xterm), does it output anything when you try to unlock but are
> not succesful?  (which you would see after killing xlock from another
> tty)  Have you tried running xlock under ktrace(1)?  
> 
> Are you running any other programs that might be grabbing your
> keyboard and/or mouse?
> 
> You mention using yubikey.  I don't think that works out-of-the-box
> without any further configuration.  Can you undo that configuration
> and see if that makes a difference for unlocking with your password?
> Compare kdump output from a yubikey enabled attempt and a non-yubi
> attempt.  That may give some more information to help diagnose the
> issue further.
> 
> Cheers,
> 
> Paul 'WEiRD' de Weerd
> 
> On Wed, Mar 21, 2018 at 12:59:14PM -0700, Chris Wojo wrote:
> | Hello:
> | 
> | I've found that when I run xlock to lock the screen, I cannot log back in. 
> I must switch to a different tty and `kill -9 xlock`.
> | 
> | I've tested this several with a few different snapshots since the 6.3 
> version change in both xfce and openbox.
> | Since xlock isn't working, I started using xflock4 and found that it will 
> not accept my Yubikey for unlocking the screen; but requires my password.
> | 
> | I feel like these two issues could be related; but I'm not aware of any way 
> to diagnose why it won't accept my password or yubikey.
> | The yubikey authentication works on login; just not on screen locks.
> | 
> | Here's the uname:
> | OpenBSD celestra 6.3 GENERIC.MP#89 amd64
> | 
> | Any insight or ways for me to help debug would be greatly appreciated.
> | 
> | Thanks!
> | 
> | 
> 
> -- 
> >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
> +++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
>                  http://www.weirdnet.nl/                 
> 

Reply via email to