LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to display graphic results on server? (https://www.linuxquestions.org/questions/linux-software-2/how-to-display-graphic-results-on-server-772555/)

zhjj505 11-30-2009 08:51 PM

How to display graphic results on server?
 
Dear all,

I encountered a problem about display result in Linux via putty.

Currently I'm working with Microsoft XP OS. I connect to high performance cluster server via OpenVPN, and I want to display results on server, instead of copy them to my local computer. That's because I can choose which data will be downloaded, instead of all. After logging to the server network using putty, I run "vncserver" in terminal and set the required password. Then I try to display a result using Atomeye software,
./A cu.cfg
It stops accompanying with errors arise as follow:
Xterm Xt error: Can't open display:
Xterm: Display is not set


I'm really a newbie to Linux, could you give me some advice or solution how to solve this problem? Thanks in advance!

Best regards,
Damien

TB0ne 11-30-2009 10:48 PM

Quote:

Originally Posted by zhjj505 (Post 3775113)
Dear all,

I encountered a problem about display result in Linux via putty.

Currently I'm working with Microsoft XP OS. I connect to high performance cluster server via OpenVPN, and I want to display results on server, instead of copy them to my local computer. That's because I can choose which data will be downloaded, instead of all. After logging to the server network using putty, I run "vncserver" in terminal and set the required password. Then I try to display a result using Atomeye software,
./A cu.cfg
It stops accompanying with errors arise as follow:
Xterm Xt error: Can't open display:
Xterm: Display is not set


I'm really a newbie to Linux, could you give me some advice or solution how to solve this problem? Thanks in advance!

Best regards,
Damien

Ok....the problem is with Windows XP, not Linux. Wasn't that easy? ;)

Basically, Linux is trying to start an X-windows session with your XP desktop. Since your XP desktop doesn't support/run/know ANYTHING about X windows, it's failing. There are three things you can do:

1. Run Linux on your desktop, and enjoy getting all the 'extras' like X, standards-compliance, etc., for free.
2. Purchase an X windows emulator (Such as Hummingbird or eXceed), for Windows.
3. Run it from the Linux console.

You can also try to set your X windows DISPLAY variable. X is a client-server type app....so the 'client' in this case would be your Linux box...the 'server' is your XP workstation. Why? When you log into the Linux box, type in "echo DISPLAY=<ip address of your LOCAL workstation>:0", then run your command. That tells the application to use the X SERVER on your local workstation, to display the window(s)/GUI/etc. Kind of counter-intuitive, but there it is...:)

evo2 11-30-2009 10:49 PM

Hmm, this looks like a windows question to me. I could tell you how to do it with Linux client, but have no idea with windows. Perhaps asking on a windows forum might get you an answer.

Evo2.


All times are GMT -5. The time now is 08:48 PM.