Operating System - HP-UX
1751789 Members
4916 Online
108781 Solutions
New Discussion юеВ

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

 
Pedro Ruiz Espinoza
New Member

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
12 REPLIES 12
Steven E. Protter
Exalted Contributor

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
Steven Schweda
Honored Contributor

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
Torsten.
Acclaimed Contributor

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!   
nightwich
Valued Contributor

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.
Pedro Ruiz Espinoza
New Member

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
nightwich
Valued Contributor

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 ..
Pedro Ruiz Espinoza
New Member

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
nightwich
Valued Contributor

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.

Pedro Ruiz Espinoza
New Member

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