When I wanted to end a ssh session by quitting the shell, I got:

Dec 05 15:12:07 qaa sshd-session[314462]: syslogin_perform_logout: logout() 
returned an error

What does this mean?

I can reproduce the issue in the following way:

1. Start a SSH session with X11 forwarding.

2. Run a script "sudo /usr/local/bin/vpn" that contains

#!/bin/sh
gpg -d some_file.gpg
exit

(this is a simplified script for the test only).
This runs a graphical pinentry.

3. Click on "Cancel".

4. Terminate the login shell with Ctrl-D.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to