LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-11-2011, 01:50 PM   #1
bcmurray75
LQ Newbie
 
Registered: May 2011
Posts: 7

Rep: Reputation: 0
Unhappy 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.

Last edited by bcmurray75; 12-11-2011 at 03:57 PM.
 
Old 12-11-2011, 02:12 PM   #2
tjcarol
LQ Newbie
 
Registered: Apr 2004
Location: Toronto CA
Distribution: fedora
Posts: 20

Rep: Reputation: 0
can you ssh -X into the remote machine then start your app
 
Old 12-11-2011, 02:51 PM   #3
bcmurray75
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: 0
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.

Last edited by bcmurray75; 12-11-2011 at 09:25 PM.
 
Old 12-12-2011, 06:13 AM   #4
tjcarol
LQ Newbie
 
Registered: Apr 2004
Location: Toronto CA
Distribution: fedora
Posts: 20

Rep: Reputation: 0
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.
 
Old 12-12-2011, 06:25 AM   #5
tjcarol
LQ Newbie
 
Registered: Apr 2004
Location: Toronto CA
Distribution: fedora
Posts: 20

Rep: Reputation: 0
Also is there a firewall that could be blocking your connection?
 
Old 12-12-2011, 01:33 PM   #6
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 675

Rep: Reputation: 136Reputation: 136
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.
 
Old 12-12-2011, 05:47 PM   #7
bcmurray75
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 12-13-2011, 04:41 AM   #8
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 675

Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by bcmurray75 View Post
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.
 
Old 12-13-2011, 06:22 PM   #9
bcmurray75
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
best app for remote administration? bezdomny Linux - Software 4 08-10-2008 10:25 PM
App built on RH 3 won't run on RH4 because of missing libstdc++5. Where do I find it? lcordero619 Red Hat 3 01-09-2007 09:25 AM
Run remote X apps on remote Xserver trollman Linux - Desktop 5 10-08-2006 10:01 PM
X Error trying to run UNIX app on remote server R00ts Linux - Software 1 09-12-2004 01:58 PM
remote app launcher Kocil Linux - Software 0 09-08-2003 04:45 AM


All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration