or download this
xterm: DISPLAY is not set
######### Forked, but do not know how to create a new TTY. #########
...
On UNIX-like systems one can get the name of a TTY for the given win
+dow
by typing tty, and disconnect the shell from TTY by sleep 1000000.