I'm trying to connect from my mac (Xquartz installed) to a ubuntu server. I use the
-Y option with ssh. When I ssh to the server and run any graphical application for example xclock, I get the following error
$xclock Could not find ':' in DISPLAY: 1 Error: Can't open display: localhost:10.0
X11 forwarding is set in sshd_config
$ grep -i X11Forward /etc/ssh/sshd_config # Setting X11Forwarding to "yes" permits encrypted X connections. X11Forwarding yes
$ echo $DISPLAY localhost:10.0
Can someone help me in this regard.