[Bug 1004] X11 forwarding not working with ssh3.9p1 (Error: Can't open display)
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Wed Apr 13 00:20:06 EST 2005
http://bugzilla.mindrot.org/show_bug.cgi?id=1004
------- Additional Comments From shylusri at yahoo.com 2005-04-13 00:20 -------
> Is $DISPLAY set on the client before you run ssh -X?
Yes, see the printenv for client below:
BASH_ENV=/root/.bashrc
GTK_RC_FILES=/etc/gtk/gtkrc:/root/.gtkrc
XMODIFIERS=@im=none
LANG=en_US
COLORTERM=
DISPLAY=:0.0
LOGNAME=root
SHLVL=3
GDM_LANG=en_US
SESSION_MANAGER=local/HostingOps2:/tmp/.ICE-unix/1389
USERNAME=root
SHELL=/bin/bash
HOSTTYPE=i386
QT_XFT=0
OSTYPE=linux-gnu
HISTSIZE=1000
HOME=/root
TERM=xterm
PATH=/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/
usr/bin:/usr/X11R6/bin:/root/bin:/root/bin
_=/usr/bin/printenv
--------------------------------------------------
> Please run the server in debug mode:
> ("/path/to/sshd -ddde -p 2022" on the server then connect with "ssh -X -p 2022
> yoursever") and attach the debug output from sshd.
[root at servername root]# /etc/rc.d/init.d/sshd -ddde -p 2022
Usage: /etc/rc.d/init.d/sshd {start|stop|restart|reload|condrestart|status}
[root at servername root]# ssh -X -p 2022 64.xx.x.xxx
ssh: connect to host 64.xx.x.xxx port 2022: Connection refused
I am getting connection refused when I try ssh -X -p 2022 64.xx.x.xxx.
Thanks.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-bugs
mailing list