LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-05-2008, 12:13 AM   #1
dreamcarrior
Member
 
Registered: Nov 2005
Location: Waco, TX
Distribution: Fedora and DSL
Posts: 49

Rep: Reputation: 15
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?
 
Old 10-05-2008, 12:21 AM   #2
dreamcarrior
Member
 
Registered: Nov 2005
Location: Waco, TX
Distribution: Fedora and DSL
Posts: 49

Original Poster
Rep: Reputation: 15
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

Last edited by dreamcarrior; 10-05-2008 at 12:29 AM. Reason: smilies changed some text, which changed the content hard to read.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote X Server Can't Open Display markjuggles Linux - General 4 04-15-2014 03:04 PM
Remote login with SSH, but display on remote computer. brodin Linux - Software 3 09-09-2007 03:01 AM
I am getting: Gtk-WARNING **: cannot open display : for remote X Jykke Linux - Security 3 05-17-2007 06:48 AM
Can not open Remote Graphical Display on Linux WS ppanyam Linux - Software 3 01-06-2006 02:16 PM
matlab on remote linux server... using ssh .. x display shyamsg Linux - Networking 1 05-01-2004 04:01 PM


All times are GMT -5. The time now is 07:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration