Your custom attributes should always start with loggedinuser in the user profile attributes of Jasperserver. Use this in your reports a parameter ATTRIBUTE_loggedinuser.
Below is the linux config that fixed issue for us chrome.path=/usr/xxxx/chromium-browser/headless_shell
This we have configured in js.config.properties file under WEB-INF