...
1. type "xrun". You can pass many of the same arguments to xrun as you can to srun, e.g.:
$ xrun -N1 -n1 --time=02:00:00
2. use "srun" with the "--x11" option (available in the Slurm 17.11 module), e.g.:
$ srun -N1 -n1 --time=02:00:00 --x11 --pty bash -i
4) Launch your X11 application (e.g. type "xclock")