HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

Display issue

 
pratapvfr
Advisor

Display issue

Hello I am using putty, and doing login to hpux system using telnet port 22, after login i tried to open sam but it can only open in terminal version mean not graphical, i tried to do export display also tried to do x11 forwarding enable but it doesnt work, any body having any idea for this full poing for correct answer,
12 REPLIES
Johnson Punniyalingam
Honored Contributor

Re: Display issue

showing or posting actual errors, can give much picture of the problem

can you check simple command like

once your export display

# xclock &
Problems are common to all, but attitude makes the difference
Kapil Jha
Honored Contributor

Re: Display issue

did you tried any software like hummingbird,Xmanager you can not just export display and think it would open from your putty session.

Get some software and try it out, there is nothing wrong in what you doing just missing one big point :)

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Steven Schweda
Honored Contributor

Re: Display issue

> [...] I am using putty, [...]

Which "putty"? On _what_?

> [...] using telnet port 22 [...]

Do you mean using SSH?

> [...] but it can only open in terminal
> version mean not graphical, [...]

echo $DISPLAY

> [...] i tried to do export display [...]

How, exactly?

> [...] also tried to do x11 forwarding
> enable [...]

How, exactly?

> [...] but it doesnt work,

"It doesn't work" is not a useful problem
description. It does not say what you did.
It does not say what happened when you did
it.

Showing actual commands with their actual
output can be more helpful than vague
descriptions and interpretations.

> did you tried any software like [...]

Which X server software have you installed?
Did you start it?
Leonard C.
Frequent Advisor

Re: Display issue

You can use some X packages like XManager on your client (Windows)

The run XPassive

Connect to your HP-UX server with putty (Telnet os SSH)

Set DISPLAY variable to IP of your client:
#export DISPLAY=IP_of_client:0.0

To check X availability :
#xclock

Then you run sam in graphical mode:
#sam
Tingli
Esteemed Contributor

Re: Display issue

Do you have Xming running in your Window? You can down load it from Web and install it. Of course you need to start it too. When you have X11 forwarding enabled, you shouldn't set any export display as the Display already set up as localhost:10.0 for you when you login.

Also, you can not su to any other account otherwise it won't work either.
pratapvfr
Advisor

Re: Display issue

i will try with Xming, which is good site to download this software, please advice,
pratapvfr
Advisor

Re: Display issue

I have installed xming, and done export DISPLAY=ip_client:0.0
it doesnt help me i am having error

Xlib: connection to "IP_address:0.0" refused by server
Xlib: No protocol specified

Error: Can't open display: IP_address Error: Couldn't find per display information

i am using telnet not ssh to hpux 11 server, any clue,
Johnson Punniyalingam
Honored Contributor

Re: Display issue

Horia Chirculescu
Honored Contributor

Re: Display issue

Hello,

Please read this thread:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1412280

My last post is about setting access control.

Horia.
Best regards from Romania,
Horia.
Steven Schweda
Honored Contributor

Re: Display issue

> [...] using telnet port 22, [...]

> i am using telnet not ssh [...]

It would really help if you showed actual
commands instead of confusing and
contradictory descriptions of commands.

> I have installed xming, [...]

> Did you start it?

Still wondering. It may not help if you
install an X server but you don't run it.
Horia Chirculescu
Honored Contributor

Re: Display issue

pratapvfr,

Steven is saying that you are confused about SSH and Telnet.

Those are 2 client/server protocols, the first (SSH) is using port 22 and the last (Telnet) is using port 23.

> [...] using telnet port 22, [...]

> i am using telnet not ssh [...]

Horia.
Best regards from Romania,
Horia.
Steven Schweda
Honored Contributor

Re: Display issue

> Steven is saying that you are confused [...]

No, Steven is saying that Steven is confused,
but you could help him if you would SHOW THE
ACTUAL COMMANDS WHICH YOU ARE USING.