We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Remote X windows application

sherwood
sherwood asked
on
Medium Priority
723 Views
Last Modified: 2013-12-06
Winframe doesn't come with an X windows output.
Textronix no longer sells it's add on that does this.
NCD no longer sells it's add on that does this.

Citrix doesn't have a linux ICA client.  But they
make promising noises.

So, thought I:  What I'll do is run the ica client on
an HP, but display it on the linux box.  That will hit the
network pretty hard, but I only need to do this with a few
machines.  

So I try this:

Sonata is the Winframe box.


vega is an HP.
pims is an HP. Both run HPUX 10.10
Both act as samba servers exporting home directories.

athena is a linux box.
tauceti is an HP xterminal.


If I start wfica on vega, the login panel for winframe appears.
I can log in to my test account, and work.

If I start an x windows session on tauceti (the xterminal) to pims
then from there, set my DISPLAY variable to point to tauceti,
 run wfica, it works.  So wfica can display on
non local xterms.

If, from vega, I telnet to pims and set my environment variable
DISPLAY to point back to vega, the splash screen comes up,
with a line on top saying "Connecting to SONATA"  but it
hangs, and eventually times out.

If from athena I telnet to either pims or vega, set the display
variable, and run wfica, I get an instantaneous segmentation fault
and a core dump.
Comment
Watch Question

And your question is?

No program should seg fault, whatever you throw at it. So report or fix the bug.

Your 'connecting ...' message you're getting is probably some kind of a timeout because pims cannot reach SONATA.

Your seg fault is probably due to trying to run a non x86 binary on x86 architecture (your linux machine). It could also be caused by trying to execute a BSD binary on a system V machine.

Author

Commented:
Incorrect.  You seem to not be aware of how X remote displays work.

The binary is running on on pims.  Only the display is remote.
X windows is designed to do this.  The application on pims
gives a stream of X-window commands (Draw a box here, colour it
red.  Put this widget in that corner...)  The X-server (the
program that draws windows on a screen) is running on the linux
box.  If I start Word Perfect for HP on Pims, I can display without a problem on any linux box.  If I run VuePad, HP's
propriatary text editor on pims, I can display on athena (the
linux box) without a problem.

Point 2 against your answer:  The actual client starts up.
It sits there on pims soaking up cpu cycles like crazy.  

Sonata, (the winframe server) shows the status as 'idle,
connecting'.  This is the same display as is shown when the
login screen is displayed.

Sonata has no trouble seeing the Samba file shares off of Pims.
Athena has no problem talking to pims.


Commented:
You may not want to add another software component to the pile, but this may be your work-around.  Install ssh (secure-shell, get if from ftp.hut.cs.fi:/pub/ssh) on athena and pims then use it to forward your X session from the HP to Linux.  Run sshd (secure shell daemon) on pims.  Open an xterm on athena, and using the ssh-client start wfica on pims as follows;

  ssh -f -l username pims "wfica &"

Cheers,

--frankf

Author

Commented:
Let's get it working before we add security layers.
Right now wfica doesn't display on athena, other Xwindow
apps do display.

Author

Commented:
Let's get it working before we add security layers.
Right now wfica doesn't display on athena, other Xwindow
apps do display.
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Commented:
You probably need to install an X library on the Linux box.
Maybe winframe uses motif? If so, install lesstif.

Furthermore, according to http://download.citrix.com/, there
is a linux client, which should solve all your problems.

I'd also recommend looking at ssh as recommended before; X is very insecure and ssh has a few other nice features like compression and the ability to run X from a remote location securely,


Commented:
grantk is right.  It might be easier and more flexible to just dowload:

http://www.citrix.com/bin/client/ICA/linux.tar.z
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.