<div><br></div><div >Windows server?  We don't need no stinkin windows server.<br></div><div ><br></div><div >No really, my Ubuntu 18 board has no display so I only ssh into it.<br></div><div ><br></div><div >My tests on limits (requiring the reboot for the windows manager to pickup the limits file) was on an Ubuntu 20 box.<br></div><div ><br></div><div >So I did not totally test your situation on Ubuntu 18.  Sorry.<br></div><div ><br></div><div >In terms of the vncserver file in /etc/pam.d - it is there because you added vncserver according to your notes.<br></div><div ><br></div><div >Do note that there is another possibility.  The installation might have had a bug in it that has never been patched.  <br></div><div ><br></div><div >cheers<br></div><div ><br></div><div >bruce</div><div ><br></div><div ><br></div><div class="ik_mail_quote"><div>On 2021-09-30T19:57:45.000+02:00, tim Rowledge <tim@rowledge.org> wrote:</div><blockquote class="ws-ng-quote"><pre style="white-space: normal;">I'd still quite like for us to discover & document why the setting has no effect under the (relatively) normal circumstance of a machine that boots straight into a user's account and yet does work if you ssh into your own machine. That seems like a pretty dumb setup somehow.<br><br>I note that the list of /etc/pam.d file on my Pi is larger than on the ubuntubox and includes a couple that look 'suspicious' - lightdm* and vncserver.<br><br>Bruce, you mentioned that it works on your ubuntu 18 machine - what do you have for a window server? What do you have in your /etc/security & /etc/pam.d directories? <br><br>I (according to old notes that may not be reliable!) loaded <a class="defaultMailLink"  href="http://cdimage.ubuntu.com/ubuntu/releases/18.04/release/" target="_blank" title="http://cdimage.ubuntu.com/ubuntu/releases/18.04/release/">cdimage.ubuntu.com/ubuntu/r...</a> and chose 'Basic Ubuntu server', then added xfce4 and vncserver.  I had previously tried the default Ubuntu UI but, wow, much ugly, so nasty.<br><br>tim<br>—<br>Give a man a compliment, he’ll feel good for a day. <br>Teach a man to fish for compliments and he’ll never feel good enough for the rest of his life.</pre></blockquote></div>