1 2 3 4
#!/bin/sh if [ -x /usr/bin/X11/sessreg ]; then /usr/bin/X11/sessreg -a -w /var/log/wtmp -u none -l $DISPLAY $USER fi