Operating System - HP-UX
1830194 Members
9936 Online
109999 Solutions
New Discussion

Problems with ReflectionX

 
Samo_2
Occasional Advisor

Problems with ReflectionX

Hi,
I was running reflectionX on one hp server, I had started one GUI through which I can control some applications.For some reasons my PC totaly froze, the problem was that also my application on HP server was not responding.When I rebooted my PC I saw on another PC that also runs Reflection, that immediatly when my PC went down application on HP server resumed.My question is.Is it possible that frozen Reflection(PC) freezes also aplication on HP server?
8 REPLIES 8
Steve Steel
Honored Contributor

Re: Problems with ReflectionX

Hi

There could be a deadlock somewhere

Are there errors in

/var/dt/Xerrors

$HOME/.dt/starlog* $HOME/.dt/errorlog*


Also are you running a fontserver

see man xfs



Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Samo_2
Occasional Advisor

Re: Problems with ReflectionX

This is in my Xerrors
>> /usr/bin/X11/xset: bad font path element (#40), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
<<
I am connecting to this HP server with XDMCP indirect to another HP server and there from a list of awailable servers i can choose to whic server I want to connect.
Steve Steel
Honored Contributor

Re: Problems with ReflectionX

Hi


Check your fontserver

1 - The font server needs to be configured to include the CDE
fonts in its catalog

EDIT: /etc/X11/fs/config

Append ",/usr/dt/config/xfonts/C" to the end of the
"catalogue = ..." line

EDIT: /etc/rc.config.d/xfs

Set the following variable: "RUN_X_FONT_SERVER=1"

EXECUTE: /sbin/init.d/xfs start

If the font-server is already running, kill it and
restart it.

2 - Force CDE to add the font-server to the X-Server font-path
by editing the Xsetup file. (NOTE: This steps REQUIRES
the IP address of the CDE session server. You can get
this information by running: nslookup `hostname`.)

COPY: /usr/dt/config/Xsetup to /etc/dt/config/Xsetup
EDIT: /etc/dt/config/Xsetup

Add the following line to /etc/dt/config/Xsetup replacing
"IPADDRESS" with the IP address of the server as returned
from "nslookup `hostname`":

$XDIR/xset fp+ tcp/IPADDRESS:7000 1>/dev/null


2)Check $HOME/.dt/errorlog.old

3)check /var/adm/syslog/syslog.log for the time of the hang.

4)Check for latest X CDE motif patches

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Samo_2
Occasional Advisor

Re: Problems with ReflectionX

If I connect XDMCP directly to the Hp server and not through XDMCP indirectly do I have to do all this changes.The problem is that I am not administrator, and this HP server is wital for our company to functional normal, so I do not know if the admin will want to do any changes.
Colin Topliss
Esteemed Contributor

Re: Problems with ReflectionX

Personally I'd take a step back here.

Firstly, is the problem repeatable. Can you go through the same set of steps and cause the PC/Application to hang. If you can, then that gives you a framework under which to diagnose the problem.

Can your PC hang an application - well, possibly, but it depends on the application, what it does, and how it is coded. It sort of sounds like the application was waiting for some event from the client - though without knowing the code it would be almost impossible to say with certaintly. The only other option I would try is, assuming this is repeatable, try and tusc the server side to see what it is doing (sorry - can't be more specific because I don't know your application).

Samo_2
Occasional Advisor

Re: Problems with ReflectionX

Problem, if I try this again and something happens they will kill me.This HP server as I said(we are mobile telephone company) is really vital for our company.This is the problem.Application is divided in to three parts, ftp collection processing and distribution.FTP collection worked without any problems even when application was frozen(ftp is shceduled - started from application)but processing was some how frozen, on another PC I could see in GUI that everything was RUNNING - but that is not OK becaues in one "JOB" I have many small "JOBS" and they in the normal sittuatiuon they should not be all running it should be one running and all other IDLE... .When I left my PC everything was working as it should.I could see on another server that my server(the one that had problem) stoped sending files 2 hours after I went home.So then it is possible that Reflection if it freezes it also freezes application on HP server, if it is so than the only solution I can se is to shut down reflection everytime I go home.
Bill Hassell
Honored Contributor

Re: Problems with ReflectionX

To avoid a *LOT* of issues with Xwindows, don't use Reflection/X to connect if all you are doing is running a text window. That is a job for telnet or ssh and a local terminal emulator on your PC. Since you have Reflection/X, you also have Reflection/2 (r2win.exe) which is an excellent terminal emulator (set it to VT400-8 emulation for maximum usefullness--will handle vt100 applications).

When you startup CDE and manage your PC's desktop over the network, there are a lot of complicated issues, not the least of which are the patches installed (or not installed) on your PC as well as the HP-UX box. If your application absolutely needs a special GUI program (not xterm or dtterm) then run Reflection/X but do NOT use the typical login. Just start it, iconify the program and then telnet from your ZPC to the HP machine. Then set DISPLAY and start your GUI. It's more work but much less risk.


Bill Hassell, sysadmin
Steve Steel
Honored Contributor

Re: Problems with ReflectionX

Hi

With no admin access Bill is giving good advice.

set $(echo $(who -uR|grep -v old|grep -i $LOGNAME|tail -n 1))
export DISPLAY=$8":0.0"

should give you the DISPLAY of the pc if you run it during login


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)