/usr/share/doc/sysprofile/examples/etc/sysprofile.d/display.bash is in sysprofile 0.3.8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | # XEmacs 21.4.4 takes a long nslookup time to find display.
# This here shortens it's startup time for local display.
#
# If xlock complains with "can not lock 127.0.0.1's display",
# use it adding the options "-remote -display 127.0.01:0.0".
export DISPLAY=127.0.0.1:0.0
|