]> source.dussan.org Git - tigervnc.git/commit
Support the "%u" username alias in PlainUsers 1671/head
authorCarlos Santos <casantos@redhat.com>
Tue, 3 Oct 2023 18:00:02 +0000 (15:00 -0300)
committerCarlos Santos <casantos@redhat.com>
Tue, 3 Oct 2023 18:00:02 +0000 (15:00 -0300)
commit79d441ed17d19942b03cac2f1e4ac730f34c3b82
tree123d75362f5f50fd3cef7e991e9cebe86977fbbb
parentc891143b05eff17d9908fa88dcb1aa759c0a728b
Support the "%u" username alias in PlainUsers

This permits to enable PAM for the effective user of the Xvnc process by
adding this to ~/.vnc/config or /etc/tigervnc/vncserver-config-defaults:

   SecurityTypes=TLSPlain
   PlainUsers=%u

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2233204
Signed-off-by: Carlos Santos <casantos@redhat.com>
common/rfb/SSecurityPlain.cxx
unix/x0vncserver/x0vncserver.man
unix/xserver/hw/vnc/Xvnc.man