1748214 Members
3255 Online
108759 Solutions
New Discussion юеВ

Re: DISPLAY problem

 
SOLVED
Go to solution
Torsten.
Acclaimed Contributor

Re: DISPLAY problem

Just run it (e.g. on windows); ssh to the server and start your X application.

That's all.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Ron Irving
Trusted Contributor

Re: DISPLAY problem

tried it from my pc, (opened a dos window.) ssh root@10.128.11.1
#DIPLAY=10.128.11.10, (ip of my laptop)
#export DISPLAY
#xclock
X connection to 10.128.11.10:0.0 broken (explicit kill or server shutdown).
Should have been an astronaut.
Ron Irving
Trusted Contributor

Re: DISPLAY problem

Oops...it was actually:

#DIPLAY=10.128.11.10.0.0, (ip of my laptop)
Should have been an astronaut.
Torsten.
Acclaimed Contributor

Re: DISPLAY problem

Just do

> ssh

# xclock

That's it.




From help file


MobaXterm includes an X server so that it can display X11-based
graphical programs.
By default, an X server is started at MobaXterm startup. Your DISPLAY
environment variable is automatically set and it is written in your terminal
startup message. When you use a remote computing client to connect to a Unix
computer, you can export your DISPLAY to your local Windows desktop thanks to
MobaXterm. When you use a SSH connection, if the remote server supports X11-
Forwarding, your DISPLAY is automatically set and it will be sent through the
SSH connection to your Windows desktop.
Note: if you have troubles with some kind of interfaces (Motif-based programs
for example), you can also run a full window manager by clicking on the
corresponding button in the top toolbar.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: DISPLAY problem

The problem is, "normal" X connections are likely blocked by firewalls between. When doing X over ssh it will work, if ssh works.

The value ":0.0" is different then, don't change.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Hakki Aydin Ucar
Honored Contributor

Re: DISPLAY problem

OK , I see the problem, all you need to have ssh forwarding on your remote server;

From Help Doc. of mobaxterm:
- DISPLAY settings
MobaXterm includes an X server so that it can display X11-based graphical programs.
By default, an X server is started at MobaXterm startup. Your DISPLAY environment variable is automatically set and it is written in your terminal startup message. When you use a remote computing client to connect to a Unix computer, you can export your DISPLAY to your local Windows desktop thanks to MobaXterm. When you use a SSH connection, if the remote server supports X11-Forwarding, your DISPLAY is automatically set and it will be sent through the SSH connection to your Windows desktop.
Ron Irving
Trusted Contributor

Re: DISPLAY problem

ssh works no problem. xclock, on the other hand, does not. it's starting to get a little urgent to get the X functionality working. I AM in Iraq consequently.
Should have been an astronaut.
Ron Irving
Trusted Contributor

Re: DISPLAY problem

downloading mobaxterm as we speak.
Should have been an astronaut.
Ron Irving
Trusted Contributor

Re: DISPLAY problem

I think we're all not on the same page here. I'm setting up an Oracle db server on an rx7640. The oracle guy here says he needs to be able to connect to the server, as well as all the users using X functionality. Is there a way to have the server, using Xserver, facilitate that?

Again...any Oracle guys out there should know what I'm talking about(?)

Thanks
Should have been an astronaut.
Tim Nelson
Honored Contributor

Re: DISPLAY problem

I believe all the advise here is correct.

Here is what I do for my XWindow applications.

Windows XP Laptop running:
Xming -Xwindow server
PuTTy -terminal interface

start Xming
configure a PuTTy connection for ssh with X11 forwarding enabled .

connect to server with PuTTy this configuration
execute xclock to test ( you should get an clock on your screen )

All Xwindow applications like Oracle Universal Installer will now work.