Re: cant x11 window server message arise (1106 Views)
Reply
Regular Advisor
Zishan
Posts: 93
Registered: ‎01-23-2010
Message 1 of 20 (1,106 Views)

cant x11 window server message arise

[ Edited ]

Dear All,

I am trying to install oracle database on HP-UX remotely through telnet. When I execute the command error message of x11 window arise arise (pls see the attachement).
Any idea why it is not supporting GUI mode when i tried to install remotely ??

Regards,

 

 

P.S. This thread has been moved from HP-UX > General to HP-UX > databases.  - Hp Forum Moderator

Honored Contributor
Horia Chirculescu
Posts: 829
Registered: ‎07-11-2009
Message 2 of 20 (1,106 Views)

Re: cant x11 window server message arise

Are you sure that you are running an X Server at the IP address:

172.16.24.6

?

I believe this would be the windows station IP address you are pasting the picture.

Re-check this.

Horia.
Best regards from Romania,
Horia.
Regular Advisor
Zishan
Posts: 93
Registered: ‎01-23-2010
Message 3 of 20 (1,106 Views)

Re: cant x11 window server message arise

Hello Haria,

Yes you are right. As I m new on HP-UX kindly guide me what i need to do run installer in GUI mode from telnet session.

Regards
Honored Contributor
Kapil Jha
Posts: 1,478
Registered: ‎01-23-2006
Message 4 of 20 (1,106 Views)

Re: cant x11 window server message arise

Are you sure you have exported the correct IP in DISPLAY varioable.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Honored Contributor
Horia Chirculescu
Posts: 829
Registered: ‎07-11-2009
Message 5 of 20 (1,106 Views)

Re: cant x11 window server message arise

You must install an X server on your Windows station (I believe you are running XP)

Here it is a free X Server for Windows:

http://www.straightrunning.com/XmingNotes/

You must install it and start it. You must configure to use display/port 0.0

After that with your DISPALY variable set on your HP-UX shell, you should get the X display on your windows. (check by starting an application like xclock)

Horia.
Best regards from Romania,
Horia.
Regular Advisor
Zishan
Posts: 93
Registered: ‎01-23-2010
Message 6 of 20 (1,106 Views)

Re: cant x11 window server message arise

Hello Horia,
Thanks for your guidance. I installed xmanager on my xp machine. In the xmanager browser when I give the IP of the server it does'nt connect. Is there any permission which I need to give from server side to accept remote connection? If yes then guide me how could I able to give permission from root user to remote connections.

Your help your be appreciated.
Regards,
Honored Contributor
Horia Chirculescu
Posts: 829
Registered: ‎07-11-2009
Message 7 of 20 (1,106 Views)

Re: cant x11 window server message arise

Are you talking about:

http://www.netsarang.com/products/xmg_detail.html

I believe that this is not free software. Why not using xming?

I am not familiar with xmanager. Read the documentation.

Horia.

Best regards from Romania,
Horia.
Regular Advisor
Zishan
Posts: 93
Registered: ‎01-23-2010
Message 8 of 20 (1,106 Views)

Re: cant x11 window server message arise

Hello Horia,

When I am trying to download Xming, it asked me a username passport (screen is attached). Kindly tell me which username pass i need to give.
Also tell me which version I need to download there are several versions 7.5.0.16 is the lastest with size (3.76 mb).

Your help would be appreciated.

Regards,
Honored Contributor
Horia Chirculescu
Posts: 829
Registered: ‎07-11-2009
Message 9 of 20 (1,106 Views)

Re: cant x11 window server message arise

Use the "Public Domani" version 6.9

Xming 6.9.0.31 Public Domain 4 May 2007 4cd12b9bec0ae19b95584650bbaf534a
e580debbf6110cfc4d8fcd20beb541c1 2.10

For the other one you must contribute...

Horia.
Best regards from Romania,
Horia.
Regular Advisor
Zishan
Posts: 93
Registered: ‎01-23-2010
Message 10 of 20 (1,106 Views)

Re: cant x11 window server message arise

Hello Horia,

I nstalled Xming (pls check attached file). I appreciate if you could provide me some screen shots that how to connect with unix server.

Regards,
Honored Contributor
Horia Chirculescu
Posts: 829
Registered: ‎07-11-2009
Message 11 of 20 (1,104 Views)

Re: cant x11 window server message arise

So you have an X server running on your windows station.

You must now open an ssh connection (use putty) to you HP-UX then set the DISPLAY variable.

(like this:

DISPLAY=your_windows_ip_address:0.0
export DISPLAY
)

Start an x application on the same shell to check things are working:

xclock

Horia.
Best regards from Romania,
Horia.
Honored Contributor
Horia Chirculescu
Posts: 829
Registered: ‎07-11-2009
Message 12 of 20 (1,104 Views)

Re: cant x11 window server message arise

>You must now open an ssh connection (use putty) to you HP-UX then set the DISPLAY variable

I have noticed on your first screen that you are using telnet, not ssh.

By the way, you should use ssh (it is secure)

Horia.
Best regards from Romania,
Horia.
Regular Advisor
Zishan
Posts: 93
Registered: ‎01-23-2010
Message 13 of 20 (1,104 Views)

Re: cant x11 window server message arise

Horia,

Ok i will use ssh later. But pls tell me how can I connect with unix server with xming??? also send me some snaps shot that how to configure xming now eg: where to give unix server ip.

Regards,
Honored Contributor
Horia Chirculescu
Posts: 829
Registered: ‎07-11-2009
Message 14 of 20 (1,104 Views)

Re: cant x11 window server message arise

>But pls tell me how can I connect with unix server with xming???

Just as I said above:

1. telnet into your HP-UX server

2. On that shell (on HP-UX) you give those 2 commands:

DISPLAY=your_windows_station_IP:0.0
export DISPLAY


3. Test if all is working by starting an X application from the same telnet shell:

xclock


If all is Ok, you should get the output on your Windows station.


>also send me some snaps shot that how to configure xming now eg: where to give unix server ip.

You must set permissions to HP-UX server to use your X server by editing some file from the directory where you installed Xming (typically:

C:\Program Files\Xming

The file is X0.hosts

Use worpad to insert a new line with your HP_UX server IP address like this:

localhost
10.1.10.11

This would do the job.


Horia.
Best regards from Romania,
Horia.
Honored Contributor
Viktor Balogh
Posts: 1,007
Registered: ‎03-15-2009
Message 15 of 20 (1,104 Views)

Re: cant x11 window server message arise

Hi Zishan,

Here are some screenshots on how to set up X forwarding with putty. For this you need to have Xming running in the background on your desktop PC. (A small X icon appears on the right of the taskbar if you run Xming)

http://www.math.umn.edu/systems_guide/putty_xwin32.html

hope this helps,
Viktor
****
Unix operates with beer.
Regular Advisor
Zishan
Posts: 93
Registered: ‎01-23-2010
Message 16 of 20 (1,104 Views)

Re: cant x11 window server message arise

Hello,

I triead to Set display variable path and got the following error:

# echo $SHELL
/sbin/sh
# DISPLAY=10.1.0.45:0.0
# export DISPLAY
# xclock
Xlib: connection to "10.1.0.45:0.0" refused by server
Xlib: No protocol specified

Error: Can't open display: 10.1.0.45:0.0
Error: Couldn't find per display information

Regards,
Honored Contributor
Viktor Balogh
Posts: 1,007
Registered: ‎03-15-2009
Message 17 of 20 (1,104 Views)

Re: cant x11 window server message arise

Zishan,

if you follow the instructions here, the DISPLAY parameter will be set automatically:

http://www.math.umn.edu/systems_guide/putty_xwin32.html

Putty will set it if you log in by ssh.
****
Unix operates with beer.
Honored Contributor
Steven Schweda
Posts: 9,096
Registered: ‎02-23-2005
Message 18 of 20 (1,104 Views)

Re: cant x11 window server message arise

> Xlib: connection to "10.1.0.45:0.0" refused by server

What is "10.1.0.45"? And is it running an X
server? Apparently not, or else you don't
have permission to use it.

telnet 10.1.0.45 6000
Honored Contributor
Horia Chirculescu
Posts: 829
Registered: ‎07-11-2009
Message 19 of 20 (1,104 Views)

Re: cant x11 window server message arise

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

Did you start xming with XLaunch? If not, just close the current server (Exit) and go to Start/All Programs/Xming/XLaunch

Next/Next

At Additional parameters window, select "No Access Control" (put the check sign)

Next/Save Configuration

You can save this configuration on your desktop for later re-use (next time when needed the X server, just double-click on this icon and you will skip the Next/Next part...)

Then, Finish

Horia.
Best regards from Romania,
Horia.
Regular Advisor
Zishan
Posts: 93
Registered: ‎01-23-2010
Message 20 of 20 (1,104 Views)

Re: cant x11 window server message arise

Thanks to all my problem is solved ....
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.