ssh -X "Xt error: Can't open display: :0.0"
        Posted  
        
            by 
                Fabian
            
        on Ask Ubuntu
        
        See other posts from Ask Ubuntu
        
            or by Fabian
        
        
        
        Published on 2011-09-16T14:11:27Z
        Indexed on 
            2012/09/04
            21:51 UTC
        
        
        Read the original article
        Hit count: 332
        
I'm trying to open xterm on my remote server (Ubuntu Server 10.04) with ssh:
ssh -X name@machine xterm
but the error returned is:
xterm Xt error: Can't open display: :0.0`
I googled and tried everything I found. Still getting this error. The DISPLAY-variable should be set automatically, right?
Part of sshd_config:
X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
Any advice?
© Ask Ubuntu or respective owner