Xterm giving error that DISPLAY is not set
By John Peck •
$ xterm
xterm: Xt error: Can't open display:
xterm: DISPLAY is not setI connect to the server using ssh -X user@server. DISPLAY is not set
$ echo $DISPLAY
$I am running Ubuntu 13.04
01 Answer
Is X11 forwarding enabled in your sshd config?
grep -i x11 /etc/ssh/sshd_configYou should have:
X11Forwarding yesIf that's not the problem, try running ssh with "ssh -v" to get more debug output and post it here. It's also worth trying "ssh -Y".