This actually requires https://superuser.com/questions/1200539/cannot-increase-open-file-limit-past-4096-ubuntu/1200818#_=_
Modify **/etc/systemd/user.conf **and /etc/systemd/system.conf with the following line (this takes care of graphical login):
DefaultLimitNOFILE=65535
echo '* hard nofile unlimited' | sudo tee --append /etc/security/limits.conf echo '* soft nofile unlimited' | sudo tee --append /etc/security/limits.conf echo '* soft nproc 32768' | sudo tee --append /etc/security/limits.conf