Fix getting rlimit
getrlimit_NOFILE_max returning RLIM_INFINITY makes fdwalk return ENFILE and thus make the VTE startup fail, so we'd rather avoid this, especially when there is actually a rlim.rlim_cur limitation which is not infinite.
Here is a patch: patch