SSH -X doesn't work with an export DISPLAY

Jonathan Billings jsbillin at Princeton.EDU
Thu Jul 5 13:14:04 UTC 2007


On Thu, Jul 05, 2007 at 03:07:38PM +0200, Michel Dubois wrote:
> [root at veloce ~]# xcalc
> Error: Can't open display: localhost:12.0
> 
> Nothing wrong for me , exept the last message 

If you're not getting any output from the ssh client (lines starting
with debug1 or debug2) then the X client isn't trying to talk through
the forwarded X11 tunnel.  How is your $DISPLAY being set?  Did you
define it in some login script?  It should automatically be defined by
the ssh client and server during login.

-- 
Jonathan Billings <jsbillin at princeton.edu>
Computational Science and Engineering Support (CSES)
http://www.princeton.edu/~cses/




More information about the redhat-sysadmin-list mailing list