Operating System - HP-UX
1748165 Members
3877 Online
108758 Solutions
New Discussion юеВ

Re: Need help to get cygwin and hpux talking

 
Lana Cameli
Advisor

Need help to get cygwin and hpux talking

I am trying to set up my x windows on my PC and downloaded cygwinX. I have also made changes on hpux (v11.3) and enabled xfs. I have tried different variations of DISPLAY variable but find it confusing. I want to use xwindows when I run SAM, so what do I set the DISPLAY to? HPUX or my PC? I'm stuck. I don't know where to go from here or how to even initiate the display. Can someone help me out or send me in the right direction, please?
3 REPLIES 3
Torsten.
Acclaimed Contributor

Re: Need help to get cygwin and hpux talking

You need to set the DISPLAY var to the IP of your PC.

If you have problems with cygwinx, you can try any other xserver for win (e.g. xming) in combination with putty.

Start the xServer on your PC and connect to the hp-ux server:

> putty -X server-address

Now run SAM or whatever.

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!   
Laurent Menase
Honored Contributor

Re: Need help to get cygwin and hpux talking

export DISPLAY=mypcipaddr:0
or
export DISPLAY=mypcname:0

and be sure that a /etc/nsswitch.conf had been defined on the system.

Hein van den Heuvel
Honored Contributor

Re: Need help to get cygwin and hpux talking


So do you actually have an xserver running on the PC?

That is, start a cygwin command window and so something like:

$ /usr/bin/X11/X -multiwindow &

test:

$ export DISPLAY=localhost:0.0
$ xeyes

Open up to guests:

$ xhost +

Now go to the hpux box and try something simple:

# export DISPLAY=pc-ip-address-or-name:0.0
# xclock

Good luck!
Hein.