LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Stubborn app won't run over Remote X (https://www.linuxquestions.org/questions/linux-newbie-8/stubborn-app-wont-run-over-remote-x-918201/)

bcmurray75 12-11-2011 12:50 PM

Stubborn app won't run over Remote X
 
Hello all.
I am fighting with an application which will not display on any X than 0.0.

I'm running Fedora Core 2 (please keep your comments to yourself or better yet if you feel it's that pathetic to still be running Core 2 then volunteer to come over and spend a weekend seeing if it's possible to have this app run on something newer).

I've tried nomachine NX and am able to run everything. However, the performance issues on this system makes it unusable. There are slight issues with image clarity, but what is worse is there are major refresh issues along with broken fonts. A better description of the refresh issues: I'm looking at a series of images, when i movie through those images the screen stays where I started until I "force" a screen refresh by doing something like bringing down the Edit menu, then the image jumps to where I movied to.

So since I've hit a dead end with Nomachine I've gone back to my original trials...XDMCP

so I've followed the directions for opening up XDM at


http://www.yolinux.com/TUTORIALS/GDM_XDMCP.html

I'm using Reflection X (since I already have it) but xming has the same results. I can connect, other apps run fine (gimp, mozilla, etc). Performace is very good, no refresh issues like Nomachine NX. However when I run the main app i need it opens still on the local workstation and not my remote X session.

I've even tried crazy things like setting display variables to see if it would trick the application:
When at the local workstation "set" provides DISPLAY=:0.0
On my remote "set" provides DISPLAY=citrix.xxx.com:1.0
so on my remote console I do export DISPLAY=:0.0 which sets it but now when i try to run the stubborn app i then discovered that it is calling for a second application by showing me an error "Could not initialize the UI"

If i try to run that second app directly I then get
err: ERR_TABLE not in environment

So is there anyone out there who can make any recommendations on how to force this application to run somewhere besides 0.0?

Thank you.

tjcarol 12-11-2011 01:12 PM

can you ssh -X into the remote machine then start your app

bcmurray75 12-11-2011 01:51 PM

hmmm I have had no luck with ssh via Reflection X or Xming or command line. Would you have any recommendations on what manner you might be thinking?

Every method that I have tried of ssh, telnet, nx I am able to open other applications fine remotely. When i try to run this application, as soon as the command is entered the usual terminal window for it opens (remotely) but the application itself pops up on the local workstation (that is if a user is logged in, if no one is logged in nothing happens).

The only thing that will allow access to this application remotely is Nomachine's NX running in Shadow mode because this actually displays the local workstation desktop taking control of it. However I cannot figure out why the refresh issues are present which is why I figured i might as well go back to trying to figure out xdm or such.

Thank you very much for the quick reply.

tjcarol 12-12-2011 05:13 AM

What system is each machine running?
Do you have full access to them both?
What app is it your trying to start up?
If you login to your remote machine via command line with
ssh -X username@remotemachine then start up your app it should
display on your local machine desktop.

tjcarol 12-12-2011 05:25 AM

Also is there a firewall that could be blocking your connection?

Valery Reznic 12-12-2011 12:33 PM

I myself use Fedora Core 1 for build server, so no complains about Fedora Core 2 from me.

Anyway, if you just copy your application to other box and run it locally is it works?

Another option (unless I miss something in your post) did you try to connect with RDP to your Fedora Core 2?

Valery.

bcmurray75 12-12-2011 04:47 PM

The systems being run:
The "server" where there application is installed is Fedora Core 2. I'm trying to connect from a Windows XP system (on the local network) and from a Windows 7 system over the internet through Citrix (Reflection X is installed on the Citrix server). There are 4 of these identical Fedora Core systems and even connecting from one to the other ends in similar results (even through Nomachine NX gives the same refresh problems).

Yes, I have full root access on the Fedora Core systems. I also have local admin rights on the Windows systems.

The app I am trying to run is called Xio (cms-rtp.com) when it is run it links to other applications (or modules called rtpdir, pfm, pfm3 and others depending on what function your are doing).

If I ssh -X and do /FOCUS/bin/xio (where the application is) it returns:
Could not initialize the UI.
Application: /FOCUS/bin/rtpdir
Function: InitFocusSystem

So, out of curiosity if I /FOCUS/bin/rtpdir:
cms_err: ERR_TABLE not in environment.

I really think I'm looking right over top the answer here :(

There is no firewall restrictions on the local network at all. And all ports are open.

Problem with trying to copy the application to another system is that it resides with many configuration files spread out through the /FOCUS directory. As well as it has it main database of information on the main RTP workstation. All 4 systems know of one another, ie if one goes down it would need commented out so the others aren't trying to talk to it. Plus its licensing would prevent me from running it....it can't be the licensing from preventing it from running via a remote X could it?

Do you have a recommended method of getting RDP to work? I mean I can use the Fedora Remote Desktop client to connect to my Windows XP systems (colors are weird) but I have not been able to configure anything to allow me to go the other direction.

Thanks a lot for joining this discussion everyone.

Valery Reznic 12-13-2011 03:41 AM

Quote:

Originally Posted by bcmurray75 (Post 4548254)
Do you have a recommended method of getting RDP to work? I mean I can use the Fedora Remote Desktop client to connect to my Windows XP systems (colors are weird) but I have not been able to configure anything to allow me to go the other direction.

Thanks a lot for joining this discussion everyone.

On Fedora 12 with Gnome you have System/Preference/RemoteDesktop.

bcmurray75 12-13-2011 05:22 PM

A while back I was looking at FC14 and saw that was built in but the RDP Client is Built into FC2 but not the server :(


All times are GMT -5. The time now is 11:28 PM.