1834533 Members
2634 Online
110069 Solutions
New Discussion

I can't connect to HP-UX

 
SOLVED
Go to solution
Stefano Sale
Occasional Advisor

I can't connect to HP-UX

Hello,

I've a problem to connect to HP-UX server.
Infact, as you know, if I try to export the DISPLAY var. on HP-UX I can't open the session with Reflection X p.e.
But on this server I don't have DISPLAY var. exported, equally I can't open the connection to HP-UX.
Someone known if are there some configuration to set to open a connection on HP-UX?
Thank you in advanced
Stefano
6 REPLIES 6
Victor BERRIDGE
Honored Contributor

Re: I can't connect to HP-UX

Hi,
Its difficult like that to answer, you could start by connecting yourself to another box, any flavor of unix is welcome for the test, then do a telnet, can you connect yourself?

Regards
Victor
Tim Adamson_1
Honored Contributor

Re: I can't connect to HP-UX

Can you ping the server?
Can you login on the console?
Can you rlogin or remsh or ftp in?


This will help to determine what sort of problem you have.



Tim.
Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.
Kevin O'Donovan
Regular Advisor
Solution

Re: I can't connect to HP-UX

Hi Stefano,

I'm not sure I understand exactly what you're trying to do, sounds like you're trying to open an XDMCP connection (i.e. have the UNIX GUI display on your Windows machine)?

The DISPLAY variable is only of use if you try to run an application with a GUI, or try to display the UNIX desktop gui on your machine. If you're just trying to telnet you don't need DISPLAY.

A couple of things to check:
1) the DISPLAY variable, is this set to the IP address of the Windows machine?
2) can you telnet to the machine?
3) is the process dtlogin running on the machine?
4) what user are you trying to login to the machine as? if you're trying as root user check that the machine is not setup to only allow root login via the console. Try logging in as a non root user in this case.
5) If you're trying to connect with Reflections (or Exceed or whatever) try to just telnet to the machine (Start menu, run, telnet), set your DISPLAY variable to the IP address of the windows machine and run xclock, if this comes up ok theres nothing wrong with your Reflections setup, and I'd guess there could be something wrong with the dtlogin, as in its not running or configured incorrectly.

Try those and let us know how you get on, we should be able to help you better once we have this information.

hope that helps,
Kevin.
Mike Patterson
Frequent Advisor

Re: I can't connect to HP-UX

I use Reflection X all the time.
Here is what I do:

1. I avoid using an XDMCP connection, which gets the CDE desktop. It is too much overhead if you want to run one application.
2. I just open a Reflection X session, and change "method" to TELNET (newer versions will use SSH).
3. In the left column, select the standard hpterm file which is hpux.rxc.
4. Connect and login to the server.
5. At the UNIX prompt, set the DISPLAY variable like this:
$ DISPLAY=[IP]0.0;export DISPLAY
Where the IP is your PC.
Example:
$ DISPLAY=10.12.88.101:0.0;export DISPLAY
6. Run your GUI app, and it will display back on your PC.

Good Luck
Umapathy S
Honored Contributor

Re: I can't connect to HP-UX

Stefano,
Post your $HOME/.dt/startlog and $HOME/.dt/errorlog output.

Umapathy

Arise Awake and Stop NOT till the goal is Reached!
Stefano Sale
Occasional Advisor

Re: I can't connect to HP-UX

Hi,

thank's a lot, I solve my problem, there was the DISPLAY var set on my .profile.

Thank you to all
best regards
Stefano