Windows server? We don't need no stinkin windows server.
No really, my Ubuntu 18 board has no display so I only ssh into it.
My tests on limits (requiring the reboot for the windows manager to pickup the limits file) was on an Ubuntu 20 box.
So I did not totally test your situation on Ubuntu 18. Sorry.
In terms of the vncserver file in /etc/pam.d - it is there because you added vncserver according to your notes.
Do note that there is another possibility. The installation might have had a bug in it that has never been patched.
cheers
bruce
On 2021-09-30T19:57:45.000+02:00, tim Rowledge <tim@rowledge.org> wrote:
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.
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.
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?
I (according to old notes that may not be reliable!) loaded cdimage.ubuntu.com/ubuntu/r... and chose 'Basic Ubuntu server', then added xfce4 and vncserver. I had previously tried the default Ubuntu UI but, wow, much ugly, so nasty.
tim
—
Give a man a compliment, he’ll feel good for a day.
Teach a man to fish for compliments and he’ll never feel good enough for the rest of his life.