unable open xterm

Usuário do Sistema maiconlp at ig.com.br
Tue May 10 11:57:09 PDT 2011

Thank for all tips!!

the fact to up xterm there is must the  X server on machine that
appear it ( in my case on my machine windows 7).

I thought it was possible open xterm from a windows machine without X
server runing on it.

I've just installed the X server on my windows Machine and all it's working!

how I have done:

1- Install X server on my Windows Machine

2- on my windows machine open the X server and run xhost +

3- on my Red Hat Enterprise machine where it's installed a application
x client run:

2011/5/10 Eirik Byrkjeflot Anonsen <eirik at opera.com>:
> Usuário do Sistema <maiconlp at ig.com.br> writes:
>> yes! I'm trying open a window xterm from ssh connection.
>> how I'm doing:
>> from my windows machine ( with Win 7 ) I conneted to my X Server
>> machine by Puty.
>> there I run the xterm command.
>> the X server Machine hasn't a monitor!
>> the daemon xfs it's up
>> but the problem still occur:
>> -bash-3.2# echo $DISPLAY
>> :0.0
>> -bash-3.2# xterm
>> Warning: This program is an suid-root program or is being run by the root user.
>> The full text of the error or warning message cannot be safely formatted
>> in this environment. You may get a more descriptive message by running the
>> program as a non-root user or by removing the suid bit on the executable.
>> xterm Xt error: Can't open display: %s
> If you want to see the xterm window on your windows machine, you'll
> need:
> 1. Run an X server on your windows machine.
> 2. Configure PuTTY to use X11 forwarding.
> 3. Ensure ssh on the linux machine allows X forwarding.
> 1. There seems to be several X servers that can run on windows,
> e.g. XMing (http://www.straightrunning.com/XmingNotes/) or XWin32
> (http://www.starnet.com/products/xwin32/).  I haven't tried any of them,
> as I don't run windows myself.  On the other hand, if this used to work
> for you (and you haven't reinstalled windows or otherwise uninstalled
> the X server on your windows machine), you should already have it.
> 2. The first hit on google says that PuTTY has a setting
> Connections->SSH->Tunnels->X11 forwarding.  You'll need to make sure
> this one is turned on.
> 3. On the linux machine, you may need to do something to
> /etc/sshd/sshd_config.  You probably need to make sure a line like this
> is in sshd_config:
> X11Forwarding Yes
> If you've got all that right, you should not need to set DISPLAY on the
> linux machine.  It should be set automatically by ssh.  If your
> sshd_config does not specify otherwise, you will most likely have a
> DISPLAY value of ":10.0" (NOT ":0.0").  See "man sshd_config" (on the
> linux machine) for details (X11DisplayOffset, in particular).
> eirik
> _______________________________________________
> xorg at lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: maiconlp at ig.com.br

More information about the xorg mailing list