Re: Problems when trying to start the graphical interfaces in HP-UX (284 Views)
Reply
Occasional Visitor
Pedro Ruiz Espinoza
Posts: 4
Registered: ‎06-30-2010
Message 1 of 13 (284 Views)

Problems when trying to start the graphical interfaces in HP-UX

Hello guys,

I'm receiving the following error when trying to startup the graphical interface from a HP-UX session:

vsbqadb:db2bqa 61> xclock
Error: Can't open display: 10.98.202.223:0.0

I configured the DISPLAY environment variable using the IP address I have in my PC.

vsbqadb:db2bqa 70> setenv DISPLAY 10.98.202.223:0.0
vsbqadb:db2bqa 71> env | grep DISPLAY
DISPLAY=10.98.202.223:0.0

I have Reflection 14.0.7 version and I'm working with the Putty client to connect at OS level.

Waitting for your help.

Thanks and best regards,
PR
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 2 of 13 (284 Views)

Re: Problems when trying to start the graphical interfaces in HP-UX

Shalom,

By default on 11.31, CDE, the common graphical interface is not even installed. That need to be installed from the original OS media.

On all supported versions of HP-UX, I have seen the X font server, xfs /etc/rc.config.d/xfs is always configured not to start.

Check for CDE software:

swlist -l product | grep -i cde

/sbin/init.d/xfs start
After checking the /etc/rc.config.d/xfs file, setting the start variable to 1.

sEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Honored Contributor
Steven Schweda
Posts: 9,096
Registered: ‎02-23-2005
Message 3 of 13 (284 Views)

Re: Problems when trying to start the graphical interfaces in HP-UX

> I have Reflection 14.0.7 version [...]

Are you _running_ the X server on your
(undescribed) "PC"? (Installing it may not
be enough.)

From the HP-UX system:

telnet 10.98.202.223 6000
Acclaimed Contributor
Torsten.
Posts: 23,450
Registered: ‎10-02-2001
Message 4 of 13 (284 Views)

Re: Problems when trying to start the graphical interfaces in HP-UX

If the XServer is already running on your PC and you connect to hp-ux with "putty -X ..." the DISPLAY var will be set by putty.

Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Valued Contributor
nightwich
Posts: 259
Registered: ‎01-02-2007
Message 5 of 13 (284 Views)

Re: Problems when trying to start the graphical interfaces in HP-UX

olla Pedro

First thing if you want to log in CDE in 11iv3 you need to install CDE from your CD's.


Second thing define DISPLAY depends on the shell that you have:

For csh teh correct sintaxe is setenv DISPLAY your_machine_name:0


for sh is DISPLAY=your_machine_name:0 then export DISPLAY

You need to have reflection running in your machine.

If you need any more directions reply.
Occasional Visitor
Pedro Ruiz Espinoza
Posts: 4
Registered: ‎06-30-2010
Message 6 of 13 (284 Views)

Re: Problems when trying to start the graphical interfaces in HP-UX

Hello guys, thanks for your help.

The xserver seems to be running, please see attached:

fedbdvep:fpdadm 76> ps -fae | grep xfs
root 73 0 0 Jan 16 ? 142:03 vxfsd
fpdadm 29382 24639 0 09:53:54 pts/2 0:00 grep xfs

I'm using csh shell for this session and the DISPLAY environment variable has been set according to my local IP address:

fedbdvep:fpdadm 80> echo $SHELL
/bin/csh
fedbdvep:fpdadm 83> setenv DISPLAY 10.98.202.223:0.0
fedbdvep:fpdadm 84> env | grep DISPLAY
DISPLAY=10.98.202.223:0.0

When I opened the Reflection client on my PC I'm receiving the following warnings:

- Unable to listen on a TCP socket (RX3404)
- Cannot estavlish any listening sockets. Modify network settings?

I think this warning could be the root cause of the problem.

Can you provide your recommendations?

Thank you,
Best regards.

PR
Valued Contributor
nightwich
Posts: 259
Registered: ‎01-02-2007
Message 7 of 13 (284 Views)

Re: Problems when trying to start the graphical interfaces in HP-UX

Hello Pedro


Seems that your computer are not able to comunicate with your unix machine


Paste the following commands.

from your windows machine do:

cmd -> ping unix_machine


In the unix_machine uname -a

Regards ..
Occasional Visitor
Pedro Ruiz Espinoza
Posts: 4
Registered: ‎06-30-2010
Message 8 of 13 (284 Views)

Re: Problems when trying to start the graphical interfaces in HP-UX

Hi,

The connection to the server is available,

C:\Documents and Settings\ruizped>ping fedbdvep

Windows Console:

Pinging fedbdvep [131.150.197.205] with 32 bytes of data:

Reply from 131.150.197.205: bytes=32 time=3ms TTL=253
Reply from 131.150.197.205: bytes=32 time=5ms TTL=253
Reply from 131.150.197.205: bytes=32 time=1ms TTL=253
Reply from 131.150.197.205: bytes=32 time=1ms TTL=253

Ping statistics for 131.150.197.205:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 5ms, Average = 2ms

HP-UX console:

fedbdvep:fpdadm 88> uname -a
HP-UX fedbdvep B.11.31 U ia64 3555354277 unlimited-user license

Regards
Valued Contributor
nightwich
Posts: 259
Registered: ‎01-02-2007
Message 9 of 13 (284 Views)

Re: Problems when trying to start the graphical interfaces in HP-UX

Hi Pedro,

I already use a few years ago Reflection.

Now I use Xming a opensource tool.

You can give it a try. Just to test if is anythink with reflection configurations.


The setup of xming is realy simple.

- Install
- Then All Prgramas -> Xming -> xlaunch -> one window -> start no client -> no access control -> finish

Use xclock to test the display in the unix machine


Regards.

Occasional Visitor
Pedro Ruiz Espinoza
Posts: 4
Registered: ‎06-30-2010
Message 10 of 13 (284 Views)

Re: Problems when trying to start the graphical interfaces in HP-UX

Hi Nightwich,

I downloaded and installed the Xming tool according to your recommendations, but the graphical interface is not starting up, please see the Xming.jpg file attached to this thread.

Thanks,
Regards
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 11 of 13 (284 Views)

Re: Problems when trying to start the graphical interfaces in HP-UX

Shalom,

Based on the fact that two different tools have failed to solve the problem, I recommend:

1) Check for a firewall blocking the port the font server is listening on. Probably port 7000

2) From a Linux box or with putty configuration log on to the system with a -X parameter and re-run the xclock test.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Valued Contributor
nightwich
Posts: 259
Registered: ‎01-02-2007
Message 12 of 13 (284 Views)

Re: Problems when trying to start the graphical interfaces in HP-UX

Hi Pedro.


In the Task Bar, in the icon of the Xming you can look to the log.

Second bottom of the mouse in the icon of Xming -> view log.

See if have any good information.

Attach the log.

Please assign some points to the answers that you find valid and useful for your problem.

Regards.
Honored Contributor
Steven Schweda
Posts: 9,096
Registered: ‎02-23-2005
Message 13 of 13 (284 Views)

Re: Problems when trying to start the graphical interfaces in HP-UX

> The xserver seems to be running, please see
> attached:

The X server runs on your Windows system.
Nothing in that "ps" output is related.

> I think this warning could be the root
> cause of the problem.

Could be related.

> From the HP-UX system:
>
> telnet 10.98.202.223 6000

That should tell you if the HP-UX system can
talk to the X server (at 10.98.202.223),
whichever one you run.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.