LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Redhat9 ssh Remote X Display Can't Open under windows xp (https://www.linuxquestions.org/questions/linux-networking-3/redhat9-ssh-remote-x-display-cant-open-under-windows-xp-674305/)

dreamcarrior 10-05-2008 12:13 AM

Redhat9 ssh Remote X Display Can't Open under windows xp
 
I use ssh (PuTTY) to connect to a computer running Redhat Linux 9 (redhat9). The problem is that the remote display does not work.

$ xlogo
Error: Can't open display:

I used Xming server under windows xp, and under PuTTY "Enable X11 forwarding" was checked. I could ssh to other linux machines runing Fedora6, RHEL4, IRIX 6.5 with X display correctly. However, I just cannot get Redhat9 X display. I do not have other Redhat9 machine, therefore, I don't have any idea what was gone wrong.

Any thoughts?

dreamcarrior 10-05-2008 12:21 AM

The following is my env environment.
Code:

$ env
HOSTNAME=xxxxxxxx
PVM_RSH=/usr/bin/rsh
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=xx.xxx.x.218 3798 22
QTDIR=/usr/lib/qt-3.1
SSH_TTY=/dev/pts/0
JAVA_OPTS=-Xms64M -Dfile.encoding=UTF-8
USER=xxx
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
PVM_ROOT=/usr/share/pvm3
MAIL=/var/spool/mail/xxx
PATH=/usr/kerberos/bin:/usr/java/j2sdk1.4.2_13/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/xxx/bin
INPUTRC=/etc/inputrc
PWD=/home/xxx
JAVA_HOME=/usr/java/j2sdk1.4.2_13
LANG=en_US.UTF-8
LAMHELPFILE=/etc/lam/lam-helpfile
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/home/xxx
XPVM_ROOT=/usr/share/pvm3/xpvm
LOGNAME=xxx
CLASSPATH=.:/usr/java/custom
SSH_CONNECTION=xx.xxx.x.218 3798 xxx.xx.xx.99 22
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/bin/env



All times are GMT -5. The time now is 01:30 PM.